From Weijun.Wang at Sun.COM Tue Mar 4 06:09:14 2008 From: Weijun.Wang at Sun.COM (Max (Weijun) Wang) Date: Tue, 04 Mar 2008 22:09:14 +0800 Subject: getCanonicalHostName on Windows Message-ID: Hi All I have a Windows domain called n3.local, and a server called k1 in the domain, and a client. When I call the line -- InetAddress.getByName("k1.n3.local").getCanonicalHostName() from the client, the returned string is "k1". How can I get "k1.n3.local"? Is there anything wrong with my Windows configuration? Or, I should use another Java method? Thanks Max From Christopher.Hegarty at Sun.COM Tue Mar 4 06:35:12 2008 From: Christopher.Hegarty at Sun.COM (Christopher Hegarty) Date: Tue, 04 Mar 2008 14:35:12 +0000 Subject: getCanonicalHostName on Windows In-Reply-To: References: Message-ID: <47CD5E20.5070502@Sun.COM> Hi Max, The Java methods that you are using are correct. As it is specified "best effort" is used to determine the FQDN. getByName will try to do forward lookup of k1.n3.local to retrieve its address, which I assumes will succeed. Then this address is used to do a reverse lookup to determine the FQDN of the host. What name service are you using? Can you verify the response from the server to the reverse lookup? -Chris. Max (Weijun) Wang wrote: > Hi All > > I have a Windows domain called n3.local, and a server called k1 in the > domain, and a client. When I call the line -- > > InetAddress.getByName("k1.n3.local").getCanonicalHostName() > > from the client, the returned string is "k1". How can I get > "k1.n3.local"? Is there anything wrong with my Windows configuration? > Or, I should use another Java method? > > Thanks > Max > From Weijun.Wang at Sun.COM Tue Mar 4 17:07:55 2008 From: Weijun.Wang at Sun.COM (Max (Weijun) Wang) Date: Wed, 05 Mar 2008 09:07:55 +0800 Subject: getCanonicalHostName on Windows In-Reply-To: <47CD5E20.5070502@Sun.COM> References: <47CD5E20.5070502@Sun.COM> Message-ID: On Mar 4, 2008, at 10:35 PM, Christopher Hegarty wrote: > Hi Max, > > The Java methods that you are using are correct. As it is specified > "best effort" is used to determine the FQDN. > > getByName will try to do forward lookup of k1.n3.local to retrieve > its address, which I assumes will succeed. Then this address is > used to do a reverse lookup to determine the FQDN of the host. What > name service are you using? Can you verify the response from the > server to the reverse lookup? It's the Windows DNS service automatically installed when I add the "AD domain controller" role to the AD server. The "Reverse Lookup Zones" is empty in the DNS Management Administrative Tools. BTW, I have 2 domains in the Network, one is this n3.local, another is a "sub-domain" n8.n3.local managed by another AD server. The client/AD server/k1 all belongs to n3.local. This shouldn't confuse the client, right? Here's the output of on my client machine xp. The other machines are: kdc, the AD server, and k1, the other server. D prints out InetAddress.getByName(args[0]).getCanonicalHostName(). You can see that getCanonicalName() costs quite some time accessing k1 and kdc. Ping is fast anyway. C:\tmp>"\Program Files\MKS Toolkit\mksnt\time.exe" java D xp xp.n3.local real 0m 0.34s user 0m 0.06s sys 0m 0.22s C:\tmp>"\Program Files\MKS Toolkit\mksnt\time.exe" java D k1 K1 real 0m15.51s user 0m 0.03s sys 0m 0.29s C:\tmp>"\Program Files\MKS Toolkit\mksnt\time.exe" java D kdc KDC real 0m15.35s user 0m 0.02s sys 0m 0.26s C:\tmp>ping k1 Pinging k1.n3.local [192.168.0.11] with 32 bytes of data: Reply from 192.168.0.11: bytes=32 time<1ms TTL=128 Reply from 192.168.0.11: bytes=32 time<1ms TTL=128 Reply from 192.168.0.11: bytes=32 time<1ms TTL=128 Reply from 192.168.0.11: bytes=32 time<1ms TTL=128 Ping statistics for 192.168.0.11: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms C:\tmp>ping kdc Pinging kdc.n3.local [192.168.0.1] with 32 bytes of data: Reply from 192.168.0.1: bytes=32 time<1ms TTL=128 Reply from 192.168.0.1: bytes=32 time<1ms TTL=128 Reply from 192.168.0.1: bytes=32 time<1ms TTL=128 Reply from 192.168.0.1: bytes=32 time<1ms TTL=128 Ping statistics for 192.168.0.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms Thanks Max > > -Chris. > > Max (Weijun) Wang wrote: >> Hi All >> I have a Windows domain called n3.local, and a server called k1 in >> the domain, and a client. When I call the line -- >> InetAddress.getByName("k1.n3.local").getCanonicalHostName() >> from the client, the returned string is "k1". How can I get >> "k1.n3.local"? Is there anything wrong with my Windows >> configuration? Or, I should use another Java method? >> Thanks >> Max From Christopher.Hegarty at Sun.COM Wed Mar 5 01:22:52 2008 From: Christopher.Hegarty at Sun.COM (Christopher Hegarty - Sun Microsystems Ireland) Date: Wed, 05 Mar 2008 09:22:52 +0000 Subject: getCanonicalHostName on Windows In-Reply-To: References: <47CD5E20.5070502@Sun.COM> Message-ID: <47CE666C.2030503@sun.com> I am not familiar with the Windows DNS service, but I cannot image how the FQDN can be retrieved without a reverse entry in the DNS server. I suspect that you will need to populate "Reverse Lookup Zones" with the names of any machines you wish to be able to get the FQDN for. -Chris. Max (Weijun) Wang wrote: > > On Mar 4, 2008, at 10:35 PM, Christopher Hegarty wrote: > >> Hi Max, >> >> The Java methods that you are using are correct. As it is specified >> "best effort" is used to determine the FQDN. >> >> getByName will try to do forward lookup of k1.n3.local to retrieve its >> address, which I assumes will succeed. Then this address is used to do >> a reverse lookup to determine the FQDN of the host. What name service >> are you using? Can you verify the response from the server to the >> reverse lookup? > > It's the Windows DNS service automatically installed when I add the "AD > domain controller" role to the AD server. The "Reverse Lookup Zones" is > empty in the DNS Management Administrative Tools. > > BTW, I have 2 domains in the Network, one is this n3.local, another is a > "sub-domain" n8.n3.local managed by another AD server. The client/AD > server/k1 all belongs to n3.local. This shouldn't confuse the client, > right? > > Here's the output of on my client machine xp. The other machines are: > kdc, the AD server, and k1, the other server. D prints out > InetAddress.getByName(args[0]).getCanonicalHostName(). You can see that > getCanonicalName() costs quite some time accessing k1 and kdc. Ping is > fast anyway. > > C:\tmp>"\Program Files\MKS Toolkit\mksnt\time.exe" java D xp > xp.n3.local > > real 0m 0.34s > user 0m 0.06s > sys 0m 0.22s > > C:\tmp>"\Program Files\MKS Toolkit\mksnt\time.exe" java D k1 > K1 > > real 0m15.51s > user 0m 0.03s > sys 0m 0.29s > > C:\tmp>"\Program Files\MKS Toolkit\mksnt\time.exe" java D kdc > KDC > > real 0m15.35s > user 0m 0.02s > sys 0m 0.26s > > C:\tmp>ping k1 > > Pinging k1.n3.local [192.168.0.11] with 32 bytes of data: > > Reply from 192.168.0.11: bytes=32 time<1ms TTL=128 > Reply from 192.168.0.11: bytes=32 time<1ms TTL=128 > Reply from 192.168.0.11: bytes=32 time<1ms TTL=128 > Reply from 192.168.0.11: bytes=32 time<1ms TTL=128 > > Ping statistics for 192.168.0.11: > Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), > Approximate round trip times in milli-seconds: > Minimum = 0ms, Maximum = 0ms, Average = 0ms > > C:\tmp>ping kdc > > Pinging kdc.n3.local [192.168.0.1] with 32 bytes of data: > > Reply from 192.168.0.1: bytes=32 time<1ms TTL=128 > Reply from 192.168.0.1: bytes=32 time<1ms TTL=128 > Reply from 192.168.0.1: bytes=32 time<1ms TTL=128 > Reply from 192.168.0.1: bytes=32 time<1ms TTL=128 > > Ping statistics for 192.168.0.1: > Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), > Approximate round trip times in milli-seconds: > Minimum = 0ms, Maximum = 0ms, Average = 0ms > > > Thanks > Max > >> >> -Chris. >> >> Max (Weijun) Wang wrote: >>> Hi All >>> I have a Windows domain called n3.local, and a server called k1 in >>> the domain, and a client. When I call the line -- >>> InetAddress.getByName("k1.n3.local").getCanonicalHostName() >>> from the client, the returned string is "k1". How can I get >>> "k1.n3.local"? Is there anything wrong with my Windows configuration? >>> Or, I should use another Java method? >>> Thanks >>> Max > From Jean-Christophe.Collet at Sun.COM Wed Mar 5 07:27:25 2008 From: Jean-Christophe.Collet at Sun.COM (Jean-Christophe Collet) Date: Wed, 05 Mar 2008 16:27:25 +0100 Subject: Proposed fix for 6660405. Message-ID: <47CEBBDD.2060204@sun.com> Here is my proposed fix for CR 6660405. The issue is that after a redirect, and if there is a cache hit (i.e. the URL is found in the cache) HttpURLConnection will return the wrong InputStream. Details are in the evaluation section of the CR. My proposed fix is to set inputStream back to null in sun.net.www.protocol.http.HttpURLConnection.disconnectInternal(). I've also included a regression test that reproduces the bug. See patch attached. -------------- next part -------------- A non-text attachment was scrubbed... Name: jdk.patch Type: text/x-patch Size: 5896 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/net-dev/attachments/20080305/63852c7a/jdk.patch From Christopher.Hegarty at Sun.COM Wed Mar 5 08:01:41 2008 From: Christopher.Hegarty at Sun.COM (Christopher Hegarty - Sun Microsystems Ireland) Date: Wed, 05 Mar 2008 16:01:41 +0000 Subject: Proposed fix for 6660405. In-Reply-To: <47CEBBDD.2060204@sun.com> References: <47CEBBDD.2060204@sun.com> Message-ID: <47CEC3E5.1020101@sun.com> The change looks good. I approve this change. -Chris Jean-Christophe Collet wrote: > Here is my proposed fix for CR 6660405. > The issue is that after a redirect, and if there is a cache hit (i.e. > the URL is found in the cache) HttpURLConnection will return the wrong > InputStream. Details are in the evaluation section of the CR. > My proposed fix is to set inputStream back to null in > sun.net.www.protocol.http.HttpURLConnection.disconnectInternal(). > I've also included a regression test that reproduces the bug. > See patch attached. > From Jean-Christophe.Collet at Sun.COM Wed Mar 5 08:46:57 2008 From: Jean-Christophe.Collet at Sun.COM (Jean-Christophe Collet) Date: Wed, 05 Mar 2008 17:46:57 +0100 Subject: Proposed fix for 6651717 Message-ID: <47CECE81.20803@sun.com> This is a straightforward fix in mailtoURLConnection to remove a left over debug statement in the connect() method. Also took the opportunity to remove unneeded imports and add appropriate @Override tags. No regression test as this is a trivial change. Patch attached. -------------- next part -------------- A non-text attachment was scrubbed... Name: jdk.patch Type: text/x-patch Size: 1803 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/net-dev/attachments/20080305/024831a5/jdk.patch From Christopher.Hegarty at Sun.COM Wed Mar 5 09:46:23 2008 From: Christopher.Hegarty at Sun.COM (Christopher Hegarty - Sun Microsystems Ireland) Date: Wed, 05 Mar 2008 17:46:23 +0000 Subject: Proposed fix for 6651717 In-Reply-To: <47CECE81.20803@sun.com> References: <47CECE81.20803@sun.com> Message-ID: <47CEDC6F.8090301@sun.com> Yes, this change is fine. -Chris. Jean-Christophe Collet wrote: > This is a straightforward fix in mailtoURLConnection to remove a left > over debug statement in the connect() method. > Also took the opportunity to remove unneeded imports and add appropriate > @Override tags. > No regression test as this is a trivial change. > Patch attached. > From Bradford.Wetmore at Sun.COM Thu Mar 6 15:58:31 2008 From: Bradford.Wetmore at Sun.COM (Brad Wetmore) Date: Thu, 06 Mar 2008 15:58:31 -0800 Subject: JSN gate notifications. Message-ID: <47D08527.5080503@sun.com> Hi net-dev'ers, This is Brad Wetmore, your friendly neighborhood JSN gatekeeper. For some reason, pushes to the various JSN gates were initially configured to send notifications only to the security group's aliases. That problem has been fixed, and notifications should now go to both the security and network groups. If you're interested in seeing what's gone back to the JSN gate so far, see the security group mail archives (below). Here's the ones I though might be of interest to the net group: 6638560: APPCRASH in "SPNEGO_HTTP_AUTH/PROXY_FALLBACK" test case with 64 bit JDK on Win2008 x64, VinVista x64 christopher.hegarty at sun.com 6641309: Wrong Cookie separator used in HttpURLConnection jean-christophe.collet at sun.com 6660405: HttpURLConnection returns the wrong InputStream jean-christophe.collet at sun.com 6651717: Debug output statement left in MailToURLConnection jean-christophe.collet at sun.com More details about these putbacks can be found at: http://mail.openjdk.java.net/pipermail/security-dev/2008-March/thread.html Look for the the subject line "hg:" Thanks, please be careful out there. Brad From Christopher.Hegarty at Sun.COM Fri Mar 7 01:51:16 2008 From: Christopher.Hegarty at Sun.COM (Christopher Hegarty - Sun Microsystems Ireland) Date: Fri, 07 Mar 2008 09:51:16 +0000 Subject: CR 6667108 code review Message-ID: <47D11014.5000603@sun.com> CR 6667108: "typo in javadoc for java.net.Socket.getRemoteSocketAddress()" Trivial cleanup of a typo in getRemoteSocketAddress specification. diff -r fa6948bdc4b0 src/share/classes/java/net/Socket.java --- a/src/share/classes/java/net/Socket.java Thu Mar 06 10:35:28 2008 -0800 +++ b/src/share/classes/java/net/Socket.java Fri Mar 07 09:51:14 2008 +0000 @@ -731,7 +731,7 @@ class Socket implements java.io.Closeabl * then this method will continue to return the connected address * after the socket is closed. * - * @return a SocketAddress reprensenting the remote endpoint of this + * @return a SocketAddress representing the remote endpoint of this * socket, or null if it is not connected yet. * @see #getInetAddress() * @see #getPort() -Chris. From Jean-Christophe.Collet at Sun.COM Fri Mar 7 02:06:04 2008 From: Jean-Christophe.Collet at Sun.COM (Jean-Christophe Collet) Date: Fri, 07 Mar 2008 11:06:04 +0100 Subject: CR 6667108 code review In-Reply-To: <47D11014.5000603@sun.com> References: <47D11014.5000603@sun.com> Message-ID: <47D1138C.6000100@sun.com> Approved. Christopher Hegarty - Sun Microsystems Ireland wrote: > CR 6667108: "typo in javadoc for > java.net.Socket.getRemoteSocketAddress()" > > Trivial cleanup of a typo in getRemoteSocketAddress specification. > > > diff -r fa6948bdc4b0 src/share/classes/java/net/Socket.java > --- a/src/share/classes/java/net/Socket.java Thu Mar 06 10:35:28 > 2008 -0800 > +++ b/src/share/classes/java/net/Socket.java Fri Mar 07 09:51:14 > 2008 +0000 > @@ -731,7 +731,7 @@ class Socket implements java.io.Closeabl > * then this method will continue to return the connected address > * after the socket is closed. > * > - * @return a SocketAddress reprensenting the remote > endpoint of this > + * @return a SocketAddress representing the remote > endpoint of this > * socket, or null if it is not connected yet. > * @see #getInetAddress() > * @see #getPort() > > -Chris. From christopher.hegarty at sun.com Fri Mar 7 02:22:06 2008 From: christopher.hegarty at sun.com (christopher.hegarty at sun.com) Date: Fri, 07 Mar 2008 10:22:06 +0000 Subject: hg: jdk7/jsn/jdk: 6667108: typo in javadoc for java.net.Socket.getRemoteSocketAddress() Message-ID: <20080307102218.D58D82649F@hg.openjdk.java.net> Changeset: a100f699c155 Author: chegar Date: 2008-03-07 09:57 +0000 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/a100f699c155 6667108: typo in javadoc for java.net.Socket.getRemoteSocketAddress() Summary: Simple typo in method specification. Reviewed-by: jccollet ! src/share/classes/java/net/Socket.java From Christopher.Hegarty at Sun.COM Fri Mar 7 02:21:53 2008 From: Christopher.Hegarty at Sun.COM (Christopher Hegarty - Sun Microsystems Ireland) Date: Fri, 07 Mar 2008 10:21:53 +0000 Subject: JSN gate notifications. In-Reply-To: <47D08527.5080503@sun.com> References: <47D08527.5080503@sun.com> Message-ID: <47D11741.2010802@sun.com> Thanks Brad, this is great. -Chris. Brad Wetmore wrote: > Hi net-dev'ers, > > This is Brad Wetmore, your friendly neighborhood JSN gatekeeper. For > some reason, pushes to the various JSN gates were initially configured > to send notifications only to the security group's aliases. That > problem has been fixed, and notifications should now go to both the > security and network groups. If you're interested in seeing what's gone > back to the JSN gate so far, see the security group mail archives (below). > > Here's the ones I though might be of interest to the net group: > > 6638560: APPCRASH in "SPNEGO_HTTP_AUTH/PROXY_FALLBACK" test case with 64 > bit JDK on Win2008 x64, VinVista x64 christopher.hegarty at sun.com > 6641309: Wrong Cookie separator used in HttpURLConnection > jean-christophe.collet at sun.com > 6660405: HttpURLConnection returns the wrong InputStream > jean-christophe.collet at sun.com > 6651717: Debug output statement left in MailToURLConnection > jean-christophe.collet at sun.com > > More details about these putbacks can be found at: > > http://mail.openjdk.java.net/pipermail/security-dev/2008-March/thread.html > > Look for the the subject line "hg:" > > Thanks, please be careful out there. > > Brad > From Christopher.Hegarty at Sun.COM Fri Mar 7 03:20:51 2008 From: Christopher.Hegarty at Sun.COM (Christopher Hegarty - Sun Microsystems Ireland) Date: Fri, 07 Mar 2008 11:20:51 +0000 Subject: CR 6591358 code review Message-ID: <47D12513.2040701@sun.com> Another trivial documentation change. CR 6591358: "documentation error in URLConnection.setRequestProperty("accept", ...)" -Chris. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: jsnJDK.patch Url: http://mail.openjdk.java.net/pipermail/net-dev/attachments/20080307/eef3faa8/jsnJDK.patch From christopher.hegarty at sun.com Fri Mar 7 03:34:09 2008 From: christopher.hegarty at sun.com (christopher.hegarty at sun.com) Date: Fri, 07 Mar 2008 11:34:09 +0000 Subject: hg: jdk7/jsn/jdk: 6615656: Removed unimplemented java.net methods Message-ID: <20080307113421.8444E264AC@hg.openjdk.java.net> Changeset: 328415dfe347 Author: chegar Date: 2008-03-07 11:30 +0000 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/328415dfe347 6615656: Removed unimplemented java.net methods Reviewed-by: jccollet ! src/share/classes/java/net/AbstractPlainSocketImpl.java ! src/share/classes/java/net/NetworkInterface.java ! src/solaris/classes/java/net/PlainSocketImpl.java ! src/windows/classes/java/net/DualStackPlainSocketImpl.java ! src/windows/classes/java/net/TwoStacksPlainSocketImpl.java From Jean-Christophe.Collet at Sun.COM Fri Mar 7 03:37:46 2008 From: Jean-Christophe.Collet at Sun.COM (Jean-Christophe Collet) Date: Fri, 07 Mar 2008 12:37:46 +0100 Subject: CR 6591358 code review In-Reply-To: <47D12513.2040701@sun.com> References: <47D12513.2040701@sun.com> Message-ID: <47D1290A.8000001@sun.com> Approved. Christopher Hegarty - Sun Microsystems Ireland wrote: > Another trivial documentation change. > > CR 6591358: > "documentation error in URLConnection.setRequestProperty("accept", ...)" > > -Chris. From christopher.hegarty at sun.com Fri Mar 7 03:53:00 2008 From: christopher.hegarty at sun.com (christopher.hegarty at sun.com) Date: Fri, 07 Mar 2008 11:53:00 +0000 Subject: hg: jdk7/jsn/jdk: 6591358: documentation error in URLConnection.setRequestProperty("accept", ...) Message-ID: <20080307115312.EE3BA264BF@hg.openjdk.java.net> Changeset: 10d5be3e1fa8 Author: chegar Date: 2008-03-07 11:51 +0000 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/10d5be3e1fa8 6591358: documentation error in URLConnection.setRequestProperty("accept", ...) Summary: Simple doc change, "accept" -> "Accept" Reviewed-by: jccollet ! src/share/classes/java/net/URLConnection.java From christopher.hegarty at sun.com Fri Mar 7 05:01:40 2008 From: christopher.hegarty at sun.com (christopher.hegarty at sun.com) Date: Fri, 07 Mar 2008 13:01:40 +0000 Subject: hg: jdk7/jsn/jdk: 6628576: InterfaceAddress.equals() NPE when broadcast field == null Message-ID: <20080307130152.6C124264C4@hg.openjdk.java.net> Changeset: 50a8b5ca8f39 Author: chegar Date: 2008-03-07 13:00 +0000 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/50a8b5ca8f39 6628576: InterfaceAddress.equals() NPE when broadcast field == null Summary: Update logic in equals to correctly handle nulls. Reviewed-by: michaelm ! src/share/classes/java/net/InterfaceAddress.java + test/java/net/InterfaceAddress/Equals.java From christopher.hegarty at sun.com Fri Mar 7 07:16:47 2008 From: christopher.hegarty at sun.com (christopher.hegarty at sun.com) Date: Fri, 07 Mar 2008 15:16:47 +0000 Subject: hg: jdk7/jsn/jdk: 6672682: Forgotten file from CR 6615656. Message-ID: <20080307151659.958BD264D1@hg.openjdk.java.net> Changeset: 1143fe7be725 Author: chegar Date: 2008-03-07 15:15 +0000 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/1143fe7be725 6672682: Forgotten file from CR 6615656. Reviewed-by: michaelm ! src/windows/classes/java/net/PlainSocketImpl.java From christopher.hegarty at sun.com Fri Mar 7 07:30:22 2008 From: christopher.hegarty at sun.com (christopher.hegarty at sun.com) Date: Fri, 07 Mar 2008 15:30:22 +0000 Subject: hg: jdk7/jsn/jdk: 2 new changesets Message-ID: <20080307153046.EC68F264D8@hg.openjdk.java.net> Changeset: 0bce46885f3a Author: chegar Date: 2008-03-07 07:25 -0800 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/0bce46885f3a 6628661: NTLM-authentication doesn't work with non-ASCII letters Summary: Use JNU_GetStringPlatformChars to convert jstrings to the locale specific native C strings Reviewed-by: michaelm ! src/windows/native/sun/net/www/protocol/http/NTLMAuthSequence.c Changeset: 1b597b0efded Author: chegar Date: 2008-03-07 07:28 -0800 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/1b597b0efded Merge From christopher.hegarty at sun.com Fri Mar 7 09:19:48 2008 From: christopher.hegarty at sun.com (christopher.hegarty at sun.com) Date: Fri, 07 Mar 2008 17:19:48 +0000 Subject: hg: jdk7/jsn/jdk: 2 new changesets Message-ID: <20080307172012.DE2C0264DF@hg.openjdk.java.net> Changeset: 67d13a20483a Author: chegar Date: 2008-03-07 17:17 +0000 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/67d13a20483a 6631048: Problem when writing on output stream of HttpURLConnection Summary: Fix up logic in ChunkedOutputStream.write Reviewed-by: jccollet ! src/share/classes/sun/net/www/http/ChunkedOutputStream.java ! test/sun/net/www/http/ChunkedOutputStream/Test.java Changeset: 344b9b281048 Author: chegar Date: 2008-03-07 17:18 +0000 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/344b9b281048 Merge From weijun.wang at sun.com Sat Mar 8 06:50:24 2008 From: weijun.wang at sun.com (weijun.wang at sun.com) Date: Sat, 08 Mar 2008 14:50:24 +0000 Subject: hg: jdk7/jsn/jdk: 6634644: broken fragment, should use @link Message-ID: <20080308145036.515FF2652A@hg.openjdk.java.net> Changeset: ac695089ccc5 Author: weijun Date: 2008-03-08 22:49 +0800 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/ac695089ccc5 6634644: broken fragment, should use @link Reviewed-by: mullan ! src/share/classes/javax/security/cert/X509Certificate.java From weijun.wang at sun.com Sat Mar 8 06:51:43 2008 From: weijun.wang at sun.com (weijun.wang at sun.com) Date: Sat, 08 Mar 2008 14:51:43 +0000 Subject: hg: jdk7/jsn/jdk: 6643094: Test on keytool -startdate forgets about December Message-ID: <20080308145155.DF5022652F@hg.openjdk.java.net> Changeset: 2c37083730b1 Author: weijun Date: 2008-03-08 22:51 +0800 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/2c37083730b1 6643094: Test on keytool -startdate forgets about December Reviewed-by: xuelei ! test/sun/security/tools/keytool/StartDateTest.java From weijun.wang at sun.com Sat Mar 8 06:53:01 2008 From: weijun.wang at sun.com (weijun.wang at sun.com) Date: Sat, 08 Mar 2008 14:53:01 +0000 Subject: hg: jdk7/jsn/jdk: 6597349: KeyStore.getCertificateChain() may not return the full chain Message-ID: <20080308145313.84B1626534@hg.openjdk.java.net> Changeset: 06eb4d224a6b Author: weijun Date: 2008-03-08 22:52 +0800 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/06eb4d224a6b 6597349: KeyStore.getCertificateChain() may not return the full chain Reviewed-by: mullan ! src/share/classes/java/security/KeyStore.java From roman.kennke at aicas.com Mon Mar 10 12:23:04 2008 From: roman.kennke at aicas.com (Roman Kennke) Date: Mon, 10 Mar 2008 20:23:04 +0100 Subject: [PATCH] DefaultSocketImplFactory Message-ID: <1205176984.13416.77.camel@mercury> Hi, I'm trying to port the network code to the JamaicaVM. It appears that the PlainSocketImpl (or its subclass SocksSocketImpl) that is used by default in java.net.Socket is not really feasible to use as SocketImpl, and I would rather be able to choose different implementations for some platforms. However, the choice of SocksSocketImpl is hardwired in the Socket class. I propose to do something similar as in DatagramSocket and InetAddress, and choose the implementation based on the property impl.prefix, using a factory class. The exact name of the property might be different though, otherwise we might introduce a small incompatibility, when somebody uses the impl.prefix property (or is it used internally? that would be even worse) then he would now also have to provide a SocketImpl for that prefix. Maybe we should choose 'socketimpl.prefix' then? What do you think, is such a change feasible? It would certainly make my life a lot easier. Cheers, Roman -- Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org aicas Allerton Interworks Computer Automated Systems GmbH Haid-und-Neu-Stra?e 18 * D-76131 Karlsruhe * Germany http://www.aicas.com * Tel: +49-721-663 968-0 USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe Gesch?ftsf?hrer: Dr. James J. Hunt -------------- next part -------------- A non-text attachment was scrubbed... Name: openjdk-defaultsocketimplfactory.patch Type: text/x-patch Size: 3638 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/net-dev/attachments/20080310/4e86a74c/openjdk-defaultsocketimplfactory.patch From roman.kennke at aicas.com Mon Mar 10 13:21:17 2008 From: roman.kennke at aicas.com (Roman Kennke) Date: Mon, 10 Mar 2008 21:21:17 +0100 Subject: [PATCH] DefaultSocketImplFactory In-Reply-To: <1205176984.13416.77.camel@mercury> References: <1205176984.13416.77.camel@mercury> Message-ID: <1205180477.13416.90.camel@mercury> Hi, the patch is missing one thing: the same DefaultSocketImplFactory should be used in ServerSocket. /Roman Am Montag, den 10.03.2008, 20:23 +0100 schrieb Roman Kennke: > Hi, > > I'm trying to port the network code to the JamaicaVM. It appears that > the PlainSocketImpl (or its subclass SocksSocketImpl) that is used by > default in java.net.Socket is not really feasible to use as SocketImpl, > and I would rather be able to choose different implementations for some > platforms. However, the choice of SocksSocketImpl is hardwired in the > Socket class. I propose to do something similar as in DatagramSocket and > InetAddress, and choose the implementation based on the property > impl.prefix, using a factory class. > > The exact name of the property might be different though, otherwise we > might introduce a small incompatibility, when somebody uses the > impl.prefix property (or is it used internally? that would be even > worse) then he would now also have to provide a SocketImpl for that > prefix. Maybe we should choose 'socketimpl.prefix' then? > > What do you think, is such a change feasible? It would certainly make my > life a lot easier. > > Cheers, Roman > -- Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org aicas Allerton Interworks Computer Automated Systems GmbH Haid-und-Neu-Stra?e 18 * D-76131 Karlsruhe * Germany http://www.aicas.com * Tel: +49-721-663 968-0 USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe Gesch?ftsf?hrer: Dr. James J. Hunt From Christopher.Hegarty at Sun.COM Tue Mar 11 07:35:43 2008 From: Christopher.Hegarty at Sun.COM (Christopher Hegarty - Sun Microsystem) Date: Tue, 11 Mar 2008 14:35:43 +0000 Subject: [PATCH] DefaultSocketImplFactory In-Reply-To: <1205176984.13416.77.camel@mercury> References: <1205176984.13416.77.camel@mercury> Message-ID: <47D698BF.80402@sun.com> Hi Roman, This is clearly legacy code but I can see that DatagramSocket has such a property. I don't see any problem adding a property, I suppose I just question it's usefulness. If it is something that you think we really be useful then maybe you could flesh out the implementation (including ServerSocket) and a simple test. -Chris. Roman Kennke wrote: > Hi, > > I'm trying to port the network code to the JamaicaVM. It appears that > the PlainSocketImpl (or its subclass SocksSocketImpl) that is used by > default in java.net.Socket is not really feasible to use as SocketImpl, > and I would rather be able to choose different implementations for some > platforms. However, the choice of SocksSocketImpl is hardwired in the > Socket class. I propose to do something similar as in DatagramSocket and > InetAddress, and choose the implementation based on the property > impl.prefix, using a factory class. > > The exact name of the property might be different though, otherwise we > might introduce a small incompatibility, when somebody uses the > impl.prefix property (or is it used internally? that would be even > worse) then he would now also have to provide a SocketImpl for that > prefix. Maybe we should choose 'socketimpl.prefix' then? > > What do you think, is such a change feasible? It would certainly make my > life a lot easier. > > Cheers, Roman > > From alan.bateman at sun.com Tue Mar 11 08:05:02 2008 From: alan.bateman at sun.com (alan.bateman at sun.com) Date: Tue, 11 Mar 2008 15:05:02 +0000 Subject: hg: jdk7/tl/jdk: 2 new changesets Message-ID: <20080311150526.A7C1F26705@hg.openjdk.java.net> Changeset: 278e769f9123 Author: alanb Date: 2008-03-11 14:42 +0000 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/278e769f9123 6448457: (ch) Channels.newOutputStream().write() does not write all data Reviewed-by: iris, sherman ! src/share/classes/java/nio/channels/Channels.java + test/java/nio/channels/Channels/ShortWrite.java Changeset: c97ff189e490 Author: alanb Date: 2008-03-11 14:49 +0000 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/c97ff189e490 6644607: (ch) test/java/nio/channels/SocketChannel/Connect.java throws UnknownHostException Reviewed-by: chegar ! test/java/nio/channels/TestUtil.java From weijun.wang at sun.com Tue Mar 11 18:33:36 2008 From: weijun.wang at sun.com (weijun.wang at sun.com) Date: Wed, 12 Mar 2008 01:33:36 +0000 Subject: hg: jdk7/jsn/jdk: 6673164: dns_fallback parse error Message-ID: <20080312013348.5B51626816@hg.openjdk.java.net> Changeset: f6f456d2fabf Author: weijun Date: 2008-03-12 09:32 +0800 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/f6f456d2fabf 6673164: dns_fallback parse error Reviewed-by: valeriep ! src/share/classes/sun/security/krb5/Config.java + test/sun/security/krb5/DnsFallback.java From bradford.wetmore at sun.com Wed Mar 12 10:48:59 2008 From: bradford.wetmore at sun.com (bradford.wetmore at sun.com) Date: Wed, 12 Mar 2008 17:48:59 +0000 Subject: hg: jdk7/jsn/jdk: 35 new changesets Message-ID: <20080312175601.9D3D626871@hg.openjdk.java.net> Changeset: 41d9c673dd9d Author: emcmanus Date: 2008-03-03 10:32 +0100 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/41d9c673dd9d 6602310: Extensions to Query API for JMX 2.0 6604768: IN queries require their arguments to be constants Summary: New JMX query language and support for dotted attributes in queries. Reviewed-by: dfuchs ! src/share/classes/com/sun/jmx/mbeanserver/Introspector.java ! src/share/classes/javax/management/AndQueryExp.java ! src/share/classes/javax/management/AttributeValueExp.java ! src/share/classes/javax/management/BetweenQueryExp.java ! src/share/classes/javax/management/BinaryOpValueExp.java ! src/share/classes/javax/management/BinaryRelQueryExp.java ! src/share/classes/javax/management/BooleanValueExp.java ! src/share/classes/javax/management/InQueryExp.java ! src/share/classes/javax/management/MatchQueryExp.java ! src/share/classes/javax/management/NotQueryExp.java ! src/share/classes/javax/management/NumericValueExp.java ! src/share/classes/javax/management/ObjectName.java ! src/share/classes/javax/management/OrQueryExp.java ! src/share/classes/javax/management/QualifiedAttributeValueExp.java ! src/share/classes/javax/management/Query.java ! src/share/classes/javax/management/QueryEval.java ! src/share/classes/javax/management/QueryExp.java + src/share/classes/javax/management/QueryParser.java ! src/share/classes/javax/management/StringValueExp.java + src/share/classes/javax/management/ToQueryString.java ! src/share/classes/javax/management/monitor/Monitor.java + test/javax/management/query/QueryDottedAttrTest.java ! test/javax/management/query/QueryExpStringTest.java + test/javax/management/query/QueryParseTest.java Changeset: d8b6af0f01f6 Author: dfuchs Date: 2008-03-03 12:29 +0100 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/d8b6af0f01f6 6651382: The Java JVM SNMP provider reports incorrect stats when asked for multiple OIDs Summary: The JvmMemPoolEntryImpl must use the row index when caching data. Reviewed-by: jfdenise ! src/share/classes/sun/management/snmp/jvminstr/JvmMemPoolEntryImpl.java Changeset: 10256bd4afcd Author: emcmanus Date: 2008-03-03 15:28 +0100 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/10256bd4afcd 6607114: Make JMXServiceURL reconstructible in MXBeans Summary: Add @ConstructorProperties tag to JMXServiceURL Reviewed-by: dfuchs ! src/share/classes/javax/management/remote/JMXServiceURL.java Changeset: 613f2c906b9d Author: emcmanus Date: 2008-03-03 15:29 +0100 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/613f2c906b9d Merge Changeset: 302cbd0a8ace Author: emcmanus Date: 2008-03-03 15:44 +0100 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/302cbd0a8ace 6670375: Missing unit test for 6607114 (Make JMXServiceURL reconstructible) Summary: Current setup doesn't allow two pushes with same CR number Reviewed-by: dfuchs ! src/share/classes/javax/management/remote/JMXServiceURL.java + test/javax/management/mxbean/JMXServiceURLTest.java Changeset: 5aaa9902102b Author: ksrini Date: 2008-03-06 07:51 -0800 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/5aaa9902102b 6596475: (launcher) javaw should call InitCommonControls Summary: javaw does not show error window after manifest changes. Reviewed-by: darcy ! make/java/jli/Makefile ! make/java/main/java/Makefile ! make/java/main/javaw/Makefile ! src/share/bin/java.c ! src/share/bin/java.h ! src/share/bin/main.c ! src/solaris/bin/java_md.c ! src/windows/bin/java_md.c Changeset: 1be19881457e Author: martin Date: 2008-03-09 21:56 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/1be19881457e 4499288: (cs spec) Charset terminology problems Reviewed-by: mr, iris ! src/share/classes/java/nio/charset/Charset.java Changeset: b5da6145b050 Author: martin Date: 2008-03-09 21:56 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/b5da6145b050 6671834: (str) Eliminate StringCoding.java compile warnings Reviewed-by: iris ! src/share/classes/java/lang/StringCoding.java Changeset: 7fb2ca1b52c8 Author: martin Date: 2008-03-09 21:56 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/7fb2ca1b52c8 6633613: (str) StringCoding optimizations to avoid unnecessary array copies with Charset arg Reviewed-by: iris ! src/share/classes/java/lang/StringCoding.java Changeset: 1d12b16c7df9 Author: martin Date: 2008-03-10 14:32 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/1d12b16c7df9 6631966: (process) Raise Windows pipe buffer size an extra 24 bytes (win) Reviewed-by: alanb, iris ! src/windows/native/java/lang/ProcessImpl_md.c Changeset: b8fc7b5498dd Author: martin Date: 2008-03-10 14:32 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/b8fc7b5498dd 6632696: Writing to closed output files (writeBytes) leaks native memory (unix) Reviewed-by: alanb, iris ! src/share/native/java/io/io_util.c Changeset: 81f76ad22a63 Author: martin Date: 2008-03-10 14:32 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/81f76ad22a63 6631362: Nuke io_util_md.c:handleFileSizeFD (win) Reviewed-by: alanb, iris ! src/windows/native/java/io/io_util_md.c ! src/windows/native/java/io/io_util_md.h Changeset: 307a6801a8e4 Author: martin Date: 2008-03-10 14:32 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/307a6801a8e4 6631437: File{In,Out}putStream minor improvements to spec and stylistic improvements to code Reviewed-by: alanb, iris ! src/share/classes/java/io/FileInputStream.java ! src/share/classes/java/io/FileOutputStream.java Changeset: 73003d04c21f Author: martin Date: 2008-03-10 14:32 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/73003d04c21f 6631352: File{OutputStream,Writer} should implement atomic append mode using FILE_APPEND_DATA (win) Reviewed-by: alanb, iris ! make/java/java/mapfile-vers ! src/share/classes/java/io/FileOutputStream.java ! src/share/classes/sun/nio/ch/FileChannelImpl.java ! src/share/native/java/io/io_util.c ! src/solaris/native/java/io/FileOutputStream_md.c ! src/windows/native/java/io/FileOutputStream_md.c ! src/windows/native/java/io/io_util_md.c + test/java/io/FileOutputStream/AtomicAppend.java Changeset: b5a587dd5af3 Author: martin Date: 2008-03-10 14:32 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/b5a587dd5af3 4960438: (process) Need IO redirection API for subprocesses Reviewed-by: alanb, iris ! src/share/classes/java/lang/Process.java ! src/share/classes/java/lang/ProcessBuilder.java ! src/share/classes/sun/misc/JavaIOFileDescriptorAccess.java ! src/solaris/classes/java/io/FileDescriptor.java ! src/solaris/classes/java/lang/ProcessImpl.java ! src/solaris/classes/java/lang/UNIXProcess.java.linux ! src/solaris/classes/java/lang/UNIXProcess.java.solaris ! src/solaris/native/java/lang/UNIXProcess_md.c ! src/windows/classes/java/io/FileDescriptor.java ! src/windows/classes/java/lang/ProcessImpl.java ! src/windows/native/java/lang/ProcessImpl_md.c ! test/java/lang/ProcessBuilder/Basic.java Changeset: a3ae216ca35d Author: martin Date: 2008-03-10 14:32 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/a3ae216ca35d 6642034: System.getProperty("os.name") returns Windows Vista on Windows Server 2008 (longhorn) Reviewed-by: iris ! src/windows/native/java/lang/java_props_md.c Changeset: bfed8f5f6345 Author: martin Date: 2008-03-10 14:32 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/bfed8f5f6345 6671051: (process) Runtime.exec() hangs if signalled during fork/exec Reviewed-by: iris ! src/solaris/native/java/lang/UNIXProcess_md.c Changeset: 03fddaf59499 Author: martin Date: 2008-03-10 15:07 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/03fddaf59499 6600143: Remove another 450 unnecessary casts Reviewed-by: alanb, iris, lmalvent, bristor, peterjones, darcy, wetmore ! make/tools/src/build/tools/jdwpgen/CommandNode.java ! make/tools/src/build/tools/jdwpgen/ConstantSetNode.java ! make/tools/src/build/tools/jdwpgen/RepeatNode.java ! src/share/classes/com/sun/tools/example/debug/bdi/EventRequestSpec.java ! src/share/classes/com/sun/tools/example/debug/bdi/EventRequestSpecList.java ! src/share/classes/com/sun/tools/example/debug/bdi/ExecutionManager.java ! src/share/classes/com/sun/tools/example/debug/bdi/JDIEventSource.java ! src/share/classes/com/sun/tools/example/debug/bdi/LineBreakpointSpec.java ! src/share/classes/com/sun/tools/example/debug/bdi/MethodBreakpointSpec.java ! src/share/classes/com/sun/tools/example/debug/bdi/ThreadGroupIterator.java ! src/share/classes/com/sun/tools/example/debug/bdi/ThreadIterator.java ! src/share/classes/com/sun/tools/example/debug/expr/LValue.java ! src/share/classes/com/sun/tools/example/debug/gui/ClassTreeTool.java ! src/share/classes/com/sun/tools/example/debug/gui/CommandInterpreter.java ! src/share/classes/com/sun/tools/example/debug/gui/JDBFileFilter.java ! src/share/classes/com/sun/tools/example/debug/gui/LaunchTool.java ! src/share/classes/com/sun/tools/example/debug/gui/SearchPath.java ! src/share/classes/com/sun/tools/example/debug/gui/SourceManager.java ! src/share/classes/com/sun/tools/example/debug/gui/SourceModel.java ! src/share/classes/com/sun/tools/example/debug/gui/StackTraceTool.java ! src/share/classes/com/sun/tools/example/debug/gui/ThreadTreeTool.java ! src/share/classes/com/sun/tools/example/debug/tty/BreakpointSpec.java ! src/share/classes/com/sun/tools/example/debug/tty/Commands.java ! src/share/classes/com/sun/tools/example/debug/tty/Env.java ! src/share/classes/com/sun/tools/example/debug/tty/EventHandler.java ! src/share/classes/com/sun/tools/example/debug/tty/EventRequestSpec.java ! src/share/classes/com/sun/tools/example/debug/tty/EventRequestSpecList.java ! src/share/classes/com/sun/tools/example/debug/tty/SourceMapper.java ! src/share/classes/com/sun/tools/example/debug/tty/TTY.java ! src/share/classes/com/sun/tools/example/debug/tty/ThreadGroupIterator.java ! src/share/classes/com/sun/tools/example/debug/tty/ThreadInfo.java ! src/share/classes/com/sun/tools/example/debug/tty/ThreadIterator.java ! src/share/classes/com/sun/tools/example/debug/tty/VMConnection.java ! src/share/classes/com/sun/tools/hat/internal/server/ClassQuery.java ! src/share/classes/com/sun/tools/hat/internal/server/PlatformClasses.java ! src/share/classes/com/sun/tools/jdi/AbstractLauncher.java ! src/share/classes/com/sun/tools/jdi/ClassTypeImpl.java ! src/share/classes/com/sun/tools/jdi/ConcreteMethodImpl.java ! src/share/classes/com/sun/tools/jdi/EventSetImpl.java ! src/share/classes/com/sun/tools/jdi/JNITypeParser.java ! src/share/classes/com/sun/tools/jdi/MethodImpl.java ! src/share/classes/com/sun/tools/jdi/ObjectReferenceImpl.java ! src/share/classes/com/sun/tools/jdi/PacketStream.java ! src/share/classes/com/sun/tools/jdi/ReferenceTypeImpl.java ! src/share/classes/com/sun/tools/jdi/SDE.java ! src/share/classes/com/sun/tools/jdi/StackFrameImpl.java ! src/share/classes/com/sun/tools/jdi/TargetVM.java ! src/share/classes/com/sun/tools/jdi/ThreadGroupReferenceImpl.java ! src/share/classes/com/sun/tools/jdi/VirtualMachineImpl.java ! src/share/classes/com/sun/tools/jdi/VirtualMachineManagerImpl.java ! src/share/classes/java/io/ObjectInputStream.java ! src/share/classes/java/io/ObjectStreamClass.java ! src/share/classes/java/lang/Class.java ! src/share/classes/java/lang/ClassLoader.java ! src/share/classes/java/lang/Compiler.java ! src/share/classes/java/lang/Long.java ! src/share/classes/java/lang/Package.java ! src/share/classes/java/lang/ref/Finalizer.java ! src/share/classes/java/lang/reflect/AccessibleObject.java ! src/share/classes/java/lang/reflect/Modifier.java ! src/share/classes/java/lang/reflect/Proxy.java ! src/share/classes/java/net/DatagramSocket.java ! src/share/classes/java/net/ServerSocket.java ! src/share/classes/java/net/Socket.java ! src/share/classes/java/net/SocksSocketImpl.java ! src/share/classes/java/net/URLClassLoader.java ! src/share/classes/java/nio/channels/spi/SelectorProvider.java ! src/share/classes/java/rmi/activation/ActivationGroupDesc.java ! src/share/classes/java/rmi/dgc/VMID.java ! src/share/classes/java/security/cert/TrustAnchor.java ! src/share/classes/java/security/cert/X509CertSelector.java ! src/share/classes/java/util/ArrayList.java ! src/share/classes/java/util/Arrays.java ! src/share/classes/java/util/EnumMap.java ! src/share/classes/java/util/IdentityHashMap.java ! src/share/classes/java/util/JumboEnumSet.java ! src/share/classes/java/util/Random.java ! src/share/classes/java/util/TreeSet.java ! src/share/classes/java/util/prefs/AbstractPreferences.java ! src/share/classes/java/util/regex/Matcher.java ! src/share/classes/javax/rmi/ssl/SslRMIClientSocketFactory.java ! src/share/classes/javax/rmi/ssl/SslRMIServerSocketFactory.java ! src/share/classes/javax/security/auth/kerberos/KerberosTicket.java ! src/share/classes/javax/security/auth/kerberos/KeyImpl.java ! src/share/classes/sun/misc/ClassFileTransformer.java ! src/share/classes/sun/misc/Cleaner.java ! src/share/classes/sun/misc/ExtensionDependency.java ! src/share/classes/sun/misc/GC.java ! src/share/classes/sun/misc/Launcher.java ! src/share/classes/sun/misc/PerformanceLogger.java ! src/share/classes/sun/misc/ProxyGenerator.java ! src/share/classes/sun/misc/URLClassPath.java ! src/share/classes/sun/net/NetProperties.java ! src/share/classes/sun/net/NetworkClient.java ! src/share/classes/sun/net/ftp/FtpClient.java ! src/share/classes/sun/net/spi/DefaultProxySelector.java ! src/share/classes/sun/net/www/MessageHeader.java ! src/share/classes/sun/net/www/MimeTable.java ! src/share/classes/sun/net/www/http/HttpClient.java ! src/share/classes/sun/net/www/http/KeepAliveCache.java ! src/share/classes/sun/net/www/http/KeepAliveStream.java ! src/share/classes/sun/net/www/http/KeepAliveStreamCleaner.java ! src/share/classes/sun/net/www/protocol/ftp/FtpURLConnection.java ! src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java ! src/share/classes/sun/net/www/protocol/jar/URLJarFile.java ! src/share/classes/sun/nio/ch/Reflect.java ! src/share/classes/sun/nio/ch/SocketAdaptor.java ! src/share/classes/sun/nio/ch/Util.java ! src/share/classes/sun/reflect/ClassDefiner.java ! src/share/classes/sun/reflect/MethodAccessorGenerator.java ! src/share/classes/sun/reflect/ReflectionFactory.java ! src/share/classes/sun/reflect/annotation/AnnotationInvocationHandler.java ! src/share/classes/sun/reflect/misc/MethodUtil.java ! src/share/classes/sun/rmi/log/ReliableLog.java ! src/share/classes/sun/rmi/registry/RegistryImpl.java ! src/share/classes/sun/rmi/rmic/RemoteClass.java ! src/share/classes/sun/rmi/rmic/newrmic/jrmp/RemoteClass.java ! src/share/classes/sun/rmi/runtime/Log.java ! src/share/classes/sun/rmi/server/LoaderHandler.java ! src/share/classes/sun/rmi/server/MarshalInputStream.java ! src/share/classes/sun/rmi/server/MarshalOutputStream.java ! src/share/classes/sun/rmi/server/Util.java ! src/share/classes/sun/rmi/server/WeakClassHashMap.java ! src/share/classes/sun/rmi/transport/DGCClient.java ! src/share/classes/sun/rmi/transport/Target.java ! src/share/classes/sun/rmi/transport/Transport.java ! src/share/classes/sun/rmi/transport/proxy/CGIHandler.java ! src/share/classes/sun/rmi/transport/proxy/HttpSendSocket.java ! src/share/classes/sun/rmi/transport/proxy/RMIMasterSocketFactory.java ! src/share/classes/sun/rmi/transport/tcp/ConnectionMultiplexer.java ! src/share/classes/sun/security/jgss/GSSManagerImpl.java ! src/share/classes/sun/security/jgss/krb5/InitSecContextToken.java ! src/share/classes/sun/security/ssl/CipherSuite.java ! src/share/classes/sun/security/ssl/DHCrypt.java ! src/share/classes/sun/security/ssl/JsseJce.java ! src/share/classes/sun/security/ssl/ProtocolList.java ! src/share/classes/sun/security/ssl/SSLSessionImpl.java ! src/share/classes/sun/security/ssl/SessionId.java ! src/share/classes/sun/security/ssl/SunX509KeyManagerImpl.java ! src/share/classes/sun/security/x509/CertificatePolicySet.java ! src/share/classes/sun/security/x509/X509Cert.java ! src/share/classes/sun/tools/jar/JarVerifierStream.java ! src/share/classes/sun/tools/native2ascii/N2AFilter.java ! src/solaris/classes/java/util/prefs/FileSystemPreferences.java ! src/solaris/classes/sun/nio/ch/DevPollArrayWrapper.java ! src/solaris/classes/sun/security/provider/NativePRNG.java ! src/windows/classes/sun/security/mscapi/SunMSCAPI.java Changeset: 3c75107c46a4 Author: lmalvent Date: 2008-03-10 23:13 +0100 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/3c75107c46a4 4981215: Publishing a port number for management console to access Reviewed-by: emcmanus, dfuchs ! src/share/classes/sun/management/ConnectorAddressLink.java ! src/share/classes/sun/management/jmxremote/ConnectorBootstrap.java + test/sun/management/jmxremote/bootstrap/JvmstatCountersTest.java Changeset: c1a7b8f2c1bc Author: lmalvent Date: 2008-03-10 23:31 +0100 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/c1a7b8f2c1bc Merge Changeset: 7618b0596aab Author: lmalvent Date: 2008-03-10 23:51 +0100 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/7618b0596aab Merge Changeset: 32334945b32e Author: lmalvent Date: 2008-03-11 01:20 +0100 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/32334945b32e 6655515: MBeans tab: operation return values of type Component displayed as String 6439590: MBeans tab: jconsole mbean tree not correctly refreshed 6446434: MBeans tab: Not possible to view MBean content before all MBeans have been initially loaded 6520144: Hard to find MBean Attributes, Operations, and Notifications in Java 6 jconsole 6522091: VMPanel.java contains non-ASCII character 6608334: JConsole fails to display MBean operation with return type 6611445: MBeans tab: MBean tree algorithm wrongly removes intermediate nodes. Reviewed-by: dfuchs, jfdenise ! src/share/classes/sun/tools/jconsole/MBeansTab.java ! src/share/classes/sun/tools/jconsole/MemoryPoolStat.java ! src/share/classes/sun/tools/jconsole/VMPanel.java ! src/share/classes/sun/tools/jconsole/inspector/OperationEntry.java ! src/share/classes/sun/tools/jconsole/inspector/TableSorter.java ! src/share/classes/sun/tools/jconsole/inspector/ThreadDialog.java ! src/share/classes/sun/tools/jconsole/inspector/Utils.java ! src/share/classes/sun/tools/jconsole/inspector/XDataViewer.java ! src/share/classes/sun/tools/jconsole/inspector/XMBean.java ! src/share/classes/sun/tools/jconsole/inspector/XMBeanInfo.java ! src/share/classes/sun/tools/jconsole/inspector/XMBeanNotifications.java ! src/share/classes/sun/tools/jconsole/inspector/XMBeanOperations.java ! src/share/classes/sun/tools/jconsole/inspector/XObject.java ! src/share/classes/sun/tools/jconsole/inspector/XOperations.java ! src/share/classes/sun/tools/jconsole/inspector/XPlotter.java ! src/share/classes/sun/tools/jconsole/inspector/XPlottingViewer.java ! src/share/classes/sun/tools/jconsole/inspector/XSheet.java ! src/share/classes/sun/tools/jconsole/inspector/XTable.java ! src/share/classes/sun/tools/jconsole/inspector/XTextField.java ! src/share/classes/sun/tools/jconsole/inspector/XTextFieldEditor.java ! src/share/classes/sun/tools/jconsole/inspector/XTree.java Changeset: 7ddbf4c837b9 Author: martin Date: 2008-03-10 23:23 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/7ddbf4c837b9 5080227: (coll spec) Bug in documentation for WeakHashMap Reviewed-by: dholmes ! src/share/classes/java/util/Hashtable.java ! src/share/classes/java/util/WeakHashMap.java Changeset: 72b9e96ddbe9 Author: martin Date: 2008-03-10 23:23 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/72b9e96ddbe9 6595669: regtest LinkedBlockingQueue/OfferRemoveLoops.java fails Reviewed-by: dholmes ! test/java/util/concurrent/LinkedBlockingQueue/OfferRemoveLoops.java Changeset: 3654a4ce7d54 Author: martin Date: 2008-03-10 23:23 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/3654a4ce7d54 6612102: (coll) IdentityHashMap.iterator().remove() might decrement size twice Reviewed-by: dholmes ! src/share/classes/java/util/IdentityHashMap.java + test/java/util/Map/LockStep.java Changeset: 9f7046dbd9ab Author: martin Date: 2008-03-10 23:23 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/9f7046dbd9ab 6602600: Fast removal of cancelled scheduled thread pool tasks Reviewed-by: alanb Contributed-by: Doug Lea
! src/share/classes/java/util/concurrent/ScheduledThreadPoolExecutor.java + test/java/util/concurrent/ScheduledThreadPoolExecutor/BasicCancelTest.java + test/java/util/concurrent/ScheduledThreadPoolExecutor/Stress.java Changeset: 944d0faa0c50 Author: martin Date: 2008-03-10 23:23 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/944d0faa0c50 6609775: Reduce context switches in DelayQueue due to signalAll Reviewed-by: alanb Contributed-by: Doug Lea
! src/share/classes/java/util/concurrent/DelayQueue.java + test/java/util/concurrent/DelayQueue/Stress.java Changeset: ef7047a30d91 Author: martin Date: 2008-03-10 23:23 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/ef7047a30d91 6620549: ExecutorService#shutdown should clearly state that it does not block Reviewed-by: dholmes Contributed-by: Doug Lea
! src/share/classes/java/util/concurrent/ExecutorService.java ! src/share/classes/java/util/concurrent/ScheduledThreadPoolExecutor.java ! src/share/classes/java/util/concurrent/ThreadPoolExecutor.java Changeset: da49dce73a07 Author: martin Date: 2008-03-10 23:23 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/da49dce73a07 6625723: Excessive ThreadLocal storage used by ReentrantReadWriteLock Reviewed-by: dholmes Contributed-by: Doug Lea
! src/share/classes/java/util/concurrent/locks/ReentrantReadWriteLock.java ! test/java/util/concurrent/locks/ReentrantReadWriteLock/Count.java Changeset: e34975f797fc Author: martin Date: 2008-03-10 23:23 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/e34975f797fc 6633113: test/java/util/concurrent/SynchronousQueue/Fairness.java fails intermittently Reviewed-by: dholmes ! test/java/util/concurrent/SynchronousQueue/Fairness.java Changeset: f330b7834288 Author: martin Date: 2008-03-10 23:23 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/f330b7834288 6583872: (coll) Direct uninformed users away from Vector/Hashtable Reviewed-by: dholmes ! src/share/classes/java/util/Hashtable.java ! src/share/classes/java/util/Vector.java Changeset: 0487ce0465d6 Author: martin Date: 2008-03-10 23:23 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/0487ce0465d6 6625725: (coll) modCount should not be volatile Reviewed-by: dholmes ! src/share/classes/java/util/HashMap.java ! src/share/classes/java/util/IdentityHashMap.java ! src/share/classes/java/util/WeakHashMap.java Changeset: 278e769f9123 Author: alanb Date: 2008-03-11 14:42 +0000 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/278e769f9123 6448457: (ch) Channels.newOutputStream().write() does not write all data Reviewed-by: iris, sherman ! src/share/classes/java/nio/channels/Channels.java + test/java/nio/channels/Channels/ShortWrite.java Changeset: c97ff189e490 Author: alanb Date: 2008-03-11 14:49 +0000 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/c97ff189e490 6644607: (ch) test/java/nio/channels/SocketChannel/Connect.java throws UnknownHostException Reviewed-by: chegar ! test/java/nio/channels/TestUtil.java Changeset: a43ebfd8915a Author: wetmore Date: 2008-03-11 23:37 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/a43ebfd8915a Merge ! src/share/classes/java/net/Socket.java ! src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java From bradford.wetmore at sun.com Wed Mar 12 11:01:55 2008 From: bradford.wetmore at sun.com (bradford.wetmore at sun.com) Date: Wed, 12 Mar 2008 18:01:55 +0000 Subject: hg: jdk7/jsn/langtools: 8 new changesets Message-ID: <20080312180208.10CB626876@hg.openjdk.java.net> Changeset: 3c2d13c42e0a Author: mcimadamore Date: 2008-03-03 16:03 +0000 URL: http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/3c2d13c42e0a 6614974: javac successfully compiles code that throws java.lang.VerifyError when run Summary: synthetic cast missing when translating autoboxing expressions Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Lower.java + test/tools/javac/boxing/T6614974.java Changeset: b45f8d4794b7 Author: mcimadamore Date: 2008-03-04 12:14 +0000 URL: http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/b45f8d4794b7 6611449: Internal Error thrown during generic method/constructor invocation Summary: type-inference should fail since lub is not defined for primitive types Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/code/Types.java ! src/share/classes/com/sun/tools/javac/comp/Infer.java + test/tools/javac/generics/inference/6611449/T6611449.java + test/tools/javac/generics/inference/6611449/T6611449.out Changeset: 40813968849e Author: mcimadamore Date: 2008-03-04 13:00 +0000 URL: http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/40813968849e 6660289: declared bound in inner class referring a type variable of the outer class Summary: NPE caused by a defect in type-variable attribution Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Attr.java + test/tools/javac/generics/T6660289.java Changeset: d472e2fbcc39 Author: mcimadamore Date: 2008-03-04 15:19 +0000 URL: http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/d472e2fbcc39 6608214: Exception throw while analysing a file with error Summary: bad error-recovery after bad type-variable bound is detected Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Attr.java + test/tools/javac/api/6608214/T6608214.java Changeset: 38bd6375f37d Author: mcimadamore Date: 2008-03-04 15:45 +0000 URL: http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/38bd6375f37d 6663588: Compiler goes into infinite loop for Cyclic Inheritance test case Summary: interplay between cyclic inheritance and tvar bounds hangs javac Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java + test/tools/javac/T6663588.java Changeset: f09d6a3521b1 Author: jjg Date: 2008-03-06 10:07 -0800 URL: http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/f09d6a3521b1 4741726: allow Object += String Summary: remove code in line with restriction removed from JLS Reviewed-by: mcimadamore Contributed-by: michaelbailey0 at gmail.com ! src/share/classes/com/sun/tools/javac/comp/Attr.java + test/tools/javac/StringConversion2.java - test/tools/javac/expression/ObjectAppend.java Changeset: 508c01999047 Author: jjg Date: 2008-03-06 10:25 -0800 URL: http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/508c01999047 6668802: javac handles diagnostics for last line badly, if line not terminated by newline Summary: use CharBuffer.limit(), not the length of the backing array Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/javac/util/Log.java + test/tools/javac/T6668802.java Changeset: b66d15dfd001 Author: jjg Date: 2008-03-11 13:14 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/b66d15dfd001 6307187: clean up code for -Xlint:options Summary: introduce common code for handling one-of and any-of options Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/javac/code/Lint.java ! src/share/classes/com/sun/tools/javac/main/JavacOption.java ! src/share/classes/com/sun/tools/javac/main/OptionName.java ! src/share/classes/com/sun/tools/javac/main/RecognizedOptions.java ! test/tools/javac/6341866/T6341866.java From Bradford.Wetmore at Sun.COM Wed Mar 12 11:35:15 2008 From: Bradford.Wetmore at Sun.COM (Brad Wetmore) Date: Wed, 12 Mar 2008 11:35:15 -0700 Subject: Introductory JSN Gate information Message-ID: <47D82263.9050209@sun.com> (This is old hat to those developers who integrate into the JSN (Java Security and Networking) gate, but for those who aren't familiar with the gate, here's the quick intro. Those who know the process need not read further.) Hello again from your JSN gatekeeper, Executive Summary: ================== JSN is a "child" repository of TL, which is a "child" of the MASTER. Details: ======== You probably noticed a number of change sets went into the JSN gate, but you may be wondering where those change sets came from since they weren't from the MASTER. A couple of years ago, the JSN gate was a direct child of the MASTER gate, with our own separate integration slot in the morning. Our sister gate, TL (Tools and Libraries), had the following slot in the afternoon. TL generally started their pull/build/test cycle as soon as I finished my push. Unfortunately, we occasionally had incompatible changes between the JSN and TL gates. If we were lucky, there would be obvious compilation errors, but the ones that compiled and then failed basic sanity testing were incredibly frustrating to discover. It puts the whole integration at risk, to say nothing of the collective blood pressure of the gatekeepers and developers involved. After a couple of these in a row, the TL gatekeeper and I decided to have the JSN gate become a "child" of the TL gate so that our changes can be tested together long before it goes to the MASTER. That is, instead of syncing directly to the MASTER, JSN now syncs to the TL gate. That way I can do my own sanity testing of the merged JSN/TL gates before anything ever hits TL. It's worked quite well, so we are continuing this process for the foreseeable future. So, the JSN gate is currently up to date with TL gate. At some point in the near future, I'll be pushing the JSN changes to the TL gate. I usually do this before the TL integration slot, so our latest JSN changesets will appear in the MASTER during the TL slot. As a last point of info, if you're curious about the gatekeeping process overall, please see: http://blogs.sun.com/wetmore/entry/you_re_a_gatekeeper_uh The JSN/TL arrangement isn't mentioned there. Hope this helps. Brad From Bradford.Wetmore at Sun.COM Fri Mar 14 15:25:04 2008 From: Bradford.Wetmore at Sun.COM (Brad Wetmore) Date: Fri, 14 Mar 2008 15:25:04 -0700 Subject: First JSN codefreeze is next Monday at noon. Message-ID: <47DAFB40.2020908@sun.com> As per: http://openjdk.java.net/projects/jdk7/builds/ Our first mercurial integration for b25 into the MASTER is next Friday, so in order to get our PreIntegration Testing (PIT) done in time, our JSN codefreeze will be Monday at noon (Pacific time), so we can get the JSN changes into the TL gate by midnight. The usual rules apply. Brad From Jean-Christophe.Collet at Sun.COM Mon Mar 17 08:05:32 2008 From: Jean-Christophe.Collet at Sun.COM (Jean-Christophe Collet) Date: Mon, 17 Mar 2008 16:05:32 +0100 Subject: HttpCookie, InMemoryCookieStore and domain matching Message-ID: <47DE88BC.4080406@sun.com> I filed CR 6644726 (Cookie management issues) after discovering a few inconsistencies between the way J2SE handles cookies and the 'real world'. I also have been working on a fix for that. I thought all these issues were bugs, but one turned out to be a more complicated. It's actually the first one mentioned in the CR: the way domains are matched. In short, the actual code will not send cookies from the 'foo.com' domain to the 'xxx.yyy.foo.com' site. Which breaks a few sites, like Yahoo. I initially thought that HttpCookie.domainMatches() was the culprit, but I discovered that it actually follows RFC 2965 sec. 3.3.2 to the letter as specified in the Javadoc. So I don't think changing that code is the answer. However, it should be noted that, in theory, that domain matching should only used for RFC 2965 conform cookies. 'Old' cookies, as in the netscape draft should behave differently. After more research and consideration I would suggest to change our implementation of CookieStore (sun.net.www.protocol.http.InMemoryCookieStore) to take the cookie version (as returned by HttpCookie.getVersion) when doing the domain matching. In the case of a RFC 2965 cookie (version == 1) we would still use HttpCookie.domainMatches(), in the case of a 'Netscape' cookie (version == 0), we would use a slightly different comparison to allow for the aforementioned situation. I will produce proposed code changes soon, but I'd like to hear any thoughts on that subject. From bradford.wetmore at sun.com Mon Mar 17 11:57:18 2008 From: bradford.wetmore at sun.com (bradford.wetmore at sun.com) Date: Mon, 17 Mar 2008 18:57:18 +0000 Subject: hg: jdk7/jsn/jdk: 2 new changesets Message-ID: <20080317185742.1F9C526DB8@hg.openjdk.java.net> Changeset: f6905d8eee6e Author: wetmore Date: 2008-03-06 16:06 -0800 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/f6905d8eee6e 6578538: com.sun.crypto.provider.SunJCE instance leak using KRB5 and LoginContext Reviewed-by: valeriep ! src/share/classes/com/sun/crypto/provider/PBKDF2KeyImpl.java + test/com/sun/crypto/provider/KeyFactory/TestProviderLeak.java Changeset: 1cb78400acce Author: wetmore Date: 2008-03-17 11:53 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/1cb78400acce Merge From bradford.wetmore at sun.com Mon Mar 17 19:03:41 2008 From: bradford.wetmore at sun.com (bradford.wetmore at sun.com) Date: Tue, 18 Mar 2008 02:03:41 +0000 Subject: hg: jdk7/jsn/jdk: 4 new changesets Message-ID: <20080318020429.9073826DC2@hg.openjdk.java.net> Changeset: 7b28e857d36c Author: alanb Date: 2008-03-13 19:29 +0000 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/7b28e857d36c 6628575: (fc) lock/tryLock methods do not work with NFS servers that limit lock range to max file size Reviewed-by: sherman ! src/solaris/native/sun/nio/ch/FileChannelImpl.c Changeset: c73cb47fe250 Author: alanb Date: 2008-03-13 19:34 +0000 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/c73cb47fe250 6546113: (bf) CharSequence.slice() on wrapped CharSequence doesn't start at buffer position Reviewed-by: iris Contributed-by: roman.kennke at aicas.com ! src/share/classes/java/nio/StringCharBuffer.java ! test/java/nio/Buffer/StringCharBufferSliceTest.java Changeset: 547c14448b74 Author: sherman Date: 2008-03-14 14:21 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/547c14448b74 6514993: (prefs)prefs should use java.util.ServiceLoader to lookup service providers Reviewed-by: iris Contributed-by: xueming.shen at sun.com ! src/share/classes/java/util/prefs/Preferences.java Changeset: 0f030deba7df Author: wetmore Date: 2008-03-17 12:27 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/0f030deba7df Merge From bradford.wetmore at sun.com Mon Mar 17 19:04:58 2008 From: bradford.wetmore at sun.com (bradford.wetmore at sun.com) Date: Tue, 18 Mar 2008 02:04:58 +0000 Subject: hg: jdk7/jsn/langtools: 3 new changesets Message-ID: <20080318020503.673AD26DC7@hg.openjdk.java.net> Changeset: 7366066839bb Author: jjg Date: 2008-03-12 13:06 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/7366066839bb 6668794: javac puts localized text in raw diagnostics 6668796: bad diagnostic "bad class file" given for source files Summary: Replace internal use of localized text with JCDiagnostic fragments; fix diagnostic for bad source file Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/javac/code/Symbol.java ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java ! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java ! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties + test/tools/javac/6668794/badClass/A.java + test/tools/javac/6668794/badClass/B.java + test/tools/javac/6668794/badClass/Test.java + test/tools/javac/6668794/badSource/Test.java + test/tools/javac/6668794/badSource/Test.out + test/tools/javac/6668794/badSource/p/A.java Changeset: 6beca695cfae Author: jjg Date: 2008-03-13 13:42 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/6beca695cfae 6559315: Inconsistent non-standard Sun copyright in src/share/opensource/javac/doc/document.css Summary: Remove obsolete files Reviewed-by: mcimadamore - src/share/opensource/javac/Makefile - src/share/opensource/javac/README-template.html - src/share/opensource/javac/build.properties - src/share/opensource/javac/build.xml - src/share/opensource/javac/doc/document.css - src/share/opensource/javac/doc/javac_lifecycle/Context.html - src/share/opensource/javac/doc/javac_lifecycle/Enter.html - src/share/opensource/javac/doc/javac_lifecycle/JavaCompiler.html - src/share/opensource/javac/doc/javac_lifecycle/Main.html - src/share/opensource/javac/doc/javac_lifecycle/ToDo.html - src/share/opensource/javac/doc/javac_lifecycle/contents.html - src/share/opensource/javac/doc/javac_lifecycle/index.html - src/share/opensource/javac/doc/javac_lifecycle/packages.html - src/share/opensource/javac/doc/javac_lifecycle/style.css - src/share/opensource/javac/nbproject/project.xml - src/share/opensource/javac/src/bin/javac.sh Changeset: 58039502942e Author: jjg Date: 2008-03-14 16:09 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/58039502942e 6638501: Regression with Javac in JDK6 U4 b03? Summary: replace some String paths with File paths in Paths.java Reviewed-by: ksrini ! src/share/classes/com/sun/tools/javac/util/Paths.java + test/tools/javac/Paths/6638501/HelloLib/test/HelloImpl.java + test/tools/javac/Paths/6638501/JarFromManifestFailure.java + test/tools/javac/Paths/6638501/WsCompileExample.java + test/tools/javac/Paths/6638501/test/SayHello.java + test/tools/javac/Paths/6638501/test1/SayHelloToo.java From roman.kennke at aicas.com Wed Mar 19 08:11:28 2008 From: roman.kennke at aicas.com (Roman Kennke) Date: Wed, 19 Mar 2008 16:11:28 +0100 Subject: [PATCH] DefaultSocketImplFactory In-Reply-To: <47D698BF.80402@sun.com> References: <1205176984.13416.77.camel@mercury> <47D698BF.80402@sun.com> Message-ID: <1205939488.9736.132.camel@mercury> Hi Chris, > This is clearly legacy code but I can see that DatagramSocket has such a > property. I don't see any problem adding a property, I suppose I just > question it's usefulness. If it is something that you think we really be > useful then maybe you could flesh out the implementation (including > ServerSocket) and a simple test. I will reconsider this. Maybe I can fit our socket impls on the native interface of Plain[Datagram]SocketImpl somehow, in which case this patch would not be needed. If I really need a mechanism like the property proposed, then I'll come back with a full patch+test. Thanks, /Roman -- Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org aicas Allerton Interworks Computer Automated Systems GmbH Haid-und-Neu-Stra?e 18 * D-76131 Karlsruhe * Germany http://www.aicas.com * Tel: +49-721-663 968-0 USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe Gesch?ftsf?hrer: Dr. James J. Hunt From roman.kennke at aicas.com Wed Mar 19 08:29:55 2008 From: roman.kennke at aicas.com (Roman Kennke) Date: Wed, 19 Mar 2008 16:29:55 +0100 Subject: SocketImpl.create() Message-ID: <1205940595.9736.138.camel@mercury> I am confused how this method is supposed to work. It has a boolean parameter that is documented to be used to distinguish between datagram and stream sockets. However, it is only used by Socket and ServerSocket, so I guess it must always be a stream socket? But it gets worse. The PlainSocketImpl.create() calls socketCreate() with that parameter, where it is documented to be used to distinguish between server and client socket (is there a difference??). Looking into the native code for that thought, this method calls JVM_Socket() with that parameter to distinguish between datagram and stream sockets. Something does not fit here... Is this parameter used at all? Cheers, /Roman -- Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org aicas Allerton Interworks Computer Automated Systems GmbH Haid-und-Neu-Stra?e 18 * D-76131 Karlsruhe * Germany http://www.aicas.com * Tel: +49-721-663 968-0 USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe Gesch?ftsf?hrer: Dr. James J. Hunt From weijun.wang at sun.com Wed Mar 19 20:58:35 2008 From: weijun.wang at sun.com (weijun.wang at sun.com) Date: Thu, 20 Mar 2008 03:58:35 +0000 Subject: hg: jdk7/jsn/jdk: 6670362: HTTP/SPNEGO should work across realms Message-ID: <20080320035847.19F0826EEC@hg.openjdk.java.net> Changeset: a8d6215fa863 Author: weijun Date: 2008-03-20 11:57 +0800 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/a8d6215fa863 6670362: HTTP/SPNEGO should work across realms Reviewed-by: valeriep ! src/share/classes/sun/net/www/protocol/http/NegotiatorImpl.java From Weijun.Wang at Sun.COM Thu Mar 20 01:37:47 2008 From: Weijun.Wang at Sun.COM (Weijun Max Wang) Date: Thu, 20 Mar 2008 16:37:47 +0800 Subject: [security-dev 00119]: hg: jdk7/jsn/jdk: 6670362: HTTP/SPNEGO should work across realms In-Reply-To: References: <20080320035847.19F0826EEC@hg.openjdk.java.net> Message-ID: <47E2225B.2040304@sun.com> Hi Asaf Thanks for watching the list. :) Basically I want to encode "HTTP on host.server.com" into a service principal like "HTTP/host.server.com at SERVER.COM". By changing the nameType to GSSName.NT_HOSTBASED_SERVICE, it means the underlying Kerberos principal should be of the NT-SRV-HST type. According to the RFC 1964[1], its form should be service at hostname. Without this change, "HTTP/host.server.com" has no type info. If you're accessing the service from a machine on the CLIENT.COM realm, the service principal is encoded into "HTTP/host.server.COM at CLIENT.COM" only. With this change, Java will try to find out the realm this service actually belongs to and create the correct principal name. One way to provide this info is to add these lines into your krb5.conf: [domain_realm] .client.com = CLIENT.COM .server.com = SERVER.COM Thanks Max [1] http://tools.ietf.org/html/rfc1964#section-2.1.2 Asaf Mesika wrote: > I'm sorry, but I don't understand why you've changed the / to @ in the > principal name ? > And how should this help being cross realmed? > > On Thu, Mar 20, 2008 at 5:58 AM, > wrote: > > Changeset: a8d6215fa863 > Author: weijun > Date: 2008-03-20 11:57 +0800 > URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/a8d6215fa863 > > 6670362: HTTP/SPNEGO should work across realms > Reviewed-by: valeriep > > ! src/share/classes/sun/net/www/protocol/http/NegotiatorImpl.java > > From Jean-Christophe.Collet at Sun.COM Thu Mar 20 08:29:13 2008 From: Jean-Christophe.Collet at Sun.COM (Jean-Christophe Collet) Date: Thu, 20 Mar 2008 16:29:13 +0100 Subject: SocketImpl.create() In-Reply-To: <1205940595.9736.138.camel@mercury> References: <1205940595.9736.138.camel@mercury> Message-ID: <47E282C9.6030804@sun.com> Roman Kennke wrote: > I am confused how this method is supposed to work. It has a boolean > parameter that is documented to be used to distinguish between datagram > and stream sockets. However, it is only used by Socket and ServerSocket, > so I guess it must always be a stream socket? But it gets worse. The > PlainSocketImpl.create() calls socketCreate() with that parameter, where > it is documented to be used to distinguish between server and client > socket (is there a difference??). Looking into the native code for that > thought, this method calls JVM_Socket() with that parameter to > distinguish between datagram and stream sockets. Something does not fit > here... Is this parameter used at all? > > Cheers, > /Roman > That parameter is a left over of a very early version of the Socket/SocketImpl API. It is now obsolete mostly and was left for backward compatibility reasons. In, short, no, it's not used anymore since all SocketImpls are now TCP based. From bradford.wetmore at sun.com Fri Mar 28 22:13:50 2008 From: bradford.wetmore at sun.com (bradford.wetmore at sun.com) Date: Sat, 29 Mar 2008 05:13:50 +0000 Subject: hg: jdk7/jsn: 4 new changesets Message-ID: <20080329051351.0200E27350@hg.openjdk.java.net> Changeset: be0ea51b2743 Author: ohair Date: 2008-03-05 18:56 -0800 URL: http://hg.openjdk.java.net/jdk7/jsn/rev/be0ea51b2743 6662830: OpenJDK build testing results Summary: Small corrections in the README. Reviewed-by: xdono ! README-builds.html Changeset: d83470fdf495 Author: ohair Date: 2008-03-09 13:11 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/rev/d83470fdf495 6649270: Change by-default openjdk building in control/make/makefile to use open source tree Summary: Change build rules to allow for openjdk builds by default when building the closed or production build. Reviewed-by: xdono ! Makefile ! make/Defs-internal.gmk Changeset: d6b08bdb9a54 Author: ohair Date: 2008-03-09 15:47 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/rev/d6b08bdb9a54 6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter Summary: Cleanup of OUTPUTDIR handling Reviewed-by: xdono ! Makefile Changeset: f769c64f71ac Author: ohair Date: 2008-03-13 16:12 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/rev/f769c64f71ac 6675289: Make default production build NOT include an openjdk build Summary: SKIP_OPENJDK_BUILD now set to true. Reviewed-by: xdono ! make/Defs-internal.gmk From bradford.wetmore at sun.com Fri Mar 28 22:14:13 2008 From: bradford.wetmore at sun.com (bradford.wetmore at sun.com) Date: Sat, 29 Mar 2008 05:14:13 +0000 Subject: hg: jdk7/jsn/corba: 6624808: corba makefiles not using langtools compiler Message-ID: <20080329051414.A3CC427355@hg.openjdk.java.net> Changeset: a51017b6ba6d Author: ohair Date: 2008-03-06 13:56 -0800 URL: http://hg.openjdk.java.net/jdk7/jsn/corba/rev/a51017b6ba6d 6624808: corba makefiles not using langtools compiler Summary: If supplied, the langtools javac should be used. Reviewed-by: xdono ! make/common/shared/Defs.gmk From bradford.wetmore at sun.com Fri Mar 28 22:15:22 2008 From: bradford.wetmore at sun.com (bradford.wetmore at sun.com) Date: Sat, 29 Mar 2008 05:15:22 +0000 Subject: hg: jdk7/jsn/jaxp: 6652588: Fix broken JPRT makefile target, no bundle saved Message-ID: <20080329051524.CF4F92735C@hg.openjdk.java.net> Changeset: a3b3ba7d6034 Author: ohair Date: 2008-03-04 10:58 -0800 URL: http://hg.openjdk.java.net/jdk7/jsn/jaxp/rev/a3b3ba7d6034 6652588: Fix broken JPRT makefile target, no bundle saved Summary: jprt make rules missing the bundle up of the output Reviewed-by: xdono ! make/Makefile From bradford.wetmore at sun.com Fri Mar 28 22:15:47 2008 From: bradford.wetmore at sun.com (bradford.wetmore at sun.com) Date: Sat, 29 Mar 2008 05:15:47 +0000 Subject: hg: jdk7/jsn/jaxws: 6652588: Fix broken JPRT makefile target, no bundle saved Message-ID: <20080329051549.F029B27361@hg.openjdk.java.net> Changeset: 59fd8224ba2d Author: ohair Date: 2008-03-04 10:58 -0800 URL: http://hg.openjdk.java.net/jdk7/jsn/jaxws/rev/59fd8224ba2d 6652588: Fix broken JPRT makefile target, no bundle saved Summary: jprt make rules were missing the bundle logic Reviewed-by: xdono ! make/Makefile From bradford.wetmore at sun.com Fri Mar 28 22:16:55 2008 From: bradford.wetmore at sun.com (bradford.wetmore at sun.com) Date: Sat, 29 Mar 2008 05:16:55 +0000 Subject: hg: jdk7/jsn/jdk: 67 new changesets Message-ID: <20080329053037.0C03827366@hg.openjdk.java.net> Changeset: 0d4923ce2707 Author: emcmanus Date: 2008-03-19 15:17 +0100 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/0d4923ce2707 6675768: NoSuchElementException thrown in RequiredModelMBean when tracing enabled Summary: Rewrite logging in RequiredModelMBean.addAttributeChangeNotificationListener Reviewed-by: dfuchs ! src/share/classes/javax/management/modelmbean/RequiredModelMBean.java + test/javax/management/modelmbean/LoggingExceptionTest.java Changeset: f5853d8dab12 Author: mchung Date: 2008-03-18 11:53 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/f5853d8dab12 6658779: Regression: HotspotDiagnosticMXBean.getDiagnosticOptions() throws NullPointerException Summary: Add a null check for the VM option string Reviewed-by: alanb, tbell ! src/share/classes/sun/management/Flag.java + test/com/sun/management/HotSpotDiagnosticMXBean/GetDiagnosticOptions.java Changeset: b413d5d6cedc Author: mchung Date: 2008-03-18 12:53 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/b413d5d6cedc 6672804: First line in com/sun/management/package.html is broken Summary: Fixed the typo in package.html Reviewed-by: jjh ! src/share/classes/com/sun/management/package.html Changeset: 3e2a5ab9c131 Author: mchung Date: 2008-03-19 11:13 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/3e2a5ab9c131 Merge Changeset: 9a97ca4eb8b7 Author: emcmanus Date: 2008-03-21 09:49 +0100 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/9a97ca4eb8b7 6649542: Document explicitly in registerMBean etc that MBeanServerNotification is emitted Summary: Make spec more readable by adding cross-references. Suggested by Andrew Haley. Reviewed-by: dfuchs ! src/share/classes/javax/management/MBeanServer.java Changeset: 01f7eeea81f1 Author: emcmanus Date: 2008-03-21 18:07 +0100 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/01f7eeea81f1 6643627: JMX source code includes incorrect Java code Summary: javac compiler bug accepts incorrect code; JMX code inadvertently has such code Reviewed-by: dfuchs ! src/share/classes/com/sun/jmx/mbeanserver/OpenConverter.java ! src/share/classes/java/beans/MetaData.java Changeset: e4f19efd20b4 Author: ohair Date: 2008-03-04 09:47 -0800 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/e4f19efd20b4 6654456: OpenJDK build problem with freetype makefiles Summary: ifdef test on OPENJDK before it gets set based on source tree contents Reviewed-by: xdono ! make/common/shared/Platform.gmk Changeset: 80486f9d9221 Author: ohair Date: 2008-03-04 09:49 -0800 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/80486f9d9221 6637583: Build failure on latest Solaris, source missing include of resource.h? Summary: The include of sys/resource.h must be explicit Reviewed-by: xdono ! src/solaris/hpi/native_threads/src/sys_api_td.c Changeset: 929222887724 Author: ohair Date: 2008-03-04 09:50 -0800 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/929222887724 6638571: Fix freetype sanity check to work on solaris 64bit Summary: Missing -xarch options to build for 64bit Reviewed-by: xdono ! make/tools/freetypecheck/Makefile Changeset: 12b0d64c4953 Author: ohair Date: 2008-03-04 09:51 -0800 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/12b0d64c4953 6638060: Build failed with GNU make 3.81 (part of latest Solaris 'gmake') Summary: Changes to the way GNU make 3.81 deals with the env variable SHELL Reviewed-by: xdono ! make/java/nio/Makefile ! make/java/nio/genCharsetProvider.sh ! make/java/nio/genExceptions.sh Changeset: 82c85cfd8402 Author: ohair Date: 2008-03-04 09:52 -0800 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/82c85cfd8402 6668781: Openjdk windows cygwin build failure: no rule to make linker_md.obj target Summary: Use of GNU make vpath breaks on windows with C:/ style fullpaths Reviewed-by: xdono ! make/common/Defs-linux.gmk ! make/common/Defs-solaris.gmk ! make/common/Defs-windows.gmk ! make/common/Defs.gmk Changeset: 65c8fd93d01c Author: ohair Date: 2008-03-06 11:37 -0800 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/65c8fd93d01c 6628146: Exclude the .hgignore and .hgtags files from the source bundles Summary: Just add to list of SCM files. Reviewed-by: xdono ! make/common/shared/Platform.gmk Changeset: 48d06b4c6460 Author: ohair Date: 2008-03-09 14:16 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/48d06b4c6460 6672777: Broken deploy build from jdk fix 6668781 for cygwin windows Summary: deploy workspace does not set BUILDDIR, uses it, assumes it is jdk/make. Reviewed-by: xdono ! make/common/Defs.gmk Changeset: 8ef9fd5c28fd Author: ohair Date: 2008-03-10 16:51 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/8ef9fd5c28fd 6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter Summary: OUTPUTDIR changes to make sure absolute path is correct. Reviewed-by: xdono ! make/common/Defs.gmk ! make/common/shared/Defs-control.gmk ! make/common/shared/Defs.gmk Changeset: dd6765f87558 Author: tbell Date: 2008-03-17 22:56 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/dd6765f87558 Merge Changeset: 9ae056d2cffd Author: tbell Date: 2008-03-17 23:03 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/9ae056d2cffd Merge Changeset: e0d783c556fc Author: son Date: 2008-03-13 15:36 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/e0d783c556fc 6595651: Focus transfers broken for applications embedding AWT across processes Summary: Now we allow cross-process focus requests if focus is in embedder's process. Reviewed-by: ant ! src/windows/native/sun/windows/awt_Component.cpp ! src/windows/native/sun/windows/awt_Frame.cpp ! src/windows/native/sun/windows/awt_Toolkit.cpp ! src/windows/native/sun/windows/awt_Toolkit.h Changeset: 367edeff526e Author: son Date: 2008-03-13 16:12 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/367edeff526e 6616095: AWT's WindowDisposerRecord keeps AppContext alive too long Summary: WindowDisposerRecord should not keep strong reference to AppContext. Reviewed-by: art ! src/share/classes/java/awt/Window.java Changeset: e4e71142754b Author: son Date: 2008-03-13 16:19 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/e4e71142754b 6632140: minor refactoring for XWM Summary: code cleanup and generificaion for XWM Reviewed-by: anthony ! src/solaris/classes/sun/awt/X11/XFramePeer.java ! src/solaris/classes/sun/awt/X11/XNETProtocol.java ! src/solaris/classes/sun/awt/X11/XToolkit.java ! src/solaris/classes/sun/awt/X11/XWM.java Changeset: dc7dfc7d15ba Author: son Date: 2008-03-13 16:27 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/dc7dfc7d15ba 6592751: EmbeddedFrame disposal is fragile and breaks clean AppContext termination Summary: AppContext.dispose() should be ready to get exceptions during disposal of toplevels. Also now we mark windows peers as destroyed when native object has been destroyed. Reviewed-by: art ! src/share/classes/sun/awt/AppContext.java ! src/windows/classes/sun/awt/windows/WObjectPeer.java ! src/windows/native/sun/windows/awt.h ! src/windows/native/sun/windows/awt_Component.cpp ! src/windows/native/sun/windows/awt_Object.cpp ! src/windows/native/sun/windows/awt_Object.h Changeset: 619d2d592b88 Author: son Date: 2008-03-13 16:32 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/619d2d592b88 6603256: Startup: Defer initialization of DropTarget's flavorMap Summary: SystemFlavorMap is lazily initialized now. Reviewed-by: uta ! src/share/classes/java/awt/datatransfer/SystemFlavorMap.java ! src/share/classes/java/awt/dnd/DropTarget.java Changeset: f3377ab93ee8 Author: son Date: 2008-03-13 16:42 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/f3377ab93ee8 6607163: Linux: Cannot copy image from Java to OpenOffice Summary: TARGETS should have type ATOM Reviewed-by: denis ! src/solaris/classes/sun/awt/X11/XSelection.java Changeset: bbd8e20d5052 Author: son Date: 2008-03-13 16:47 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/bbd8e20d5052 6636369: sun.awt.datatransfer.DataTransferer contains double-check idiom Summary: double-check has been removed Reviewed-by: dav ! src/share/classes/sun/awt/datatransfer/DataTransferer.java Changeset: c9ee9428aea9 Author: son Date: 2008-03-13 16:51 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/c9ee9428aea9 6636331: ConcurrentModificationException in AppContext code Summary: Added synchronization to AppContext.getAppContexts() Reviewed-by: art ! src/share/classes/sun/awt/AppContext.java Changeset: 86a5780cad99 Author: son Date: 2008-03-13 16:54 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/86a5780cad99 6636370: minor corrections and simplification of code in AppContext Summary: mainAppContext, isDisposed, and numAppContexts has beem made volatile. mostRecentThreadAppContext has been rewritten using ThreadLocal. Reviewed-by: art ! src/share/classes/sun/awt/AppContext.java Changeset: 026144f0d26a Author: son Date: 2008-03-13 16:56 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/026144f0d26a 6636368: XAtom contains unused code Summary: unused code has been removed Reviewed-by: dcherepanov ! src/solaris/classes/sun/awt/X11/XAtom.java Changeset: 63f02cc8ff3d Author: son Date: 2008-03-13 17:04 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/63f02cc8ff3d 6645885: small refactoring for XContentWindow Summary: move createContent() method from XDecoratedPeer to XContentWindow, so only XContentWindow keep information about the way we position it. Reviewed-by: anthony ! src/solaris/classes/sun/awt/X11/XContentWindow.java ! src/solaris/classes/sun/awt/X11/XDecoratedPeer.java Changeset: d9fb87af8b07 Author: son Date: 2008-03-13 17:08 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/d9fb87af8b07 6645856: static field XWindowPeer.defaultFont hides XWindow.defaultFont Summary: unnedded code has been removed. Added getter for XWindow.defaultFont to initialize it lazily. Reviewed-by: dav ! src/solaris/classes/sun/awt/X11/XComponentPeer.java ! src/solaris/classes/sun/awt/X11/XMenuItemPeer.java ! src/solaris/classes/sun/awt/X11/XPopupMenuPeer.java ! src/solaris/classes/sun/awt/X11/XTrayIconPeer.java ! src/solaris/classes/sun/awt/X11/XWindow.java ! src/solaris/classes/sun/awt/X11/XWindowPeer.java Changeset: 176e1fe7dead Author: son Date: 2008-03-13 17:14 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/176e1fe7dead 6538066: XSelection should be more passive Summary: Now only XClipboard know about XSelection, and XSelection knows nothing about XClipboard. Reviewed-by: uta, denis ! src/solaris/classes/sun/awt/X11/MotifDnDConstants.java ! src/solaris/classes/sun/awt/X11/MotifDnDDropTargetProtocol.java + src/solaris/classes/sun/awt/X11/OwnershipListener.java ! src/solaris/classes/sun/awt/X11/XClipboard.java ! src/solaris/classes/sun/awt/X11/XDnDConstants.java ! src/solaris/classes/sun/awt/X11/XSelection.java Changeset: fa0dc97ef9a0 Author: dcherepanov Date: 2008-03-14 17:23 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/fa0dc97ef9a0 6522731: Location of the frame changes,when the frame is resized & non-resized. Summary: XMoveWindow() should use shell's location Reviewed-by: son ! src/solaris/classes/sun/awt/X11/XDecoratedPeer.java Changeset: 296b6e29a99d Author: dcherepanov Date: 2008-03-14 18:27 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/296b6e29a99d 6612497: api/java_awt/Container/index.html#isAncestorOf Container2019 hangs since JDK 7 b15 Summary: Partial rollback changes for 6567564 in the Component.getGC method Reviewed-by: art, son ! src/share/classes/java/awt/Component.java Changeset: 5ac897d182a6 Author: dcherepanov Date: 2008-03-14 18:50 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/5ac897d182a6 6603010: Out-of-process Java Plug-In non-functional or barely functional on X11 platforms Summary: AWT XEmbed shouldn't use _SUN_XEMBED_START message Reviewed-by: art, son ! src/solaris/classes/sun/awt/X11/XEmbedCanvasPeer.java ! src/solaris/classes/sun/awt/X11/XEmbedClientHelper.java ! src/solaris/classes/sun/awt/X11/XEmbedHelper.java ! src/solaris/classes/sun/awt/X11/XEmbedServerTester.java Changeset: 92e3f57c933b Author: dcherepanov Date: 2008-03-14 20:40 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/92e3f57c933b 6524352: support for high-resolution mouse wheel Summary: added support for high-resolution mouse wheel Reviewed-by: dav, son ! src/share/classes/java/awt/Component.java ! src/share/classes/java/awt/Container.java ! src/share/classes/java/awt/event/MouseWheelEvent.java ! src/windows/native/sun/windows/awt_Component.cpp ! src/windows/native/sun/windows/awt_Component.h + test/java/awt/event/MouseEvent/SmoothWheel/SmoothWheel.java Changeset: 15ba7093f8e6 Author: dcherepanov Date: 2008-03-14 22:00 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/15ba7093f8e6 6578583: Regression: Modality is broken in windows vista home premium from jdk1.7 b02 onwards. Summary: WS_DISABLED style should be used to fix some modality bugs Reviewed-by: art, son ! src/windows/native/sun/windows/awt_Component.cpp ! src/windows/native/sun/windows/awt_Dialog.cpp ! src/windows/native/sun/windows/awt_Window.cpp ! src/windows/native/sun/windows/awt_Window.h + test/java/awt/Modal/WsDisabledStyle/CloseBlocker/CloseBlocker.java + test/java/awt/Modal/WsDisabledStyle/OverBlocker/OverBlocker.java + test/java/awt/Modal/WsDisabledStyle/Winkey/Winkey.java Changeset: 9f51e4e1251e Author: anthony Date: 2008-03-18 12:04 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/9f51e4e1251e 6608764: PropertyChangeListeners machinery should have a better locking scheme Summary: Change to use a private final object java.awt.Component.changeSupportLock for locking purposes instead of using this Reviewed-by: son, ant ! src/share/classes/java/awt/Component.java Changeset: 9b6848cf363c Author: anthony Date: 2008-03-18 13:53 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/9b6848cf363c 6613927: Compilation of splashscreen png library failed on Ubuntu 7.04 (64bit) Summary: The macro PNG_NO_MMX_CODE should be defined when compiling on 64bit Linux Reviewed-by: yan, avu ! make/sun/splashscreen/Makefile Changeset: fd7f2562ea00 Author: anthony Date: 2008-03-18 14:10 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/fd7f2562ea00 6607660: java.awt.Container.getMouseEventTargetImpl should be invoked while holding the TreeLock Summary: The body of the method has been wrapped into the synchronized (getTreeLock()) { } block. Reviewed-by: son, art ! src/share/classes/java/awt/Container.java Changeset: e8b40b676b89 Author: anthony Date: 2008-03-18 14:20 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/e8b40b676b89 6637796: setBounds doesn't enlarge Component Summary: Added the areBoundsValid() method that verifies whether the current bounds of the component are valid. Using the isValid() method for this purpose previously was incorrect. Reviewed-by: son, art ! src/share/classes/java/awt/Component.java + test/java/awt/Mixing/ValidBounds.java Changeset: 9306c5d6344f Author: anthony Date: 2008-03-18 14:36 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/9306c5d6344f 6304277: PIT: Adding a TrayIcon closes a SplashScreen on Solaris but not on Win32 Summary: The Window.closeSplashScreen() method now verified the boolean flag isTrayIconWindow, and returns if it is true. Reviewed-by: son, dcherepanov ! src/share/classes/java/awt/Window.java Changeset: fc0164db7a3b Author: anthony Date: 2008-03-18 15:07 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/fc0164db7a3b 6581927: REG : Non focusable frame can be minimized to very small & Frame icon can be seen on frame buttons. Summary: The SWP_NOSENDCHANGING flag should not be passed to the ::SetWindowPos() WinAPI function when we receive the WM_MOUSEMOVE message while manually handling the resizing of non-focusable frames. Reviewed-by: son, ant ! src/windows/native/sun/windows/awt_Frame.cpp + test/java/awt/Focus/NonFocusableResizableTooSmall/NonFocusableResizableTooSmall.java Changeset: 8a57a0be2a97 Author: anthony Date: 2008-03-18 16:19 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/8a57a0be2a97 6589527: Window and Frame instances can hide their "Applet Warning" Summary: Additional constraints have been added for the setBounds() operation. Reviewed-by: son, art ! src/solaris/classes/sun/awt/X11/XDecoratedPeer.java ! src/solaris/classes/sun/awt/X11/XDialogPeer.java ! src/solaris/classes/sun/awt/X11/XEmbeddedFramePeer.java ! src/solaris/classes/sun/awt/X11/XFramePeer.java ! src/solaris/classes/sun/awt/X11/XWindowPeer.java ! src/solaris/classes/sun/awt/motif/MDialogPeer.java ! src/solaris/classes/sun/awt/motif/MEmbeddedFramePeer.java ! src/solaris/classes/sun/awt/motif/MFramePeer.java ! src/solaris/classes/sun/awt/motif/MWindowPeer.java ! src/windows/classes/sun/awt/windows/WDialogPeer.java ! src/windows/classes/sun/awt/windows/WEmbeddedFramePeer.java ! src/windows/classes/sun/awt/windows/WFramePeer.java ! src/windows/classes/sun/awt/windows/WWindowPeer.java ! src/windows/native/sun/windows/awt_Window.cpp ! src/windows/native/sun/windows/awt_Window.h Changeset: 241fd18949db Author: anthony Date: 2008-03-20 11:09 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/241fd18949db 4993545: NativeInLightFixer adds asynchronousity Summary: All the hooks related to the NativeInLightFixer have been moved to the HW/LW mixing handling methods. The NativeInLightFixer itself has been removed. Reviewed-by: son, alexp ! src/share/classes/java/awt/Component.java ! src/share/classes/java/awt/Container.java Changeset: 51c761339b1c Author: ant Date: 2008-03-19 16:23 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/51c761339b1c 6567410: PIT : java/awt/Focus/AutoRequestFocusTest/AutoRequestFocusSetVisibleTest.java fails Summary: A filter flag has been added to the HCBT focus hook. Reviewed-by: dcherepanov ! src/windows/native/sun/windows/awt_Window.cpp Changeset: 810904060acf Author: ant Date: 2008-03-20 14:26 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/810904060acf Merge Changeset: 92e9ac30618a Author: son Date: 2008-03-20 16:21 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/92e9ac30618a 6630878: clean target in sun/xawt is incomplete Summary: clean target should remove .gen_icons Reviewed-by: yan ! make/sun/xawt/Makefile Changeset: 82233ac3d09f Author: ant Date: 2008-03-20 18:06 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/82233ac3d09f 6598089: JDK 7: AWT often goes into busy loop when showing dialog Summary: Preventing focus from getting in an endless loop. Reviewed-by: son ! src/share/classes/java/awt/DefaultKeyboardFocusManager.java + test/java/awt/Focus/RestoreFocusOnDisabledComponentTest/RestoreFocusOnDisabledComponentTest.java Changeset: dbff1fcf1767 Author: ant Date: 2008-03-21 09:54 +0300 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/dbff1fcf1767 6599270: Using EmbeddedFrame in SWT leads to a hang Summary: Excluding EmbeddedFrame from the workaround of activating a toplevel in not foreground process. Reviewed-by: son ! src/windows/native/sun/windows/awt_Frame.cpp Changeset: 0f955581dc0b Author: yan Date: 2008-03-24 06:33 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/0f955581dc0b Merge Changeset: 75b405bff406 Author: tbell Date: 2008-03-27 10:42 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/75b405bff406 Merge Changeset: 7dd94e5bbec4 Author: dcubed Date: 2008-03-24 14:31 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/7dd94e5bbec4 6239043: 4/4 TransformerManagementThreadAddTests.java failed Summary: Clear fCheckedTransformers in order to properly record transformer() call data. Reviewed-by: sspitsyn ! test/java/lang/instrument/TransformerManagementThreadAddTests.java Changeset: d3dc2ede62ed Author: dcubed Date: 2008-03-24 14:39 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/d3dc2ede62ed 4926961: 4/4 TransformerManagementThreadRemoveTests hangs Summary: Changes motivated by Effective Java - Item 48 & Item 51. Reviewed-by: sspitsyn ! test/java/lang/instrument/TransformerManagementThreadAddTests.java ! test/java/lang/instrument/TransformerManagementThreadRemoveTests.java Changeset: bca8bf23ac59 Author: dcubed Date: 2008-03-24 15:05 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/bca8bf23ac59 5088398: 3/2 java.lang.instrument TCK test deadlock (test11) Summary: Add regression test for single-threaded bootstrap classloader. Reviewed-by: sspitsyn + test/java/lang/instrument/ParallelTransformerLoader.sh + test/java/lang/instrument/ParallelTransformerLoaderAgent.java + test/java/lang/instrument/ParallelTransformerLoaderApp.java + test/java/lang/instrument/TestClass1.java + test/java/lang/instrument/TestClass2.java + test/java/lang/instrument/TestClass3.java Changeset: 114854ebaa21 Author: dcubed Date: 2008-03-24 15:14 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/114854ebaa21 6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names Summary: Attribute values should be extracted without leading or trailing whitespace. Reviewed-by: ohair, sspitsyn ! src/share/instrument/JarFacade.c + test/java/lang/instrument/ManifestTest.sh + test/java/lang/instrument/ManifestTestAgent.java + test/java/lang/instrument/ManifestTestApp.java Changeset: d4cd9e6a72da Author: dcubed Date: 2008-03-24 15:20 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/d4cd9e6a72da 6289149: 4/4 Java Agent will pick wrong execution path while attaching Summary: Check for a declared premain() or agentmain() method before an inherited one Reviewed-by: sspitsyn ! src/share/classes/sun/instrument/InstrumentationImpl.java ! test/java/lang/instrument/PremainClass/DummyMain.java + test/java/lang/instrument/PremainClass/InheritAgent0001.java + test/java/lang/instrument/PremainClass/InheritAgent0010.java + test/java/lang/instrument/PremainClass/InheritAgent0011.java + test/java/lang/instrument/PremainClass/InheritAgent0100.java + test/java/lang/instrument/PremainClass/InheritAgent0101.java + test/java/lang/instrument/PremainClass/InheritAgent0110.java + test/java/lang/instrument/PremainClass/InheritAgent0111.java + test/java/lang/instrument/PremainClass/InheritAgent1000.java + test/java/lang/instrument/PremainClass/InheritAgent1001.java + test/java/lang/instrument/PremainClass/InheritAgent1010.java + test/java/lang/instrument/PremainClass/InheritAgent1011.java + test/java/lang/instrument/PremainClass/InheritAgent1100.java + test/java/lang/instrument/PremainClass/InheritAgent1101.java + test/java/lang/instrument/PremainClass/InheritAgent1110.java + test/java/lang/instrument/PremainClass/InheritAgent1111.java + test/java/lang/instrument/PremainClass/NoPremainAgent.java + test/java/lang/instrument/PremainClass/NoPremainAgent.sh + test/java/lang/instrument/PremainClass/ZeroArgPremainAgent.java + test/java/lang/instrument/PremainClass/ZeroArgPremainAgent.sh Changeset: 8c1c6c50dd36 Author: dcubed Date: 2008-03-24 15:26 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/8c1c6c50dd36 6487488: 3/5 TEST_BUG: Something in test/java/lang/instrument creates a copy of an SCCS dir Summary: Only copy Java source files from ilib and bootreporter. Reviewed-by: sspitsyn ! test/java/lang/instrument/MakeJAR2.sh Changeset: e6e301984a4a Author: dcubed Date: 2008-03-24 15:42 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/e6e301984a4a 6491461: 3/3 TEST: java/lang/instrument .sh tests need to use $TESTVMOPTS in their java commands Summary: Add ${TESTVMOPTS} to java test execution command(s). Reviewed-by: sspitsyn ! test/java/lang/instrument/BootClassPath/BootClassPathTest.sh ! test/java/lang/instrument/PremainClass/PremainClassTest.sh ! test/java/lang/instrument/appendToClassLoaderSearch/CircularityErrorTest.sh ! test/java/lang/instrument/appendToClassLoaderSearch/ClassUnloadTest.sh ! test/java/lang/instrument/appendToClassLoaderSearch/CommonSetup.sh ! test/java/lang/instrument/appendToClassLoaderSearch/run_tests.sh Changeset: ebe8adae32b9 Author: dcubed Date: 2008-03-24 16:04 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/ebe8adae32b9 6528548: 4/4 NativeMethodPrefixAgent.java times out intermittently in nightly Summary: Increase timeouts for tasks that take > 10 seconds on a 4-way Ultra-80 with all local resources. Reviewed-by: sspitsyn ! test/java/lang/instrument/BootClassPath/BootClassPathTest.sh ! test/java/lang/instrument/NativeMethodPrefixAgent.java ! test/java/lang/instrument/RetransformAgent.java ! test/java/lang/instrument/appendToClassLoaderSearch/CircularityErrorTest.sh ! test/java/lang/instrument/appendToClassLoaderSearch/run_tests.sh Changeset: 31959ddaf501 Author: dcubed Date: 2008-03-24 16:11 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/31959ddaf501 6545149: 4/4 JLI Instrumentation.redefineClasses SIGSEGVs on java/lang/Thread Summary: Add regression test for redefining class with native methods. Reviewed-by: sspitsyn + test/java/lang/instrument/RedefineClassWithNativeMethod.sh + test/java/lang/instrument/RedefineClassWithNativeMethodAgent.java + test/java/lang/instrument/RedefineClassWithNativeMethodApp.java Changeset: 719789c7132c Author: dcubed Date: 2008-03-24 16:23 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/719789c7132c 6547358: 2/2 j.l.i.: manifest attribute 'Can-Retransform-Classes' is ignored by isRetransformClassesSupported() Summary: isRetransformClassesSupported() should return the capability rather than give the agent the capability Reviewed-by: ohair, sspitsyn ! src/share/instrument/JPLISAgent.c Changeset: ba825e4b1b8b Author: dcubed Date: 2008-03-24 16:32 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/ba825e4b1b8b 6547500: 2/2 j.l.i.: .retransformClasses throws unexpected InternalError Summary: retransformClasses() should catch both an empty classes array and a classes array that contains a NULL element. Reviewed-by: ohair, sspitsyn ! src/share/instrument/JPLISAgent.c Changeset: 823abb444593 Author: dcubed Date: 2008-03-24 16:59 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/823abb444593 6642405: 4/4 src/share/instrument/JPLISAgent.c line 286: "==" found where assignment "=" expected Summary: Fix incorrect variable assignment in initializeJPLISAgent(). Reviewed-by: ohair, sspitsyn ! src/share/instrument/JPLISAgent.c Changeset: 9f75a46fad8b Author: dcubed Date: 2008-03-24 17:12 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/9f75a46fad8b 6572160: 3/3 Instrumentation.getObjectSize triggers JVM crash in JPLISAssert in shutdown Summary: Tolerate JVMTI_ERROR_WRONG_PHASE return codes so that JLI methods can be called to the end of VM's life. Reviewed-by: ohair, sspitsyn ! src/share/instrument/InvocationAdapter.c ! src/share/instrument/JPLISAgent.c ! src/share/instrument/JPLISAgent.h ! src/share/instrument/Reentrancy.c ! src/share/instrument/Utilities.c + test/java/lang/instrument/StressGetObjectSizeApp.java + test/java/lang/instrument/StressGetObjectSizeTest.sh Changeset: 9a804b6297c3 Author: dcubed Date: 2008-03-24 17:16 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/9a804b6297c3 6655234: 4/4 j.l.i.: setNativeMethodPrefix does not document that prefix string can be null Summary: Clarify wording for 'prefix' parameter to setNativeMethodPrefix(). Reviewed-by: sspitsyn ! src/share/classes/java/lang/instrument/Instrumentation.java Changeset: 1f45ae5ea94a Author: dcubed Date: 2008-03-24 17:20 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/1f45ae5ea94a 6667089: 3/3 multiple redefinitions of a class break reflection Summary: Add regression test for multiple redefinitions of a class break reflection. Reviewed-by: sspitsyn + test/java/lang/instrument/RedefineMethodAddInvoke.sh + test/java/lang/instrument/RedefineMethodAddInvokeAgent.java + test/java/lang/instrument/RedefineMethodAddInvokeApp.java + test/java/lang/instrument/RedefineMethodAddInvokeTarget.java + test/java/lang/instrument/RedefineMethodAddInvokeTarget_1.java + test/java/lang/instrument/RedefineMethodAddInvokeTarget_2.java Changeset: 7bf5f01e419d Author: dcubed Date: 2008-03-26 20:18 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/7bf5f01e419d 6679866: 3/2 portability issues with JLI-batch-200803 on Win* Summary: Make minor tweaks to the fix for 6274276 to make the Win* compiler happy... Reviewed-by: sspitsyn, ohair ! src/share/instrument/JarFacade.c Changeset: 52c76fc0a3a9 Author: dcubed Date: 2008-03-27 14:15 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/52c76fc0a3a9 Merge Changeset: b22cbc65a360 Author: wetmore Date: 2008-03-28 12:56 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/b22cbc65a360 Merge From bradford.wetmore at sun.com Fri Mar 28 22:32:15 2008 From: bradford.wetmore at sun.com (bradford.wetmore at sun.com) Date: Sat, 29 Mar 2008 05:32:15 +0000 Subject: hg: jdk7/jsn/langtools: 6618930: (javac) fix test after whitespace normalization Message-ID: <20080329053217.CB7D62736B@hg.openjdk.java.net> Changeset: 058bdd3ca02e Author: ksrini Date: 2008-03-20 08:44 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/058bdd3ca02e 6618930: (javac) fix test after whitespace normalization Summary: whitespace normalization left the test unusable, back to service Reviewed-by: jjg ! test/tools/javac/6304921/T6304921.java ! test/tools/javac/6304921/T6304921.out From Bradford.Wetmore at Sun.COM Mon Mar 31 12:35:43 2008 From: Bradford.Wetmore at Sun.COM (Brad Wetmore) Date: Mon, 31 Mar 2008 12:35:43 -0700 Subject: JSN Integration deadline at 3pm Message-ID: <47F13D0F.7010000@sun.com> We're still assessing if I will do a JSN integration this week, but if so, I'll take my snapshot at soon and start the ball rolling. There are some PKCS11 changes that are causing some JCK and test failures, and need investigation for impact before we integrate in TL/MASTER. If there are any other expected putbacks, please let me know now. I still have some RE build issues to take care of for the RE builds of the closed portion of the JDK. The pre-built providers for jce.jar and sunjce_provider.jar are out of date from the source. Still working on that. Brad From bradford.wetmore at sun.com Mon Mar 31 13:28:51 2008 From: bradford.wetmore at sun.com (bradford.wetmore at sun.com) Date: Mon, 31 Mar 2008 20:28:51 +0000 Subject: hg: jdk7/jsn/jdk: 6469580: 1.5.0_08 JVM crashes in SignatureHandlerLibrary::add on Fujitsu Primepower platform Message-ID: <20080331202904.501B7273CE@hg.openjdk.java.net> Changeset: e1bf7407c933 Author: wetmore Date: 2008-03-31 13:27 -0700 URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/e1bf7407c933 6469580: 1.5.0_08 JVM crashes in SignatureHandlerLibrary::add on Fujitsu Primepower platform Reviewed-by: andreas, valeriep, wetmore Contributed-by: chris.phillips at sun.com ! src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c