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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 9
    • 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.

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

                Created:
                Updated:
                Resolved: