• Type: Sub-task
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None
    • Fix Understood

      The JLink classes currently use the ImageReader API for reading the content of the system image.

      With preview mode, this is not longer a valid approach, since ImageReader now hides preview classes/resources from the view presented.

      Exactly equivalent to how JAR files require a "raw" view when used by JLink, the jimage files file also require one.

      Specifically, this will fix an error in:
      test/jdk/tools/jlink/runtimeImage/PackagedModulesVsRuntimeImageLinkTest.java
      which relies on JlinkTask and fails when used with preview resources present.

            Assignee:
            David Beaumont
            Reporter:
            David Beaumont
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: