Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8307732

build-test-lib is broken

XMLWordPrintable

    • b22

        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)
        ```

              jbechberger Johannes Bechberger
              jbechberger Johannes Bechberger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: