Re: Does OpenJDK support bitmap image with JarURLConnection?

2011-03-09 Thread Chris Hegarty
On 08/03/2011 09:13, Jing LV wrote: >.. > Hi Chris, > > Thanks for reply. So as we see no objection for this issue, would > someone help to raise a bug in the bug system? So that we can apply the > patch and fix this 12-year problem. I filed CR 7025938: "Add bitmap mime type to content-types.

Code Review 7024560: InetAddress.getLocalHost().getHostName() returns localhost for hostnames of length HOST_NAME_MAX

2011-03-09 Thread Chris Hegarty
Alan, Michael, In Java_java_net_Inet(4|6)AddressImpl_getLocalHostName JVM_GetHostName, a.k.a gethostname, is returning ENAMETOOLONG. Then falling back to use "localhost", the assumption was that failure would only happen when something went wrong, maybe networking is not setup. It appears th

Re: SocketPermission's implies() interesting behavior

2011-03-09 Thread Neil Richards
On 1 March 2011 09:18, Chris Hegarty wrote: > Michael, > > Can you please take a look at this change, CR 7021280: "SocketPermission > trustProxy should accept wildcards". > > This patch came from Charles (cc'ed), and I agree with the changes. Can you > please take a look and give your feedback. >

Re: Code Review 7024560: InetAddress.getLocalHost().getHostName() returns localhost for hostnames of length HOST_NAME_MAX

2011-03-09 Thread Michael McMahon
Chris Hegarty wrote: Alan, Michael, In Java_java_net_Inet(4|6)AddressImpl_getLocalHostName JVM_GetHostName, a.k.a gethostname, is returning ENAMETOOLONG. Then falling back to use "localhost", the assumption was that failure would only happen when something went wrong, maybe networking is not

Re: Code Review 7024560: InetAddress.getLocalHost().getHostName() returns localhost for hostnames of length HOST_NAME_MAX

2011-03-09 Thread Alan Bateman
Chris Hegarty wrote: Alan, Michael, In Java_java_net_Inet(4|6)AddressImpl_getLocalHostName JVM_GetHostName, a.k.a gethostname, is returning ENAMETOOLONG. Then falling back to use "localhost", the assumption was that failure would only happen when something went wrong, maybe networking is not

Re: Code Review 7024560: InetAddress.getLocalHost().getHostName() returns localhost for hostnames of length HOST_NAME_MAX

2011-03-09 Thread Chris Hegarty
On 09/03/2011 16:26, Alan Bateman wrote: Chris Hegarty wrote: Alan, Michael, In Java_java_net_Inet(4|6)AddressImpl_getLocalHostName JVM_GetHostName, a.k.a gethostname, is returning ENAMETOOLONG. Then falling back to use "localhost", the assumption was that failure would only happen when somethi

hg: jdk7/tl/langtools: 7025988: Test test/tools/javac/file/zip/T6836682.java takes too long to complete

2011-03-09 Thread maurizio . cimadamore
Changeset: 4fd20d5b7295 Author:mcimadamore Date: 2011-03-09 16:47 + URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/4fd20d5b7295 7025988: Test test/tools/javac/file/zip/T6836682.java takes too long to complete Summary: added @ignore tag to temporarily disable the test Revi

Re: Code Review 7024560: InetAddress.getLocalHost().getHostName() returns localhost for hostnames of length HOST_NAME_MAX

2011-03-09 Thread Alan Bateman
Chris Hegarty wrote: : I tested on a few different Linux machines and instrumented the error handling code, it is definitely failing with ENAMETOOLONG. Okay, must be a glibc thing. The changes you have look okay to me but would be nice to ensure that the hostname is null-terminated (for platf

hg: jdk7/tl/jdk: 7022370: Launcher ergonomics should provide simple default implementation

2011-03-09 Thread david . holmes
Changeset: 38626f41e458 Author:dholmes Date: 2011-03-09 19:52 -0500 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/38626f41e458 7022370: Launcher ergonomics should provide simple default implementation Summary: Use a common, platform independent, implementation unless an architect

Re: SocketPermission's implies() interesting behavior

2011-03-09 Thread Charles Lee
On 03/10/2011 12:02 AM, Neil Richards wrote: On 1 March 2011 09:18, Chris Hegarty wrote: Michael, Can you please take a look at this change, CR 7021280: "SocketPermission trustProxy should accept wildcards". This patch came from Charles (cc'ed), and I agree with the changes. Can you please ta

hg: jdk7/tl/jdk: 3 new changesets

2011-03-09 Thread kelly . ohair
Changeset: cfc05963734e Author:ramap Date: 2011-03-09 15:47 -0800 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/cfc05963734e 7020513: Add com.sun.xml.internal to the "package.access" property in $JAVA_HOME/lib/security/java.security Reviewed-by: ohair, alanb ! src/share/lib/secu

hg: jdk7/tl/jdk: 6960211: JavaScript engine allows creation of interface although methods not available

2011-03-09 Thread sundararajan . a
Changeset: 090c52eebf6a Author:sundar Date: 2011-03-10 12:52 +0530 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/090c52eebf6a 6960211: JavaScript engine allows creation of interface although methods not available Reviewed-by: jjh ! src/share/classes/com/sun/script/javascript/Rhi