RFR[9]: 8156868 MethodHandles.zero(Class) doc issues

2016-05-22 Thread shilpi.rast...@oracle.com
Hi All, Please review small doc changes- http://cr.openjdk.java.net/~srastogi/8156868/webrev.01/ Fixed following doc issues in same patch https://bugs.openjdk.java.net/browse/JDK-8138599 http://cr.openjdk.java.net/~srastogi/8156868/webrev.01/src/java.base/share/classes/java/lang/invoke/MemberN

Re: JDK 9 RFR Replace @since 1.9 with @since 9 on new math methods

2016-05-22 Thread Chris Hegarty
> On 22 May 2016, at 17:51, joe darcy wrote: > > Hello, > > Some recently added math methods since "@since 1.9" rather than "@since 9"; > please review the patch below to use "@since 9" instead. Looks fine Joe. -Chris. > Thanks, > > -Joe > > diff -r 997dcff5075f src/java.base/share/classe

JDK 9 RFR Replace @since 1.9 with @since 9 on new math methods

2016-05-22 Thread joe darcy
Hello, Some recently added math methods since "@since 1.9" rather than "@since 9"; please review the patch below to use "@since 9" instead. Thanks, -Joe diff -r 997dcff5075f src/java.base/share/classes/java/lang/Math.java --- a/src/java.base/share/classes/java/lang/Math.javaSat May 21 1

[PATCH] Implement a noop clear() for Collections#EMPTY_LIST

2016-05-22 Thread Mohamed Naufal
Hi, A call to clear() on Collections#EMPTY_LIST is currently redirected to AbstractList#clear(), which performs a bunch of checks and creates a ListItr object, all of which is unnecessary for an EmptyList. PFA a patch that implements a noop clear() for EmptyList. Thanks, Naufal # HG changeset pa