Replace use of Class::getPackage with Class::getPackageName

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 11
    • Affects Version/s: 9
    • Component/s: core-libs
    • b20

        Class::getPackageName was added in JDK 9 for fast runtime package check and avoid the overhead of constructing Package objects.

        jdk.internal.reflect.ReflectionFactory and a couple other classes in JDK can be updated to use Class::getPackageName.

              Assignee:
              Mandy Chung (Inactive)
              Reporter:
              Mandy Chung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: