From: Lars Grefer Date: Thu, 13 Aug 2020 16:15:28 +0000 (+0200) Subject: Fix compilation on Java 11 X-Git-Tag: V1_9_7M1~22^2~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=242631cf8cc8480a065b260fbaaea001008064e2;p=aspectj.git Fix compilation on Java 11 Signed-off-by: Lars Grefer --- diff --git a/testing/src/test/java/org/aspectj/testing/harness/bridge/JavaRun.java b/testing/src/test/java/org/aspectj/testing/harness/bridge/JavaRun.java index 92aaec667..5af201700 100644 --- a/testing/src/test/java/org/aspectj/testing/harness/bridge/JavaRun.java +++ b/testing/src/test/java/org/aspectj/testing/harness/bridge/JavaRun.java @@ -834,13 +834,13 @@ public class JavaRun implements IAjcRun { throw new ExitCalledException(exitCode); } } - @Override + public void checkAwtEventQueueAccess() { if ((null != runThread) && runThread.equals(Thread.currentThread())) { throw new AwtUsedException(); } } - @Override + public void checkSystemClipboardAccess() { // permit } @@ -885,7 +885,7 @@ public class JavaRun implements IAjcRun { @Override public void checkListen(int arg0) { } - @Override + public void checkMemberAccess(Class arg0, int arg1) { } @Override @@ -930,7 +930,7 @@ public class JavaRun implements IAjcRun { @Override public void checkSetFactory() { } - @Override + public boolean checkTopLevelWindow(Object arg0) { return true; }