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

JDK9 AOT compiler cannot compile normally with directory path

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux

      Description

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      For example: (https://drive.google.com/open?id=0B2RJj-VCppRJNnJteWJEZWNUb2s)

      In the directory, I have two directories named "jetty.jar" and "javax".

      There are some .class files in test.jar importing some package from "javax".

      So I execute "$jaotc --directory=. --output=libjetty.so --jar jetty.jar", expecting jaotc knows the path of javax.

      But it still appears error message "Exception in thread "main" java.lang.NoClassDefFoundError: javax/.../..."

      I have checked the file appeared in message existed.

      Is this a bug? Or I use jaotc incorrectly? Thanks

       


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            • Assignee:
              kvn Vladimir Kozlov
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: