Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8352750 [lworld] Use jimage for preview enabled value classes
  3. JDK-8366255

Remove 'package_to_module' function from imageFile.cpp

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • 26
    • tools
    • master

      This is dead code, so should be removed.

      JDK images can be built with it removed and there's no evidence of call sites (either via JNI or cpp) anywhere in the code (and there were no tests for it).

      The benefit of removing this is reducing the number of places where the flags associated with package references are used, since those flags can be adapted/extended to make preview mode support (in Valhalla) easy.

      So having one fewer places that read them is good.

            dabeaumo David Beaumont
            dabeaumo David Beaumont
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: