Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with java 17 fails #28

Open
vegegoku opened this issue Dec 17, 2024 · 0 comments
Open

Build with java 17 fails #28

vegegoku opened this issue Dec 17, 2024 · 0 comments

Comments

@vegegoku
Copy link
Collaborator

Building with Java 17 fails due to class access error

[INFO] 
[INFO] --- surefire:2.21.0:test (default-test) @ gwt-editor-processor ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.gwtproject.editor.AllTests
[ERROR] Tests run: 58, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 2.187 s <<< FAILURE! - in org.gwtproject.editor.AllTests
[ERROR] testEditor01(org.gwtproject.editor.processor.test.DriverProcessorTest)  Time elapsed: 0.558 s  <<< ERROR!
java.lang.IllegalAccessError: class com.google.testing.compile.Parser (in unnamed module @0x3952037b) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x3952037b
        at org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor01(DriverProcessorTest.java:41)

[ERROR] testEditor02(org.gwtproject.editor.processor.test.DriverProcessorTest)  Time elapsed: 0.145 s  <<< ERROR!
java.lang.IllegalAccessError: class com.google.testing.compile.Parser (in unnamed module @0x3952037b) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x3952037b
        at org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor02(DriverProcessorTest.java:63)

[ERROR] testEditor03(org.gwtproject.editor.processor.test.DriverProcessorTest)  Time elapsed: 0.165 s  <<< ERROR!
java.lang.IllegalAccessError: class com.google.testing.compile.Parser (in unnamed module @0x3952037b) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x3952037b
        at org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor03(DriverProcessorTest.java:85)

[ERROR] testEditor04(org.gwtproject.editor.processor.test.DriverProcessorTest)  Time elapsed: 0.209 s  <<< ERROR!
java.lang.IllegalAccessError: class com.google.testing.compile.Parser (in unnamed module @0x3952037b) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x3952037b
        at org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor04(DriverProcessorTest.java:107)

[ERROR] testEditor05(org.gwtproject.editor.processor.test.DriverProcessorTest)  Time elapsed: 0.145 s  <<< ERROR!
java.lang.IllegalAccessError: class com.google.testing.compile.Parser (in unnamed module @0x3952037b) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x3952037b
        at org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor05(DriverProcessorTest.java:160)

[ERROR] testEditor06(org.gwtproject.editor.processor.test.DriverProcessorTest)  Time elapsed: 0.157 s  <<< ERROR!
java.lang.IllegalAccessError: class com.google.testing.compile.Parser (in unnamed module @0x3952037b) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x3952037b
        at org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor06(DriverProcessorTest.java:197)

[ERROR] testEditor07(org.gwtproject.editor.processor.test.DriverProcessorTest)  Time elapsed: 0.105 s  <<< ERROR!
java.lang.IllegalAccessError: class com.google.testing.compile.Parser (in unnamed module @0x3952037b) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x3952037b
        at org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor07(DriverProcessorTest.java:214)

[ERROR] testEditor08(org.gwtproject.editor.processor.test.DriverProcessorTest)  Time elapsed: 0.098 s  <<< ERROR!
java.lang.IllegalAccessError: class com.google.testing.compile.Parser (in unnamed module @0x3952037b) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x3952037b
        at org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor08(DriverProcessorTest.java:257)

[INFO] Running org.gwtproject.editor.processor.model.EditorModelTest
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.419 s - in org.gwtproject.editor.processor.model.EditorModelTest
[INFO] Running org.gwtproject.editor.processor.test.ModelUtilsTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 s - in org.gwtproject.editor.processor.test.ModelUtilsTest
[INFO] Running org.gwtproject.editor.processor.test.DriverProcessorTest
[ERROR] Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 0.605 s <<< FAILURE! - in org.gwtproject.editor.processor.test.DriverProcessorTest
[ERROR] testEditor01(org.gwtproject.editor.processor.test.DriverProcessorTest)  Time elapsed: 0.081 s  <<< ERROR!
java.lang.IllegalAccessError: class com.google.testing.compile.Parser (in unnamed module @0x3952037b) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x3952037b
        at org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor01(DriverProcessorTest.java:41)

[ERROR] testEditor02(org.gwtproject.editor.processor.test.DriverProcessorTest)  Time elapsed: 0.057 s  <<< ERROR!
java.lang.IllegalAccessError: class com.google.testing.compile.Parser (in unnamed module @0x3952037b) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x3952037b
        at org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor02(DriverProcessorTest.java:63)

[ERROR] testEditor03(org.gwtproject.editor.processor.test.DriverProcessorTest)  Time elapsed: 0.059 s  <<< ERROR!
java.lang.IllegalAccessError: class com.google.testing.compile.Parser (in unnamed module @0x3952037b) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x3952037b
        at org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor03(DriverProcessorTest.java:85)

[ERROR] testEditor04(org.gwtproject.editor.processor.test.DriverProcessorTest)  Time elapsed: 0.11 s  <<< ERROR!
java.lang.IllegalAccessError: class com.google.testing.compile.Parser (in unnamed module @0x3952037b) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x3952037b
        at org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor04(DriverProcessorTest.java:107)

[ERROR] testEditor05(org.gwtproject.editor.processor.test.DriverProcessorTest)  Time elapsed: 0.076 s  <<< ERROR!
java.lang.IllegalAccessError: class com.google.testing.compile.Parser (in unnamed module @0x3952037b) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x3952037b
        at org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor05(DriverProcessorTest.java:160)

[ERROR] testEditor06(org.gwtproject.editor.processor.test.DriverProcessorTest)  Time elapsed: 0.066 s  <<< ERROR!
java.lang.IllegalAccessError: class com.google.testing.compile.Parser (in unnamed module @0x3952037b) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x3952037b
        at org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor06(DriverProcessorTest.java:197)

[ERROR] testEditor07(org.gwtproject.editor.processor.test.DriverProcessorTest)  Time elapsed: 0.081 s  <<< ERROR!
java.lang.IllegalAccessError: class com.google.testing.compile.Parser (in unnamed module @0x3952037b) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x3952037b
        at org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor07(DriverProcessorTest.java:214)

[ERROR] testEditor08(org.gwtproject.editor.processor.test.DriverProcessorTest)  Time elapsed: 0.075 s  <<< ERROR!
java.lang.IllegalAccessError: class com.google.testing.compile.Parser (in unnamed module @0x3952037b) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x3952037b
        at org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor08(DriverProcessorTest.java:257)

[INFO] Running org.gwtproject.editor.client.EditorErrorTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.gwtproject.editor.client.EditorErrorTest
[INFO] Running org.gwtproject.editor.client.DirtyEditorTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.gwtproject.editor.client.DirtyEditorTest
[INFO] Running org.gwtproject.editor.client.impl.DelegateMapTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.gwtproject.editor.client.impl.DelegateMapTest
[INFO] Running org.gwtproject.editor.client.adapters.ListEditorWrapperTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.gwtproject.editor.client.adapters.ListEditorWrapperTest
[INFO] Running org.gwtproject.editor.client.SimpleBeanEditorTest
[INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.gwtproject.editor.client.SimpleBeanEditorTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR] org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor01(org.gwtproject.editor.processor.test.DriverProcessorTest)
[ERROR]   Run 1: DriverProcessorTest.testEditor01:41 » IllegalAccess class com.google.testing.c...
[ERROR]   Run 2: DriverProcessorTest.testEditor01:41 » IllegalAccess class com.google.testing.c...
[INFO] 
[ERROR] org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor02(org.gwtproject.editor.processor.test.DriverProcessorTest)
[ERROR]   Run 1: DriverProcessorTest.testEditor02:63 » IllegalAccess class com.google.testing.c...
[ERROR]   Run 2: DriverProcessorTest.testEditor02:63 » IllegalAccess class com.google.testing.c...
[INFO] 
[ERROR] org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor03(org.gwtproject.editor.processor.test.DriverProcessorTest)
[ERROR]   Run 1: DriverProcessorTest.testEditor03:85 » IllegalAccess class com.google.testing.c...
[ERROR]   Run 2: DriverProcessorTest.testEditor03:85 » IllegalAccess class com.google.testing.c...
[INFO] 
[ERROR] org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor04(org.gwtproject.editor.processor.test.DriverProcessorTest)
[ERROR]   Run 1: DriverProcessorTest.testEditor04:107 » IllegalAccess class com.google.testing....
[ERROR]   Run 2: DriverProcessorTest.testEditor04:107 » IllegalAccess class com.google.testing....
[INFO] 
[ERROR] org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor05(org.gwtproject.editor.processor.test.DriverProcessorTest)
[ERROR]   Run 1: DriverProcessorTest.testEditor05:160 » IllegalAccess class com.google.testing....
[ERROR]   Run 2: DriverProcessorTest.testEditor05:160 » IllegalAccess class com.google.testing....
[INFO] 
[ERROR] org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor06(org.gwtproject.editor.processor.test.DriverProcessorTest)
[ERROR]   Run 1: DriverProcessorTest.testEditor06:197 » IllegalAccess class com.google.testing....
[ERROR]   Run 2: DriverProcessorTest.testEditor06:197 » IllegalAccess class com.google.testing....
[INFO] 
[ERROR] org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor07(org.gwtproject.editor.processor.test.DriverProcessorTest)
[ERROR]   Run 1: DriverProcessorTest.testEditor07:214 » IllegalAccess class com.google.testing....
[ERROR]   Run 2: DriverProcessorTest.testEditor07:214 » IllegalAccess class com.google.testing....
[INFO] 
[ERROR] org.gwtproject.editor.processor.test.DriverProcessorTest.testEditor08(org.gwtproject.editor.processor.test.DriverProcessorTest)
[ERROR]   Run 1: DriverProcessorTest.testEditor08:257 » IllegalAccess class com.google.testing....
[ERROR]   Run 2: DriverProcessorTest.testEditor08:257 » IllegalAccess class com.google.testing....
[INFO] 
[INFO] 
[ERROR] Tests run: 108, Failures: 0, Errors: 8, Skipped: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant