Re: RFR 8080418 Add Optional.or()

2015-09-26 Thread Chris Hegarty
> On 25 Sep 2015, at 11:58, Paul Sandoz wrote: > > Hi, > > Please review this change to add a method Optional.or that allows one to > better compose optionals: > > http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8080418-optional-or/webrev/ > > I also took the opportunity to clear up the JavaDo

Implementing https://bugs.openjdk.java.net/browse/JDK-5071718

2015-09-26 Thread Sven Reimers
Hi all, what would it take to get JDK-5071718 into 9? I thought about something like this; /** Creates a new byte buffer whose content is a shared subsequence of this buffer's content. The content of the new buffer will start at the given position. The capacity and limit of the new buffer will

Re: RFR: JDK-8136893: Improve early java.lang.invoke infrastructure initialization

2015-09-26 Thread Michael Haupt
Hi Peter, > Am 25.09.2015 um 17:32 schrieb Peter Levart : >> One question about MethodType: would you mind doing something about the >> naming of the newly introduced fromDescriptor() method? Its name does not >> suggest in any way that it chooses the class loader differently. The name is >> su

Re: RFR 8080418 Add Optional.or()

2015-09-26 Thread Tagir F. Valeev
Hello! >> Quite interesting and long awaited features (at least according to >> StackOverflow questions). PS> All of them? or just the first? The first one is definitely the most requested feature. However, additional methods for primitive optionals were requested at least twice: http://stackove