Re: How to manually assign a canonicalized host name?

2013-11-11 Thread Weijun Wang
rdns = false in [libdefaults] works. ignore_acceptor_hostname seems to be for server side, which allows a server (acceptor) to expose itself as any name even if it only has keys for one name. The /etc/hosts way also works, and I've mapped several names to different 127.0.1.*. At least on Lin

hg: jdk8/tl/jdk: 8027823: catchException combinator fails with 9 argument target

2013-11-11 Thread john . r . rose
Changeset: 9fcb07df1c92 Author:vlivanov Date: 2013-11-09 04:21 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/9fcb07df1c92 8027823: catchException combinator fails with 9 argument target Reviewed-by: jrose ! src/share/classes/java/lang/invoke/MethodHandleImpl.java + test/jav

Re: How to manually assign a canonicalized host name?

2013-11-11 Thread Bernd Eckenfels
Hello, the hosts file can be used for both direction. Canonicalizing an IP to a hostname will pick the first hostname (alias) in the hosts file. (The first entry in the first line with the same IP). Some tools not use the hosts file directly but the resolver library. Then it depends on th

How to manually assign a canonicalized host name?

2013-11-11 Thread Weijun Wang
This is probably not Java-related, but I guess you guys might know the answer. I know adding a line to /etc/hosts could resolve a host name to any IP address. But where can I do the reverse? I am using a tool (kvno from MIT krb5) now and it is trying to perform something on the argument

hg: jdk8/tl/jdk: 8026330: java.util.Base64 urlEncoder should omit padding

2013-11-11 Thread xueming . shen
Changeset: 8e8e423fa3dc Author:sherman Date: 2013-11-11 14:35 -0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/8e8e423fa3dc 8026330: java.util.Base64 urlEncoder should omit padding Summary: to add Encoder.withoutPadding() Reviewed-by: alanb ! src/share/classes/java/util/Base64

hg: jdk8/tl/jdk: 8014506: Test of Jdp feature

2013-11-11 Thread staffan . larsen
Changeset: 0cacac7f5c37 Author:sla Date: 2013-11-08 18:16 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0cacac7f5c37 8014506: Test of Jdp feature Reviewed-by: sla Contributed-by: Alex Schenkman + test/sun/management/jdp/ClientConnection.java + test/sun/management/jdp/Dynam

hg: jdk8/tl/jdk: 8028149: Clean-up javac -Xlint warnings in com.sun.rowset and com.sun.rowset.internal

2013-11-11 Thread lance . andersen
Changeset: 59ff7957c26f Author:lancea Date: 2013-11-11 14:22 -0500 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/59ff7957c26f 8028149: Clean-up javac -Xlint warnings in com.sun.rowset and com.sun.rowset.internal Reviewed-by: darcy ! src/share/classes/com/sun/rowset/CachedRowSetI

Re: RFR: 8022213 Intermittent test failures in java/net/URLClassLoader (Add jdk/testlibrary/FileUtils.java)

2013-11-11 Thread Dan Xu
Thank you, Chris. Others look good to me. Thanks for helping solve this hard problem! -Dan On 11/11/2013 02:41 AM, Chris Hegarty wrote: Thanks Dan, I'll make the changes before pushing. -Chris. On 09/11/2013 05:43, Dan Xu wrote: Hi Chris, In deleteFileWithRetry0(), the following lines 79

hg: jdk8/tl/jdk: 8028060: test/java/net/URLPermission/nstest/lookup.sh failing (win)

2013-11-11 Thread michael . x . mcmahon
Changeset: 0e47462f03a0 Author:michaelm Date: 2013-11-11 16:06 + URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0e47462f03a0 8028060: test/java/net/URLPermission/nstest/lookup.sh failing (win) Reviewed-by: alanb ! test/java/net/URLPermission/nstest/LookupTest.java ! test/java/

Re: RFR: 8028060 test/java/net/URLPermission/nstest/lookup.sh failing (win)

2013-11-11 Thread Alan Bateman
On 11/11/2013 15:37, Michael McMahon wrote: This is a fix to a test case that is failing on Windows. A couple of problems: 1) cygwin doesn't like the newline at the end of the port number that gets printed to System.out 2) the calling script was not setting the classpath separator correctly

RFR: 8028060 test/java/net/URLPermission/nstest/lookup.sh failing (win)

2013-11-11 Thread Michael McMahon
This is a fix to a test case that is failing on Windows. A couple of problems: 1) cygwin doesn't like the newline at the end of the port number that gets printed to System.out 2) the calling script was not setting the classpath separator correctly (';' for windows) http://cr.openjdk.java.ne

Re: RFR: 8022213 Intermittent test failures in java/net/URLClassLoader (Add jdk/testlibrary/FileUtils.java)

2013-11-11 Thread Chris Hegarty
Thanks Dan, I'll make the changes before pushing. -Chris. On 09/11/2013 05:43, Dan Xu wrote: Hi Chris, In deleteFileWithRetry0(), the following lines 79 while (true) { 80 if (Files.notExists(path)) 81 break; can be combined to while (Files.exists(path)) { ... And L99 99Th

hg: jdk8/tl/jdk: 8028102: All test targets, jdk/test/Makefile, fail on Windows

2013-11-11 Thread chris . hegarty
Changeset: b48eded97dff Author:chegar Date: 2013-11-11 10:33 + URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/b48eded97dff 8028102: All test targets, jdk/test/Makefile, fail on Windows Reviewed-by: mduigou ! test/Makefile

hg: jdk8/tl/jdk: 8027991: InputStream should be closed in sun.security.tools.jarsigner.Main

2013-11-11 Thread weijun . wang
Changeset: 7304b3195212 Author:weijun Date: 2013-11-11 16:54 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7304b3195212 8027991: InputStream should be closed in sun.security.tools.jarsigner.Main Reviewed-by: xuelei ! src/share/classes/sun/security/tools/jarsigner/Main.java

hg: jdk8/tl/jdk: 8028099: Many com/sun/management/OperatingSystemMXBean tests failing with CCE (win)

2013-11-11 Thread alan . bateman
Changeset: 2525b91ca5a6 Author:alanb Date: 2013-11-11 08:36 + URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/2525b91ca5a6 8028099: Many com/sun/management/OperatingSystemMXBean tests failing with CCE (win) Reviewed-by: mchung ! src/windows/classes/sun/management/OperatingSyst