[JDK-8176865] overridden api has a wrong since value in java.base module Created: 2017-03-16  Updated: 2017-04-06  Resolved: 2017-03-28

Status: Resolved
Project: JDK
Component/s: core-libs
Affects Version/s: 9
Fix Version/s: 9

Type: Bug Priority: P4
Reporter: Hamlin Li Assignee: Hamlin Li
Resolution: Fixed Votes: 0
Labels: doc, noreg-doc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backport
backported by JDK-8178254 overridden api has a wrong since valu... Resolved
Relates
relates to JDK-8176870 overridden api has a since value in j... In Progress
Resolved In Build: b163

 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


 Comments   
Comment by Hamlin Li [ 2017-03-16 ]
As discussed in open review comments(http://mail.openjdk.java.net/pipermail/core-libs-dev/2017-March/046713.html) for JDK-8176563, overridden apis in sub-class and sub-interface should not have a since value.
After adjusted the tool, it find more issues in these area.
Comment by Hamlin Li [ 2017-03-27 ]
RFR : http://mail.openjdk.java.net/pipermail/core-libs-dev/2017-March/046953.html
Comment by Hamlin Li [ 2017-03-28 ]
Since this is a doc-only change, it does not have to go through the JDK 9 ramp down 2 approval procedures.
Comment by HG Updates [ 2017-03-28 ]
URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/50171f8c4796
User: mli
Date: 2017-03-28 01:53:44 +0000
Comment by HG Updates [ 2017-03-29 ]
URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/50171f8c4796
User: lana
Date: 2017-03-29 21:57:50 +0000
Generated at Sat Aug 24 03:14:29 UTC 2019 using Jira 7.13.5#713005-sha1:8d78f1047b9cca7d35d4d13f706b37e27d869e07.