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

JDK9 AOT compiler cannot compile normally with directory path

XMLWordPrintable

    • x86_64
    • linux

      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.

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

              Created:
              Updated:
              Resolved: