Capture all information of a source file into one SourceInfo record #13
321 fail, 53 353 pass in 7m 36s
Annotations
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testModuleAnnotationProcessing1 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
10. WARNING: No SupportedSourceVersion annotation found on org.eclipse.jdt.compiler.apt.tests.processors.elements.Java9ModuleProcessor, returning RELEASE_6.
10 problems (4 errors, 6 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
10. WARNING: No SupportedSourceVersion annotation found on org.eclipse.jdt.compiler.apt.tests.processors.elements.Java9ModuleProcessor, returning RELEASE_6.
10 problems (4 errors, 6 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest3(Java9ElementsTests.java:636)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testModuleAnnotationProcessing1(Java9ElementsTests.java:48)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
10. WARNING: No SupportedSourceVersion annotation found on org.eclipse.jdt.compiler.apt.tests.processors.elements.Java9ModuleProcessor, returning RELEASE_6.
10 problems (4 errors, 6 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testSourceModule1 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testSourceModule1(Java9ElementsTests.java:303)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testSourceModule2 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testSourceModule2(Java9ElementsTests.java:316)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testModuleJavaSql1 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testModuleJavaSql1(Java9ElementsTests.java:290)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testModuleElement1 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testModuleElement1(Java9ElementsTests.java:107)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testModuleElement2 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testModuleElement2(Java9ElementsTests.java:120)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testModuleElement3 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testModuleElement3(Java9ElementsTests.java:133)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testModuleElement4 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testModuleElement4(Java9ElementsTests.java:145)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testModuleElement5 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testModuleElement5(Java9ElementsTests.java:158)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testModuleElement6 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testModuleElement6(Java9ElementsTests.java:171)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testModuleElement7 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testModuleElement7(Java9ElementsTests.java:184)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testGetFileObjectOfRecords (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest4(Java9ElementsTests.java:661)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testGetFileObjectOfRecords(Java9ElementsTests.java:469)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testBug522472 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 2)
exports lang.MOD.mod02102m2;
^^^^^^^^^^^^^^^^^^^
The package lang.MOD.mod02102m2 does not exist or is empty
----------
2. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports lang.module.mod02102m2A;
^^^^^^^^^^^^^^^^^^^^^^^
The package lang.module.mod02102m2A does not exist or is empty
----------
2 problems (2 errors)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 2)
exports lang.MOD.mod02102m2;
^^^^^^^^^^^^^^^^^^^
The package lang.MOD.mod02102m2 does not exist or is empty
----------
2. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports lang.module.mod02102m2A;
^^^^^^^^^^^^^^^^^^^^^^^
The package lang.module.mod02102m2A does not exist or is empty
----------
2 problems (2 errors)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testBug522472(Java9ElementsTests.java:65)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 2)
exports lang.MOD.mod02102m2;
^^^^^^^^^^^^^^^^^^^
The package lang.MOD.mod02102m2 does not exist or is empty
----------
2. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports lang.module.mod02102m2A;
^^^^^^^^^^^^^^^^^^^^^^^
The package lang.module.mod02102m2A does not exist or is empty
----------
2 problems (2 errors)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testGetFileObjectOf (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest3(Java9ElementsTests.java:636)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testGetFileObjectOf(Java9ElementsTests.java:455)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testTypesImpl (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testTypesImpl(Java9ElementsTests.java:408)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testModuleJavaBase1 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testModuleJavaBase1(Java9ElementsTests.java:197)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testModuleJavaBase2 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testModuleJavaBase2(Java9ElementsTests.java:211)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testModuleJavaBase3 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testModuleJavaBase3(Java9ElementsTests.java:225)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testModuleJavaBase4 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testModuleJavaBase4(Java9ElementsTests.java:238)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testModuleJavaBase5 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testModuleJavaBase5(Java9ElementsTests.java:251)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testAnnotations1 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testAnnotations1(Java9ElementsTests.java:94)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testElementsInType (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest4(Java9ElementsTests.java:661)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testElementsInType(Java9ElementsTests.java:483)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testModuleTypeMirror1 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testModuleTypeMirror1(Java9ElementsTests.java:264)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testModuleTypeMirror2 (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:153)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:614)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest2(Java9ElementsTests.java:596)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testModuleTypeMirror2(Java9ElementsTests.java:277)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
Check warning on line 0 in org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests
github-actions / Test Results
testDeeplyNestedTypes (org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests) failed
artifacts/test-results-linux/org.eclipse.jdt.compiler.apt.tests/target/surefire-reports/TEST-org.eclipse.jdt.compiler.apt.tests.AllTests.xml [took 0s]
Raw output
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
junit.framework.AssertionFailedError:
Compilation failed : Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.jdt.compiler.apt.tests.BatchTestUtils.compileInModuleMode(BatchTestUtils.java:190)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.internalTest4(Java9ElementsTests.java:661)
at org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests.testDeeplyNestedTypes(Java9ElementsTests.java:497)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:137)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:148)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:88)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:140)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Compilation failed: Cannot read the array length because "this.sourceInfos" is null
----------
1. ERROR in /tmp/eclipse-temp/src/mod.a/module-info.java (at line 3)
exports abc.internal;
^^^^^^^^^^^^
The package abc.internal does not exist or is empty
----------
----------
2. ERROR in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 3)
exports pqr.ext;
^^^^^^^
The package pqr.ext does not exist or is empty
----------
3. WARNING in /tmp/eclipse-temp/src/mod.b/module-info.java (at line 5)
requires mod.a;
^^^^^
The module mod.a is deprecated
----------
----------
4. ERROR in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 1)
@def.Module()
^^^^^^^^^^
The type def.Module is not accessible
----------
5. WARNING in /tmp/eclipse-temp/src/mod.c/module-info.java (at line 3)
requires apttestprocessors8;
^^^^^^^^^^^^^^^^^^
Name of automatic module 'apttestprocessors8' is unstable, it is derived from the module's file name.
----------
----------
6. ERROR in /tmp/eclipse-temp/src/mod.d/module-info.java (at line 2)
exports xyz;
^^^
The package xyz does not exist or is empty
----------
----------
7. WARNING in /tmp/eclipse-temp/src/mod.a/abc/internal/A.java (at line 2)
public class A extends TypeInAModule {
^^^^^^^^^^^^^
The type TypeInAModule is deprecated
----------
----------
8. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 4)
import java.lang.annotation.Retention;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.Retention is never used
----------
9. WARNING in /tmp/eclipse-temp/src/mod.c/def/Module.java (at line 5)
import java.lang.annotation.RetentionPolicy;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import java.lang.annotation.RetentionPolicy is never used
----------
9 problems (4 errors, 5 warnings)