RE: getCodeBase broken locally in 7 update 25

2013-06-19 Thread Mickey Segal
This is going to be a big problem for those of us who need to run signed applets locally when there is no internet access, as often occurs at conferences and lecture rooms. We will have no access to files at the codeBase unless we hard code the path, which is a problem if several people in an

hg: jdk8/tl/jdk: 7025238: HttpURLConnection does not handle URLs with an empty path component.

2013-06-19 Thread kurchi . subhra . hazra
Changeset: 2b156531b7eb Author:arieber Date: 2013-06-19 17:41 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/2b156531b7eb 7025238: HttpURLConnection does not handle URLs with an empty path component. Summary: Prepend a '/' to file when path is empty Reviewed-by: chegar, khazr

Re: getCodeBase broken locally in 7 update 25

2013-06-19 Thread Sandeep Konchady
Hi Mickey, The issue you are seeing is intended behavior. This was caused because of a vulnerability that was fixed in 7u25 in which which a getCodeBase call against all local applet/jnlp apps will return null. Thanks, Sandeep On Jun 19, 2013, at 3:18 PM, "Mickey Segal" wrote: > The local g

RE: getCodeBase broken locally in 7 update 25

2013-06-19 Thread Mickey Segal
The local getCodeBase problem is not present in Java 8 build 94, the most recent version. From: Mickey Segal [mailto:ja...@segal.org] Sent: Wednesday, June 19, 2013 3:56 PM To: Java Security (security-dev@openjdk.java.net) Subject: RE: getCodeBase broken locally in 7 update 25 The same

hg: jdk8/tl/langtools: 8016610: javac, add new internal symbols to make operator resolution faster

2013-06-19 Thread vicente . romero
Changeset: be10ac0081b2 Author:vromero Date: 2013-06-19 22:07 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/be10ac0081b2 8016610: javac, add new internal symbols to make operator resolution faster Reviewed-by: jjg Contributed-by: maurizio.cimadam...@oracle.com ! src/s

hg: jdk8/tl/jdk: 8016698: Cleanup overrides warning in sun/tools/ClassDeclaration.java

2013-06-19 Thread kurchi . subhra . hazra
Changeset: e1b18a666f76 Author:khazra Date: 2013-06-19 14:13 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/e1b18a666f76 8016698: Cleanup overrides warning in sun/tools/ClassDeclaration.java Summary: Override Object.hashCode() Reviewed-by: alanb, chegar ! src/share/classes/s

Re: RFR JDK-8003245

2013-06-19 Thread Anthony Scarpino
Hi, There maybe some cross platform issues I'm not familiar with, but you can just zero the structure when it's defined. CK_SSL3_MASTER_KEY_DERIVE_PARAMS ckParams = {0}; Tony On 06/18/2013 07:27 PM, John Zavgren wrote: Greetings: Please consider the following changes that eliminate the

hg: jdk8/tl/jdk: 8016576: Overrides warnings in jdi and jconsole

2013-06-19 Thread kurchi . subhra . hazra
Changeset: de6b93fd6d23 Author:khazra Date: 2013-06-19 14:02 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/de6b93fd6d23 8016576: Overrides warnings in jdi and jconsole Summary: Implement hashCode() in classes emitting warnings Reviewed-by: alanb, chegar ! src/share/classes/

Re: RFR JDK-8003245

2013-06-19 Thread Valerie (Yu-Ching) Peng
John, Just wondering that if you have checked other PKCS11 native code in the same directory for similar problems? It seems to me that at least p11_crypt.c, p11_digest.c, p11_general.c, also contains similar usage pattern. Thanks, Valerie On 06/18/13 19:27, John Zavgren wrote: Greetings:

Re: Code Review Request for 7196805: DH Key interoperability testing between SunJCE and JsafeJCE not successful

2013-06-19 Thread Valerie (Yu-Ching) Peng
I have updated the webrev to address your comments: http://cr.openjdk.java.net/~valeriep/7196805/webrev.01/ As for using JDK 8 default method feature, I think maybe it's better to delay the adoption to a later release since it's easier for sustaining to just grab current changes and apply to ea

hg: jdk8/tl/jdk: 8016592: Clean-up Javac Overrides Warnings In javax/management/NotificationBroadcasterSupport.java

2013-06-19 Thread dan . xu
Changeset: f6d72c4f6bf1 Author:dxu Date: 2013-06-19 13:00 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f6d72c4f6bf1 8016592: Clean-up Javac Overrides Warnings In javax/management/NotificationBroadcasterSupport.java Summary: Add hashCode() methods to ListenerInfo and Wildca

RE: getCodeBase broken locally in 7 update 25

2013-06-19 Thread Mickey Segal
The same getCodeBase problem seems to be occurring on the MacOS version too. From: Mickey Segal [mailto:ja...@segal.org] I upgraded a Windows 7 computer to Java version 1.7.0_25 from 1.7.0_21. A getCodeBase call in a signed applet now returns null. In previous versions of Java, getCodeB

getCodeBase broken locally in 7 update 25

2013-06-19 Thread Mickey Segal
I upgraded a Windows 7 computer to Java version 1.7.0_25 from 1.7.0_21. A getCodeBase call in a signed applet now returns null. In previous versions of Java, getCodeBase returned a URL that referred to the current directory (tested from Java 1.1 to 1.7.0_21 over the years). Was this done p

hg: jdk8/tl/hotspot: 5 new changesets

2013-06-19 Thread chris . hegarty
Changeset: d0add7016434 Author:amurillo Date: 2013-06-07 09:33 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/d0add7016434 8016078: new hotspot build - hs25-b37 Reviewed-by: jcoomes ! make/hotspot_version Changeset: f2110083203d Author:sla Date: 2013-06-10 11:3

hg: jdk8/tl/langtools: 8015657: jdk8 l10n resource file translation update 3

2013-06-19 Thread michael . fang
Changeset: 792c40d5185a Author:mfang Date: 2013-06-18 20:56 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/792c40d5185a 8015657: jdk8 l10n resource file translation update 3 Reviewed-by: yhuang ! src/share/classes/com/sun/tools/doclets/formats/html/resources/standard_

hg: jdk8/tl/corba: 8015657: jdk8 l10n resource file translation update 3

2013-06-19 Thread michael . fang
Changeset: d406edd4f6fd Author:mfang Date: 2013-06-18 20:52 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/d406edd4f6fd 8015657: jdk8 l10n resource file translation update 3 Reviewed-by: yhuang ! src/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_ko.propertie

hg: jdk8/tl/jaxp: 8016824: jdk8 l10n resource file translation update 3 - jaxp

2013-06-19 Thread michael . fang
Changeset: 21d9cbbb7bf3 Author:mfang Date: 2013-06-18 22:52 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/21d9cbbb7bf3 8016824: jdk8 l10n resource file translation update 3 - jaxp Reviewed-by: joehw ! src/com/sun/org/apache/xerces/internal/impl/msg/DOMMessages_de.propertie

hg: jdk8/tl/jdk: 8015657: jdk8 l10n resource file translation update 3

2013-06-19 Thread michael . fang
Changeset: d82773b770ce Author:mfang Date: 2013-06-18 21:08 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/d82773b770ce 8015657: jdk8 l10n resource file translation update 3 Reviewed-by: yhuang ! src/macosx/classes/com/apple/laf/resources/aqua_pt_BR.properties ! src/share/c

Re: [8] code review request for 7165807: Non optimized initialization of NSS crypto library leads to scalability issues

2013-06-19 Thread Vincent Ryan
Thanks for the review. I've simplified the name of the NSS flag, updated the bug report and filed a doc bug, as you suggest. On 19 Jun 2013, at 18:21, Sean Mullan wrote: > Looks good, just a couple of comments: > > 1. I think the name "nssOptimizeSpace" is clearer. The "Use" part seems a bit

Re: [8] code review request for 7165807: Non optimized initialization of NSS crypto library leads to scalability issues

2013-06-19 Thread Sean Mullan
Looks good, just a couple of comments: 1. I think the name "nssOptimizeSpace" is clearer. The "Use" part seems a bit odd in the property name. 2. Add the appropriate noreg label to the bug. 3. File a followup doc bug to document the attribute in the PKCS11 guide. --Sean On 06/19/2013 08:49

hg: jdk8/tl/jdk: 6 new changesets

2013-06-19 Thread chris . hegarty
Changeset: e7ece2dbdc70 Author:sla Date: 2013-06-10 11:33 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/e7ece2dbdc70 8005008: Add Java Flight Recorder Phase II Reviewed-by: erikj Contributed-by: Karen Kinnear , Bengt Rutisson , Calvin Cheung , Erik Gahlin , Erik Helin , Je

hg: jdk8/tl/jdk: 4837946: Faster multiplication and exponentiation of large integers; ...

2013-06-19 Thread alan . bateman
Changeset: 9b802d99cb52 Author:bpb Date: 2013-06-19 08:59 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/9b802d99cb52 4837946: Faster multiplication and exponentiation of large integers 4646474: BigInteger.pow() algorithm slow in 1.4.0 Summary: Implement Karatsuba and 3-way T

Re: [8] code review request for 7165807: Non optimized initialization of NSS crypto library leads to scalability issues

2013-06-19 Thread Vincent Ryan
I've made some corrections to the native method that initializes NSS. The new webrev is at: http://cr.openjdk.java.net/~vinnie/7165807/webrev.01 On 14 Jun 2013, at 18:38, Vincent Ryan wrote: > Please review the following fix: > > http://cr.openjdk.java.net/~vinnie/7165807/webrev.00/ > http:

Re: [8] code review request for 7165807: Non optimized initialization of NSS crypto library leads to scalability issues

2013-06-19 Thread Vincent Ryan
The issue relates to the size and the locking mechanism applied to NSS session pools, by default. This leads to poor performance when server-type workloads are applied. Unfortunately I don't have any performance numbers to share. On 14 Jun 2013, at 19:13, Matthew Hall wrote: > On Fri, Jun 14, 2

hg: jdk8/tl/langtools: 2 new changesets

2013-06-19 Thread chris . hegarty
Changeset: be62183f938a Author:chegar Date: 2013-06-19 11:48 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/be62183f938a 8017045: anti-delta fix for 8013789 Reviewed-by: alanb ! src/share/classes/com/sun/tools/javac/code/Types.java ! src/share/classes/com/sun/tools/jav

hg: jdk8/tl/jdk: 2 new changesets

2013-06-19 Thread chris . hegarty
Changeset: 22337da71eca Author:chegar Date: 2013-06-19 11:47 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/22337da71eca 8017044: anti-delta fix for 8015402 Reviewed-by: alanb ! src/share/classes/java/lang/invoke/AbstractValidatingLambdaMetafactory.java ! src/share/classes/j

hg: jdk8/tl/langtools: 8006981: javac, method toString() of class ...javac.code.Flags doesn't print all the flag bits

2013-06-19 Thread vicente . romero
Changeset: 6d3b33aea370 Author:vromero Date: 2013-06-19 11:09 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/6d3b33aea370 8006981: javac, method toString() of class ...javac.code.Flags doesn't print all the flag bits Reviewed-by: jjg ! src/share/classes/com/sun/tools/

hg: jdk8/tl/jdk: 7188658: Add possibility to disable client initiated renegotiation

2013-06-19 Thread xuelei . fan
Changeset: a76858faad59 Author:xuelei Date: 2013-06-19 02:33 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a76858faad59 7188658: Add possibility to disable client initiated renegotiation Reviewed-by: weijun, wetmore ! src/share/classes/sun/security/ssl/Handshaker.java ! src