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

overridden api has a wrong since value in java.base module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • core-libs
    • b163

    Backports

      Description

        overridden apis in sub-class and sub-interface should not have a since value.

        java.base+java.lang+java.lang.String+chars() (9, 9, 9) overridden api has a since value
        java.base+java.lang+java.lang.String+codePoints() (9, 9, 9) overridden api has a since value


        java.base+java.lang.reflect+java.lang.reflect.Constructor+setAccessible(boolean) (9, 9, 9) overridden api has a since value

        java.base+java.nio+java.nio.MappedByteBuffer+position(int) (9, 9, 9) overridden api has a since value
        java.base+java.nio+java.nio.MappedByteBuffer+limit(int) (9, 9, 9) overridden api has a since value
        java.base+java.nio+java.nio.MappedByteBuffer+mark() (9, 9, 9) overridden api has a since value
        java.base+java.nio+java.nio.MappedByteBuffer+reset() (9, 9, 9) overridden api has a since value
        java.base+java.nio+java.nio.MappedByteBuffer+clear() (9, 9, 9) overridden api has a since value
        java.base+java.nio+java.nio.MappedByteBuffer+flip() (9, 9, 9) overridden api has a since value
        java.base+java.nio+java.nio.MappedByteBuffer+rewind() (9, 9, 9) overridden api has a since value

        java.base+java.security+java.security.SecureRandomSpi+toString() (9, 9, 9) overridden api has a since value
        java.base+java.security+java.security.SecureRandom+toString() (9, 9, 9) overridden api has a since value

        java.base+java.time.chrono+java.time.chrono.JapaneseEra+getDisplayName(java.time.format.TextStyle,java.util.Locale) (9, 9, 9) overridden api has a since value

        Attachments

          Issue Links

            Activity

              People

                mli Hamlin Li
                mli Hamlin Li
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: