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

bootcycle-images failing due to module-info.class in special_classes/jdk.scripting.nashorn

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 9-repo-jigsaw
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description


      Running nasgen
      Error occurred during initialization of VM
      java.lang.ExceptionInInitializerError
      at java.lang.module.ModuleFinder.ofInstalled(java.base/ModuleFinder.java:171)
      at jdk.internal.module.ModuleBootstrap.boot(java.base/ModuleBootstrap.java:94)
      at java.lang.System.initPhase2(java.base/System.java:1917)
      Caused by: java.lang.RuntimeException: module-info.class not allowed in patch: /ws/jake/build/linux-x86_64-normal-server-release/bootcycle-build/support/special_classes/jdk.scripting.nashorn/module-info.class
      at jdk.internal.module.ModulePatcher.failUnnamedPackage(java.base/ModulePatcher.java:580)
      at jdk.internal.module.ModulePatcher.toPackageName(java.base/ModulePatcher.java:555)
      at jdk.internal.module.ModulePatcher.lambda$interposeIfNeeded$5(java.base/ModulePatcher.java:193)
      at java.util.stream.ReferencePipeline$3$1.accept(java.base/ReferencePipeline.java:195)
      at java.util.stream.ReferencePipeline$3$1.accept(java.base/ReferencePipeline.java:195)
      at java.util.stream.ReferencePipeline$2$1.accept(java.base/ReferencePipeline.java:177)
      at java.util.Iterator.forEachRemaining(java.base/Iterator.java:120)
      at java.util.Spliterators$IteratorSpliterator.forEachRemaining(java.base/Spliterators.java:1801)
      at java.util.stream.AbstractPipeline.copyInto(java.base/AbstractPipeline.java:482)
      at java.util.stream.AbstractPipeline.wrapAndCopyInto(java.base/AbstractPipeline.java:472)
      at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(java.base/ForEachOps.java:151)
      at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(java.base/ForEachOps.java:174)
      at java.util.stream.AbstractPipeline.evaluate(java.base/AbstractPipeline.java:234)
      at java.util.stream.ReferencePipeline.forEach(java.base/ReferencePipeline.java:430)
      at jdk.internal.module.ModulePatcher.interposeIfNeeded(java.base/ModulePatcher.java:194)
      at java.lang.module.InstalledModuleFinder.<clinit>(java.base/InstalledModuleFinder.java:129)
      at java.lang.module.ModuleFinder.ofInstalled(java.base/ModuleFinder.java:171)
      at jdk.internal.module.ModuleBootstrap.boot(java.base/ModuleBootstrap.java:94)
      at java.lang.System.initPhase2(java.base/System.java:1917)

        Attachments

          Activity

            People

            • Assignee:
              sundar Sundararajan Athijegannathan
              Reporter:
              alanb Alan Bateman
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: