Re: Deprecating puzzling APIs

2011-02-09 Thread David Holmes
Not a topic for the discuss list (which I've bcc'ed), so moved to core-libs David Holmes Behrang Saeedzadeh said the following on 02/10/11 16:49: In particular, I am referring to Integer.getInteger, Boolean.getBoolean, etc. series of methods. These methods are API smells, confusing to new users

hg: jdk7/tl/langtools: 7018447: langtools launcher template fails if tools run from their own directory

2011-02-09 Thread jonathan . gibbons
Changeset: bfa59f3e84bd Author:jjg Date: 2011-02-09 18:26 -0800 URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/bfa59f3e84bd 7018447: langtools launcher template fails if tools run from their own directory Reviewed-by: jjg Contributed-by: daniel.sm...@oracle.com ! src/share/b

hg: jdk7/tl/langtools: 7010792: remove bad debugging method from javac

2011-02-09 Thread jonathan . gibbons
Changeset: 3ce4e1a07e92 Author:jjg Date: 2011-02-09 14:10 -0800 URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/3ce4e1a07e92 7010792: remove bad debugging method from javac Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/javac/parser/Scanner.java

hg: jdk7/tl/langtools: 7016750: tools/javac/nio/CompileTest failing in nightly test

2011-02-09 Thread jonathan . gibbons
Changeset: c6cb387190ee Author:jjg Date: 2011-02-09 14:04 -0800 URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/c6cb387190ee 7016750: tools/javac/nio/CompileTest failing in nightly test Reviewed-by: mcimadamore ! test/tools/javac/nio/compileTest/CompileTest.java

hg: jdk7/tl/jdk: 2 new changesets

2011-02-09 Thread alan . bateman
Changeset: 6a274c4d3e00 Author:alanb Date: 2011-02-09 15:59 + URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/6a274c4d3e00 7018258: Dual-pivot updates in 7013585 can fail with ArrayIndexOutOfBoundsException Reviewed-by: alanb Contributed-by: vladimir.yaroslavs...@oracle.com !

Re: Dual-Pivot Quicksort improvements for highly structured (nearly sorted) arrays and data with small periods

2011-02-09 Thread Alan Bateman
This one was pushed yesterday but it turns out to have an issue in the code that checks if the array is nearly sorted. This can lead to an ArrayIndexOutOfBoundsException that isn't caught by the existing tests. Vladimir has a fix and we need to extend the sorting test to ensure that it hits a

Re: Review request for 6927486: Deadlock in legacy Hashtable writeObject()

2011-02-09 Thread Alan Bateman
Neil Richards wrote: Hi Alan, Mike, Please find attached one more webrev zip, with updated license text and now based off jdk7-b128. Let me know if this is now good to be committed, or if there's anything else I need to do, Thanks, Neil Thanks for perceiving with this. The only thing that loo

Re: Some issues on identifying user.name on Windows

2011-02-09 Thread Alan Bateman
Dmytro Sheyko wrote: Hi, Maybe it makes sense to use environment variables on Linux (and Solaris) as well in order to minimize failure of "user.name" and "user.home" detection, doesn't it? Yes, I think this makes sense. Typically USER and LOGNAME are set (we might just need to think about the

hg: jdk7/tl/jdk: 7013961: Threads attached via JNI attach prevent daemon ThreadGroups from being destroyed

2011-02-09 Thread chris . hegarty
Changeset: cd9a302f2806 Author:chegar Date: 2011-02-09 09:53 + URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/cd9a302f2806 7013961: Threads attached via JNI attach prevent daemon ThreadGroups from being destroyed Reviewed-by: dholmes ! src/share/classes/java/lang/Thread.java

RE: Some issues on identifying user.name on Windows

2011-02-09 Thread Dmytro Sheyko
Hi, Maybe it makes sense to use environment variables on Linux (and Solaris) as well in order to minimize failure of "user.name" and "user.home" detection, doesn't it? As for Windows, many Win32 functions fail when system is shutting down, and GetUserName shouldn't be an exception. But I don'