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

Use type parameter for Class::getPrimitiveClass

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 24
    • 24
    • core-libs
    • b22

      We can declare the native method `Class::getPrimitiveClass` with a type parameter and remove the redundant casts and warnings. Discovered while browsing code

            liach Chen Liang
            liach Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: