RFR [9] 8075139: Restore java.protocol.handler.pkgs to work as a fallback for migration

Paul Sandoz paul.sandoz at oracle.com
Tue Apr 21 12:08:09 UTC 2015


On Apr 21, 2015, at 12:32 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> 
> 
> On 21/04/2015 11:20, Chris Hegarty wrote:
>> On 15 Apr 2015, at 16:43, Paul Sandoz <paul.sandoz at oracle.com> wrote:
>> 
>>> On Apr 15, 2015, at 4:35 PM, Chris Hegarty <chris.hegarty at oracle.com> wrote:
>>>>> I marginally prefer using flatMap rather than map/filter e.g. change getHandler to return Stream< URLStreamHandler> and change the last line to be "return Stream.ofNullable(handle). Up to you.
>>>> That's better. For completeness, the updated webrev:
>>>> http://cr.openjdk.java.net/~chegar/8075139/webrev.03/
>> Argh! The launcher is now falling over with "Error occurred during initialization of VM”, in cases where a custom policy file contains a URL [*].
>> 

Oh well :-(

>> I’ll revert back to the version pre streams and lambda.
>> 
>> http://cr.openjdk.java.net/~chegar/8075139/webrev.01/
>> 
> This seems fine for now.
> 

Yes. 

Paul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20150421/72525edc/signature.asc>


More information about the net-dev mailing list