```
$ export JAVA_HOME=<point to fastdebug build>
$ export PATH=$JAVA_HOME/bin:$PATH
$ cd test/hotspot/jtreg/testlibrary/ctw
$ make
/home/shipilev/shipilev-jdk/build/linux-x86_64-server-fastdebug/images/jdk/bin/../bin/javac --add-exports java.base/jdk.internal.jimage=ALL-UNNAMED --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.base/jdk.internal.reflect=ALL-UNNAMED --add-exports java.base/jdk.internal.access=ALL-UNNAMED -sourcepath src -d build/classes -cp dist/wb.jar @filelist
../../../../../test/lib/jdk/test/lib/util/ModuleInfoWriter.java:44: error: package jdk.internal.module is not visible
import jdk.internal.module.ModuleResolution;
^
(package jdk.internal.module is declared in module java.base, which does not export it to the unnamed module)
../../../../../test/lib/jdk/test/lib/util/ModuleInfoWriter.java:45: error: package jdk.internal.module is not visible
import jdk.internal.module.ModuleTarget;
^
(package jdk.internal.module is declared in module java.base, which does not export it to the unnamed module)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
make: *** [dist/ctw.jar] Error 1
```
- relates to
-
JDK-8334733 Remove obsolete @enablePreview from tests after JDK-8334714
- Resolved
- links to
-
Commit(master) openjdk/jdk/e413fc64
-
Review(jdk24) openjdk/jdk/22964
-
Review(master) openjdk/jdk/22952