From d60af3865fe03d820d0537d558e3c27459270067 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Thu, 12 Jan 2023 00:23:06 +0100 Subject: [tests] add new target for eclipse 2022-12. --- test/core/src/lombok/RunTestsViaEcj.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test') diff --git a/test/core/src/lombok/RunTestsViaEcj.java b/test/core/src/lombok/RunTestsViaEcj.java index 60a6e92a..f4e75542 100644 --- a/test/core/src/lombok/RunTestsViaEcj.java +++ b/test/core/src/lombok/RunTestsViaEcj.java @@ -308,6 +308,14 @@ public class RunTestsViaEcj extends AbstractRunTests { mainTypeName = CharOperation.subarray(fileNameCharArray, start, end); } + @Override public int hashCode() { + return System.identityHashCode(this); + } + + @Override public boolean equals(Object obj) { + return this == obj; + } + @Override public char[] getContents() { return source; } -- cgit