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

Remove 'package_to_module' function from imageFile.cpp

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • repo-valhalla
    • tools

      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 easy.

      So having one fewer places that read them is good.

      This will be trivial to integrate across into mainline later.

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

              Created:
              Updated:
              Resolved: