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

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

    XMLWordPrintable

    Details

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

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: