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

Cleanup of JDK-8169880

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 9, 24
    • core-libs
    • None
    • 9
    • b06
    • generic
    • generic

      JDK-8169880 removed a debugging option to disable caching of reflective data in java.lang.Class, which had a consequence that now Class#reflectiveData method guarantees to return a non-null result. Existing callers of that method were left intact and still contain null checks and branches that are never taken after this change. Some new callers were added later and they don't have null checks. I propose a patch to remove these unneeded null checks and never taken branches.

            plevart Peter Levart
            plevart Peter Levart
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: