Ignore Re: Backport Fwd: RFR 8037857: Methods j.u.Arrays.spliterator/stream(X[], int, int) throw IAE instead of specified AIOOBE when endIndex < startIndex

2014-03-24 Thread Paul Sandoz
Apologies, please ignore, missed the u in jdk8u-dev email address. Paul. On Mar 24, 2014, at 5:00 PM, Paul Sandoz wrote: > Hi, > > I would like to backport the following that has been approved for 9 to 8u20. > Patch for 9 currently applies cleanly to 8u20. > > Thanks,

Backport Fwd: RFR 8037857: Methods j.u.Arrays.spliterator/stream(X[], int, int) throw IAE instead of specified AIOOBE when endIndex < startIndex

2014-03-24 Thread Paul Sandoz
Hi, I would like to backport the following that has been approved for 9 to 8u20. Patch for 9 currently applies cleanly to 8u20. Thanks, Paul. Begin forwarded message: > From: Paul Sandoz > Subject: RFR 8037857: Methods j.u.Arrays.spliterator/stream(X[], int, int) > throw IAE i

Re: JDK 8 - Lambda - Reflection issues

2014-03-13 Thread Paul Sandoz
On Mar 12, 2014, at 7:42 PM, Remi Forax wrote: > > As you have seen a lambda is not an anonymous class :) > > A non-serializable lambda is more lightweight than an anonymous class so the > generic information that are transmitted from the bytecode to the runtime > (the lambda metafactory) are

Re: JDK 8 reflection changes (compared to JDK 7)

2014-01-28 Thread Paul Sandoz
Hi Pavel, The second method is a bridge method (m.isBridge() == true). You can use javap to see the byte code generated by the Java 8 compiler on the Test.B class: public void method(java.lang.Object); flags: ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC Code: stack=2, locals=2, args_si

Re: RFR: 8029795 : LinkedHashMap.getOrDefault() doesn't update access order. (was Why doesn't new Map methods generate entry accesses on LinkedHashMap?)

2013-12-10 Thread Paul Sandoz
On Dec 10, 2013, at 10:47 AM, Paul Sandoz wrote: > > On Dec 10, 2013, at 5:37 AM, Mike Duigou wrote: > >> Hello all; >> >> I've posted a webrev for review which corrects the problem and adds >> appropriate tests. >> >> http://cr.openjd

Re: RFR: 8029795 : LinkedHashMap.getOrDefault() doesn't update access order. (was Why doesn't new Map methods generate entry accesses on LinkedHashMap?)

2013-12-10 Thread Paul Sandoz
On Dec 10, 2013, at 5:37 AM, Mike Duigou wrote: > Hello all; > > I've posted a webrev for review which corrects the problem and adds > appropriate tests. > > http://cr.openjdk.java.net/~mduigou/JDK-8029795/0/webrev/ > > I also updated the documentation to mention that getOrDefault as well as

Re: Why doesn't new Map methods generate entry accesses on LinkedHashMap? [Copy]

2013-12-09 Thread Paul Sandoz
Hi Roman, On Dec 8, 2013, at 10:29 PM, Roman Leventov wrote: > Especially getDefault(). Doesn't this violate principle of least > astonishment? Details and proof: > http://stackoverflow.com/questions/20440136/why-doesnt-new-map-methods-generate-entry-accesses-on-linkedhashmap > Thanks. I beli

Re: CFV: New jdk8 Reviewer: Stuart Marks

2013-11-25 Thread Paul Sandoz
Vote: yes Paul.

Re: CFV: New JDK 8 Committer: Anthony Scarpino (ascarpino)

2013-11-07 Thread Paul Sandoz
Vote: yes Paul.

Re: CFV: New jdk8 Reviewer: Daniel Fuchs

2013-10-31 Thread Paul Sandoz
Vote: yes. Paul.

Re: CFV: New JDK8 Committer: Johnny Chen (jchen)

2013-10-24 Thread Paul Sandoz
Vote: yes Paul.

Re: CFV: New JDK8 Committer: Vadim Pakhnushev (vadim)

2013-10-24 Thread Paul Sandoz
Vote: yes Paul.

Re: CFV: New JDK 8 Reviewer: Seán Coffey

2013-10-10 Thread Paul Sandoz
Vote: yes Paul.

Re: Strange covariant/generics downcasting issue with JDK8

2013-10-08 Thread Paul Sandoz
[i am not subscribed to compiler-dev] You are using raw types for the condition: public class RegexMatch extends Condition replace with: public class RegexMatch extends Condition and it will compile. So it seems the raw types for the parameter is triggering the compiler to loose the type

Re: CFV: New JDK8 Committer Brent Christian (bchristi)

2013-09-28 Thread Paul Sandoz
Vote: yes Paul.

Re: CFV: New JDK 8 Committer: Attila Szegedi (attila)

2013-09-15 Thread Paul Sandoz
Vote: yes Paul.

Re: CFV: New jdk8 Committer: Jan Lahoda

2013-08-30 Thread Paul Sandoz
Vote: yes Paul.

Re: CFV: New jdk8 Reviewer: Joel Borggrén-Franck

2013-08-28 Thread Paul Sandoz
Vote: yes Paul.

Re: CFV: New JDK8 Committer Brian Burkhalter (bpb)

2013-08-16 Thread Paul Sandoz
Vote: yes Paul.

Re: CFV: New JDK8 Committer Marcus Lagergren (lagergren)

2013-08-07 Thread Paul Sandoz
Vote: yes Paul.

Re: CFV: New jdk8 Committer: Peter Levart

2013-08-06 Thread Paul Sandoz
Vote: yes. Paul.

Re: CFV: New JDK8 Committer: Roger Riggs

2013-07-30 Thread Paul Sandoz
Vote: yes Paul.

Re: CFV: New JDK8 Committer: Henry Jen

2013-07-12 Thread Paul Sandoz
Vote: yes Paul.

Re: Old / New build systems strategy ?

2012-09-24 Thread Paul Sandoz
HI Henri, I recommend you try this: - for jdk8 use the "current/old" build system until jdk8 officially switches over to the new build system and deprecates the old one. - for jigsaw use the "current/old" build system until jigsaw does a merge from jdk8 with the new build system that is capabl

Review fix for 7162262 Re: Typo in javadoc of Path.java

2012-04-19 Thread Paul Sandoz
Hi, http://cr.openjdk.java.net/~psandoz/7162262/webrev.0/ The addition of this one character probably produced over 1 fold in character meta-data :-) Paul. On Apr 17, 2012, at 10:10 PM, Alan Bateman wrote: > On 17/04/2012 20:13, Alexander Thaller wrote: >> Hello. >> I think that in the ja