Re: Optional.or() doesn't use a wildcard in its signature

2015-10-31 Thread Michael Nascimento
If this instance is an Optional , passing an Optional will fail to compile. Regards, Michael On 31 Oct 2015 11:21, "Stefan Zobel" wrote: > 2015-10-31 19:11 GMT+01:00 Remi Forax : > > > Hi all, hi Paul, > > > > I've just seen that Optional.or is declared as > > public Optional or(Supplier> sup

Re: Optional.or() doesn't use a wildcard in its signature

2015-10-31 Thread Michael Nascimento
Hi Vitaly, Exactly, I was just trying to point out the method signature seems broken anyway. Regards, Michael On 31 Oct 2015 11:59, "Vitaly Davidovich" wrote: > This would require Supplier>, not Supplier Optional>. > > sent from my phone > On Oct 31, 2015 2:49 PM,

Re: RFR(s): 8152617 add missing wildcards to Optional or() and flatMap()

2016-10-07 Thread Michael Nascimento
Doesn't work, as Stuart has noted (s'marks, as far as I know your explanation is 100% correct). Nested generics == pain :-( Regards, Michael On Fri, Oct 7, 2016 at 4:40 PM, Stefan Zobel wrote: > 2016-10-07 21:22 GMT+02:00 Stuart Marks : > > > > > > On 10/7/16 11:23 AM, Paul Sandoz wrote: > >>>

Re: Accessing module internals from bytecode rewriting agent

2017-05-02 Thread Michael Nascimento
On Tue, May 2, 2017 at 11:51 AM, Brian Goetz wrote: > 8 can deal with multi-release JARs. > I missed that. Starting with what update? Is there any link I could use to share this info? Regards, Michael

Re: Accessing module internals from bytecode rewriting agent

2017-05-02 Thread Michael Nascimento
On Tue, May 2, 2017 at 2:15 PM, Paul Sandoz wrote: > At one point we were mulling back porting the Java 9 runtime changes to > Java 8 and therefore we could go back to Java 7, but we decided not to > proceed with that, which is what i suspect you may be thinking about. > > Yes, I was hopeful abou

Re: RFR: 8003380 - Compiler warnings in logging test code

2012-11-16 Thread Michael Nascimento
Some of these are actually supported by NetBeans, such as: LeakingThisInConstructor Regards, Michael On Sat, Nov 17, 2012 at 12:39 AM, Stuart Marks wrote: > On 11/15/12 3:06 AM, Alan Bateman wrote: >> >> On 14/11/2012 22:44, Chris Hegarty wrote: >>> >>> - @SuppressWarnings("unused") Eclipse??