-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b22
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8317230 | 17.0.10 | Johannes Bechberger | P4 | Resolved | Fixed | b01 |
The build-test-lib is broken due to missing `--add-exports`:
```
Compiling up to 171 files for BUILD_TEST_LIB_JAR
Creating support/test/lib/wb.jar
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:33: error: package jdk.internal.classfile is not visible
import jdk.internal.classfile.Classfile;
^
(package jdk.internal.classfile is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:34: error: package jdk.internal.classfile.java.lang.constant is not visible
import jdk.internal.classfile.java.lang.constant.PackageDesc;
^
(package jdk.internal.classfile.java.lang.constant is declared in module java.base, which does not export it)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:35: error: package jdk.internal.classfile.attribute is not visible
import jdk.internal.classfile.attribute.ModuleAttribute;
^
(package jdk.internal.classfile.attribute is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:36: error: package jdk.internal.classfile.attribute is not visible
import jdk.internal.classfile.attribute.ModuleExportInfo;
^
(package jdk.internal.classfile.attribute is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:37: error: package jdk.internal.classfile.attribute is not visible
import jdk.internal.classfile.attribute.ModuleMainClassAttribute;
^
(package jdk.internal.classfile.attribute is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:38: error: package jdk.internal.classfile.attribute is not visible
import jdk.internal.classfile.attribute.ModuleOpenInfo;
^
(package jdk.internal.classfile.attribute is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:39: error: package jdk.internal.classfile.attribute is not visible
import jdk.internal.classfile.attribute.ModulePackagesAttribute;
^
(package jdk.internal.classfile.attribute is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:40: error: package jdk.internal.classfile.attribute is not visible
import jdk.internal.classfile.attribute.ModuleResolutionAttribute;
^
(package jdk.internal.classfile.attribute is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:41: error: package jdk.internal.classfile.attribute is not visible
import jdk.internal.classfile.attribute.ModuleRequireInfo;
^
(package jdk.internal.classfile.attribute is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:42: error: package jdk.internal.classfile.attribute is not visible
import jdk.internal.classfile.attribute.ModuleTargetAttribute;
^
(package jdk.internal.classfile.attribute is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:43: error: package jdk.internal.classfile.constantpool is not visible
import jdk.internal.classfile.constantpool.ModuleEntry;
^
(package jdk.internal.classfile.constantpool is declared in module java.base, which does not export it to the unnamed module)
jdk/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)
jdk/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)
```
```
Compiling up to 171 files for BUILD_TEST_LIB_JAR
Creating support/test/lib/wb.jar
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:33: error: package jdk.internal.classfile is not visible
import jdk.internal.classfile.Classfile;
^
(package jdk.internal.classfile is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:34: error: package jdk.internal.classfile.java.lang.constant is not visible
import jdk.internal.classfile.java.lang.constant.PackageDesc;
^
(package jdk.internal.classfile.java.lang.constant is declared in module java.base, which does not export it)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:35: error: package jdk.internal.classfile.attribute is not visible
import jdk.internal.classfile.attribute.ModuleAttribute;
^
(package jdk.internal.classfile.attribute is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:36: error: package jdk.internal.classfile.attribute is not visible
import jdk.internal.classfile.attribute.ModuleExportInfo;
^
(package jdk.internal.classfile.attribute is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:37: error: package jdk.internal.classfile.attribute is not visible
import jdk.internal.classfile.attribute.ModuleMainClassAttribute;
^
(package jdk.internal.classfile.attribute is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:38: error: package jdk.internal.classfile.attribute is not visible
import jdk.internal.classfile.attribute.ModuleOpenInfo;
^
(package jdk.internal.classfile.attribute is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:39: error: package jdk.internal.classfile.attribute is not visible
import jdk.internal.classfile.attribute.ModulePackagesAttribute;
^
(package jdk.internal.classfile.attribute is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:40: error: package jdk.internal.classfile.attribute is not visible
import jdk.internal.classfile.attribute.ModuleResolutionAttribute;
^
(package jdk.internal.classfile.attribute is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:41: error: package jdk.internal.classfile.attribute is not visible
import jdk.internal.classfile.attribute.ModuleRequireInfo;
^
(package jdk.internal.classfile.attribute is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:42: error: package jdk.internal.classfile.attribute is not visible
import jdk.internal.classfile.attribute.ModuleTargetAttribute;
^
(package jdk.internal.classfile.attribute is declared in module java.base, which does not export it to the unnamed module)
jdk/test/lib/jdk/test/lib/util/ModuleInfoWriter.java:43: error: package jdk.internal.classfile.constantpool is not visible
import jdk.internal.classfile.constantpool.ModuleEntry;
^
(package jdk.internal.classfile.constantpool is declared in module java.base, which does not export it to the unnamed module)
jdk/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)
jdk/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)
```
- backported by
-
JDK-8317230 build-test-lib is broken
- Resolved