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

jdk/nashorn/internal/scripts/JO* classes are missing from the generated methods dump

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • core-libs
    • None

        Running the fresh Nashorn with dumping all classes:

        ~/trunks/jdk9-dev/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/java -jar ~/trunks/jdk9-dev/build/linux-x86_64-normal-server-release/images/j2sdk-image/jre/lib/ext/nashorn.jar -Dnashorn.typeInfo.disabled=false --class-cache-size=0 --persistent-code-cache=false -scripting --log=time -d=generated/ test/script/basic/compile-octane.js -- --iterations 1

        ...and then trying to load the resulting class files yields lots of NoClassDefFoundError while trying to find lots of Nashorn internal classes, like:
         ...
        jdk/nashorn/internal/scripts/JO102P0
        jdk/nashorn/internal/scripts/JO10P0
        jdk/nashorn/internal/scripts/JO11P0
        jdk/nashorn/internal/scripts/JO12
        jdk/nashorn/internal/scripts/JO12P0
        jdk/nashorn/internal/scripts/JO14P0
        jdk/nashorn/internal/scripts/JO155P0
        jdk/nashorn/internal/scripts/JO15P0
        jdk/nashorn/internal/scripts/JO16
        jdk/nashorn/internal/scripts/JO16P0
        jdk/nashorn/internal/scripts/JO17P0
        jdk/nashorn/internal/scripts/JO192
        jdk/nashorn/internal/scripts/JO19P0
        jdk/nashorn/internal/scripts/JO1P0
        jdk/nashorn/internal/scripts/JO22P0
        jdk/nashorn/internal/scripts/JO25P0
         ...

        I think these classes are missing from the generated methods dump.

              lagergren Marcus Lagergren
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: