hg: jdk8/tl/jdk: 8000529: Regression: SimpleDateFormat incorrectly parses dates formatted with Z and z pattern letters

2013-04-25 Thread sean . coffey
Changeset: 5871d7b1673c
Author:coffeys
Date:  2013-04-25 21:12 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5871d7b1673c

8000529: Regression: SimpleDateFormat incorrectly parses dates formatted with Z 
and z pattern letters
Reviewed-by: okutsu

! src/share/classes/java/text/CalendarBuilder.java
! src/share/classes/java/text/SimpleDateFormat.java
! test/java/text/Format/DateFormat/Bug7130335.java



hg: jdk8/tl/jdk: 8000450: Restrict access to com/sun/corba/se/impl package

2013-06-06 Thread sean . coffey
Changeset: c4480e0d9f53
Author:coffeys
Date:  2013-06-06 14:10 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c4480e0d9f53

8000450: Restrict access to com/sun/corba/se/impl package
Reviewed-by: alanb, chegar, lancea

! src/share/lib/security/java.security-linux
! src/share/lib/security/java.security-macosx
! src/share/lib/security/java.security-solaris
! src/share/lib/security/java.security-windows
! test/java/lang/SecurityManager/CheckPackageAccess.java



hg: jdk8/tl/jdk: 8015978: Incorrect transformation of XPath expression "string(-0)"

2013-06-14 Thread sean . coffey
Changeset: 45a3584bfacf
Author:coffeys
Date:  2013-06-14 15:14 +0400
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/45a3584bfacf

8015978: Incorrect transformation of XPath expression "string(-0)"
Reviewed-by: darcy, joehw
Contributed-by: aleksej.efi...@oracle.com

+ test/javax/xml/jaxp/XPath/8015978/XPathNegativeZero.java
+ test/javax/xml/jaxp/XPath/8015978/dummy.xml
+ test/javax/xml/jaxp/XPath/8015978/negativezero.xsl



hg: jdk8/tl/jaxp: 8015978: Incorrect transformation of XPath expression "string(-0)"

2013-06-14 Thread sean . coffey
Changeset: 659828443145
Author:coffeys
Date:  2013-06-14 15:14 +0400
URL:   http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/659828443145

8015978: Incorrect transformation of XPath expression "string(-0)"
Reviewed-by: darcy, joehw
Contributed-by: aleksej.efi...@oracle.com

! src/com/sun/org/apache/xalan/internal/xsltc/runtime/BasisLibrary.java



hg: jdk8/tl/jdk: 8019979: Replace CheckPackageAccess test with better one from closed repo

2013-07-09 Thread sean . coffey
Changeset: 83c2976ef8ee
Author:coffeys
Date:  2013-07-09 16:00 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/83c2976ef8ee

8019979: Replace CheckPackageAccess test with better one from closed repo
Reviewed-by: mullan

! test/java/lang/SecurityManager/CheckPackageAccess.java



hg: jdk8/tl/jdk: 8017566: Backout 8000450 - Cannot access to com.sun.corba.se.impl.orb.ORBImpl

2013-07-15 Thread sean . coffey
Changeset: 7cc35dd1885d
Author:coffeys
Date:  2013-07-15 13:42 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7cc35dd1885d

8017566: Backout 8000450 - Cannot access to com.sun.corba.se.impl.orb.ORBImpl
Reviewed-by: mchung

! src/share/lib/security/java.security-linux
! src/share/lib/security/java.security-macosx
! src/share/lib/security/java.security-solaris
! src/share/lib/security/java.security-windows
! test/java/lang/SecurityManager/CheckPackageAccess.java



hg: jdk8/tl/jdk: 8016018: Typo in AbstractStringBuilder#indexOf and #lastIndexOf descriptions

2013-08-26 Thread sean . coffey
Changeset: 92a66af7f834
Author:igerasim
Date:  2013-08-26 18:26 +0400
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/92a66af7f834

8016018: Typo in AbstractStringBuilder#indexOf and #lastIndexOf descriptions
Reviewed-by: alanb, chegar

! src/share/classes/java/lang/AbstractStringBuilder.java



hg: jdk8/tl/jdk: 8017195: Introduce option to setKeepAlive parameter on CORBA sockets

2013-09-03 Thread sean . coffey
Changeset: 5920155dd080
Author:coffeys
Date:  2013-09-03 22:37 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5920155dd080

8017195: Introduce option to setKeepAlive parameter on CORBA sockets
Reviewed-by: chegar, msheppar

+ test/com/sun/corba/transport/KeepAliveSockets.java



hg: jdk8/tl/corba: 8017195: Introduce option to setKeepAlive parameter on CORBA sockets

2013-09-03 Thread sean . coffey
Changeset: af8e5bc3a150
Author:coffeys
Date:  2013-09-03 22:35 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/corba/rev/af8e5bc3a150

8017195: Introduce option to setKeepAlive parameter on CORBA sockets
Reviewed-by: chegar, msheppar

! 
src/share/classes/com/sun/corba/se/impl/transport/DefaultSocketFactoryImpl.java



hg: jdk8/tl/jdk: 8024952: ClassCastException in PlainSocketImpl.accept() when using custom socketImpl

2013-10-02 Thread sean . coffey
Changeset: 368172cb6dc5
Author:coffeys
Date:  2013-10-02 09:21 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/368172cb6dc5

8024952: ClassCastException in PlainSocketImpl.accept() when using custom 
socketImpl
Reviewed-by: chegar

! src/windows/classes/java/net/PlainSocketImpl.java
+ test/java/net/PlainSocketImpl/CustomSocketImplFactory.java



hg: jdk8/tl/jdk: 8025255: (tz) Support tzdata2013g

2013-10-16 Thread sean . coffey
Changeset: 60e3cdbe8cdf
Author:aefimov
Date:  2013-10-13 14:19 +0400
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/60e3cdbe8cdf

8025255: (tz) Support tzdata2013g
Reviewed-by: okutsu, mfang

! make/sun/javazic/tzdata/VERSION
! make/sun/javazic/tzdata/africa
! make/sun/javazic/tzdata/antarctica
! make/sun/javazic/tzdata/asia
! make/sun/javazic/tzdata/australasia
! make/sun/javazic/tzdata/backward
! make/sun/javazic/tzdata/etcetera
! make/sun/javazic/tzdata/europe
! make/sun/javazic/tzdata/iso3166.tab
! make/sun/javazic/tzdata/leapseconds
! make/sun/javazic/tzdata/northamerica
! make/sun/javazic/tzdata/southamerica
! make/sun/javazic/tzdata/zone.tab
! src/share/classes/sun/util/resources/TimeZoneNames.java
! src/share/classes/sun/util/resources/de/TimeZoneNames_de.java
! src/share/classes/sun/util/resources/es/TimeZoneNames_es.java
! src/share/classes/sun/util/resources/fr/TimeZoneNames_fr.java
! src/share/classes/sun/util/resources/it/TimeZoneNames_it.java
! src/share/classes/sun/util/resources/ja/TimeZoneNames_ja.java
! src/share/classes/sun/util/resources/ko/TimeZoneNames_ko.java
! src/share/classes/sun/util/resources/pt/TimeZoneNames_pt_BR.java
! src/share/classes/sun/util/resources/sv/TimeZoneNames_sv.java
! src/share/classes/sun/util/resources/zh/TimeZoneNames_zh_CN.java
! src/share/classes/sun/util/resources/zh/TimeZoneNames_zh_TW.java
! test/sun/util/calendar/zi/tzdata/VERSION
! test/sun/util/calendar/zi/tzdata/africa
! test/sun/util/calendar/zi/tzdata/antarctica
! test/sun/util/calendar/zi/tzdata/asia
! test/sun/util/calendar/zi/tzdata/australasia
! test/sun/util/calendar/zi/tzdata/backward
! test/sun/util/calendar/zi/tzdata/etcetera
! test/sun/util/calendar/zi/tzdata/europe
! test/sun/util/calendar/zi/tzdata/iso3166.tab
! test/sun/util/calendar/zi/tzdata/leapseconds
! test/sun/util/calendar/zi/tzdata/northamerica
! test/sun/util/calendar/zi/tzdata/southamerica
! test/sun/util/calendar/zi/tzdata/zone.tab



hg: jdk8/tl/jdk: 5036554: unmarshal error on CORBA alias type in CORBA any

2013-10-23 Thread sean . coffey
Changeset: 2af3f5a61322
Author:coffeys
Date:  2013-10-23 16:53 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/2af3f5a61322

5036554: unmarshal error on CORBA alias type in CORBA any
Reviewed-by: chegar, smarks

+ test/com/sun/corba/5036554/JavaBug.java
+ test/com/sun/corba/5036554/README
+ test/com/sun/corba/5036554/TestCorbaBug.sh
+ test/com/sun/corba/5036554/bug.idl



hg: jdk8/tl/corba: 5036554: unmarshal error on CORBA alias type in CORBA any

2013-10-23 Thread sean . coffey
Changeset: a90e9efa4264
Author:coffeys
Date:  2013-10-23 16:45 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/corba/rev/a90e9efa4264

5036554: unmarshal error on CORBA alias type in CORBA any
Reviewed-by: chegar, smarks

! src/share/classes/com/sun/corba/se/impl/corba/AnyImpl.java



hg: jdk8/tl/jdk: 8026405: javax/xml/ws/clientjar/TestWsImport.java failing on JDK 8 nightly aurora test runs

2013-10-23 Thread sean . coffey
Changeset: ee7f1c78bec7
Author:coffeys
Date:  2013-10-23 20:51 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ee7f1c78bec7

8026405: javax/xml/ws/clientjar/TestWsImport.java failing on JDK 8 nightly 
aurora test runs
Reviewed-by: chegar

! test/javax/xml/ws/clientjar/TestWsImport.java



hg: jdk8/tl/jdk: 8026772: test/sun/util/resources/TimeZone/Bug6317929.java failing

2013-10-29 Thread sean . coffey
Changeset: d34c5e860d5f
Author:aefimov
Date:  2013-10-24 17:23 +0400
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/d34c5e860d5f

8026772: test/sun/util/resources/TimeZone/Bug6317929.java failing
Reviewed-by: okutsu, mfang, alanb

! test/ProblemList.txt
! test/sun/util/resources/TimeZone/Bug6317929.java



hg: jdk8/tl/jdk: 8028583: Add helper methods to test libraries

2013-11-19 Thread sean . coffey
Changeset: d1bb85f0a45a
Author:coffeys
Date:  2013-11-19 14:47 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/d1bb85f0a45a

8028583: Add helper methods to test libraries
Reviewed-by: chegar

! test/java/rmi/testlibrary/TestLibrary.java
! test/lib/testlibrary/jdk/testlibrary/FileUtils.java



hg: jdk8/tl/jdk: 8016728: TEST_BUG: test/java/rmi/transport/closeServerSocket/CloseServerSocket.java failing intermittently

2013-11-19 Thread sean . coffey
Changeset: f2ccd3530476
Author:coffeys
Date:  2013-11-19 16:22 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f2ccd3530476

8016728: TEST_BUG: 
test/java/rmi/transport/closeServerSocket/CloseServerSocket.java failing 
intermittently
Reviewed-by: chegar

! test/java/rmi/transport/closeServerSocket/CloseServerSocket.java



hg: jdk8/tl/jdk: 3 new changesets

2013-11-22 Thread sean . coffey
Changeset: cd56de5896b4
Author:aefimov
Date:  2013-11-15 15:06 +0400
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/cd56de5896b4

8027848: The ZoneInfoFile doesn't honor future GMT offset changes
Reviewed-by: sherman, coffeys

! src/share/classes/sun/util/calendar/ZoneInfoFile.java

Changeset: ebd47f6ab172
Author:aefimov
Date:  2013-11-21 20:48 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ebd47f6ab172

8027370: Support tzdata2013h
Reviewed-by: sherman, coffeys

! make/data/tzdata/VERSION
! make/data/tzdata/africa
! make/data/tzdata/southamerica
! src/share/classes/sun/util/resources/TimeZoneNames.java
! src/share/classes/sun/util/resources/de/TimeZoneNames_de.java
! src/share/classes/sun/util/resources/es/TimeZoneNames_es.java
! src/share/classes/sun/util/resources/fr/TimeZoneNames_fr.java
! src/share/classes/sun/util/resources/it/TimeZoneNames_it.java
! src/share/classes/sun/util/resources/ja/TimeZoneNames_ja.java
! src/share/classes/sun/util/resources/ko/TimeZoneNames_ko.java
! src/share/classes/sun/util/resources/pt/TimeZoneNames_pt_BR.java
! src/share/classes/sun/util/resources/sv/TimeZoneNames_sv.java
! src/share/classes/sun/util/resources/zh/TimeZoneNames_zh_CN.java
! src/share/classes/sun/util/resources/zh/TimeZoneNames_zh_TW.java
! test/sun/util/calendar/zi/tzdata/VERSION
! test/sun/util/calendar/zi/tzdata/africa
! test/sun/util/calendar/zi/tzdata/southamerica

Changeset: 3b50d682e7c1
Author:coffeys
Date:  2013-11-22 09:56 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/3b50d682e7c1

Merge




hg: jdk8/tl/jdk: 8029347: sun/rmi/runtime/Log/checkLogging/CheckLogging.java fails in nightly intermittently

2013-12-04 Thread sean . coffey
Changeset: 0f1332dd805c
Author:coffeys
Date:  2013-12-04 17:03 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0f1332dd805c

8029347: sun/rmi/runtime/Log/checkLogging/CheckLogging.java fails in nightly 
intermittently
Reviewed-by: alanb

! test/sun/rmi/runtime/Log/checkLogging/CheckLogging.java



hg: jdk8/tl/corba: 8029231: Update copyright years for files in corba repository for 2013

2013-12-23 Thread sean . coffey
Changeset: 5ca1b4c282b8
Author:ssides
Date:  2013-12-23 18:42 +
URL:   http://hg.openjdk.java.net/jdk8/tl/corba/rev/5ca1b4c282b8

8029231: Update copyright years for files in corba repository for 2013
Reviewed-by: mchung, coffeys

! src/share/classes/com/sun/corba/se/impl/io/IIOPInputStream.java
! src/share/classes/com/sun/corba/se/impl/io/InputStreamHook.java
! src/share/classes/com/sun/corba/se/impl/io/OutputStreamHook.java
! src/share/classes/com/sun/corba/se/impl/ior/EncapsulationUtility.java
! src/share/classes/com/sun/corba/se/impl/ior/ObjectKeyImpl.java
! src/share/classes/com/sun/corba/se/impl/javax/rmi/CORBA/StubDelegateImpl.java
! src/share/classes/com/sun/corba/se/impl/orbutil/RepIdDelegator.java
! src/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_de.properties
! src/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_es.properties
! src/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_fr.properties
! src/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_it.properties
! src/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_ja.properties
! src/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_ko.properties
! 
src/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_pt_BR.properties
! src/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_sv.properties
! 
src/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_zh_CN.properties
! 
src/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_zh_TW.properties
! 
src/share/classes/com/sun/corba/se/impl/presentation/rmi/IDLNameTranslatorImpl.java
! 
src/share/classes/com/sun/corba/se/impl/presentation/rmi/InvocationHandlerFactoryImpl.java
! 
src/share/classes/com/sun/corba/se/impl/transport/DefaultSocketFactoryImpl.java
! 
src/share/classes/com/sun/corba/se/spi/orbutil/proxy/CompositeInvocationHandlerImpl.java
! src/share/classes/com/sun/tools/corba/se/idl/idl_ja.prp
! src/share/classes/com/sun/tools/corba/se/idl/idl_zh_CN.prp
! 
src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/toJavaPortable_ja.prp
! 
src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/toJavaPortable_zh_CN.prp
! src/share/classes/javax/rmi/CORBA/Stub.java
! src/share/classes/javax/rmi/CORBA/Util.java
! src/share/classes/javax/rmi/PortableRemoteObject.java
! src/share/classes/sun/rmi/rmic/iiop/CompoundType.java



hg: jdk8/tl/jdk: 2 new changesets

2014-01-03 Thread sean . coffey
Changeset: 46c727d6ecc2
Author:aefimov
Date:  2013-12-30 16:46 +0400
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/46c727d6ecc2

8025051: Update resource files for TimeZone display names
Reviewed-by: okutsu, mfang

! src/share/classes/sun/util/resources/de/TimeZoneNames_de.java
! src/share/classes/sun/util/resources/es/TimeZoneNames_es.java
! src/share/classes/sun/util/resources/fr/TimeZoneNames_fr.java
! src/share/classes/sun/util/resources/it/TimeZoneNames_it.java
! src/share/classes/sun/util/resources/ja/TimeZoneNames_ja.java
! src/share/classes/sun/util/resources/ko/TimeZoneNames_ko.java
! src/share/classes/sun/util/resources/pt/TimeZoneNames_pt_BR.java
! src/share/classes/sun/util/resources/sv/TimeZoneNames_sv.java
! src/share/classes/sun/util/resources/zh/TimeZoneNames_zh_CN.java
! src/share/classes/sun/util/resources/zh/TimeZoneNames_zh_TW.java
! test/java/util/Calendar/GenericTimeZoneNamesTest.sh
! test/sun/util/resources/TimeZone/Bug6317929.java
+ test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames.properties
+ test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNamesTest.java
+ test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_de.properties
+ 
test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_de_short.properties
+ test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_es.properties
+ 
test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_es_short.properties
+ test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_fr.properties
+ 
test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_fr_short.properties
+ test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_it.properties
+ 
test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_it_short.properties
+ test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_ja.properties
+ 
test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_ja_short.properties
+ test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_ko.properties
+ 
test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_ko_short.properties
+ test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_pt_BR.properties
+ 
test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_pt_BR_short.properties
+ test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_short.properties
+ test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_sv.properties
+ 
test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_sv_short.properties
+ test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_zh_CN.properties
+ 
test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_zh_CN_short.properties
+ test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_zh_TW.properties
+ 
test/sun/util/resources/TimeZone/TimeZoneNames/TimeZoneNames_zh_TW_short.properties

Changeset: c0970860803e
Author:coffeys
Date:  2014-01-03 16:45 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c0970860803e

Merge




hg: jdk8/tl/corba: 8035618: Four api/org_omg/CORBA TCK tests fail under plugin only

2014-02-26 Thread sean . coffey
Changeset: 0683ee308085
Author:coffeys
Date:  2014-02-26 23:04 +
URL:   http://hg.openjdk.java.net/jdk8/tl/corba/rev/0683ee308085

8035618: Four api/org_omg/CORBA TCK tests fail under plugin only
Reviewed-by: mchung, chegar

! src/share/classes/com/sun/corba/se/spi/orb/ORB.java



hg: jdk7/tl/jdk: 6974104: TEST: sun/nio/ch/6645197.java should be fixed in 1.5.0u25b05 and jdk6 workspace

2010-10-18 Thread sean . coffey
Changeset: 426e5f2dbea3
Author:coffeys
Date:  2010-10-18 18:04 +0100
URL:   http://hg.openjdk.java.net/jdk7/tl/jdk/rev/426e5f2dbea3

6974104: TEST: sun/nio/ch/6645197.java should be fixed in 1.5.0u25b05 and jdk6 
workspace
Reviewed-by: alanb

+ test/java/nio/channels/Selector/TemporarySelector.java



hg: jdk7/tl/jdk: 6696028: JMXServiceURL like service:jmx:rmi:///jndi/iiop:// should be rejected by the RMI conn provider.; ...

2010-11-05 Thread sean . coffey
Changeset: aed81a97aae3
Author:coffeys
Date:  2010-11-05 13:52 +
URL:   http://hg.openjdk.java.net/jdk7/tl/jdk/rev/aed81a97aae3

6696028: JMXServiceURL like service:jmx:rmi:///jndi/iiop:// should be rejected 
by the RMI conn provider.
6984520: NPE IN RMIConnector.connect
Reviewed-by: emcmanus, kevinw

! src/share/classes/javax/management/remote/rmi/RMIConnector.java
+ test/javax/management/remote/mandatory/connection/RMIConnector_NPETest.java



hg: jdk7/tl/jdk: 6957378: JMX memory leak

2010-11-05 Thread sean . coffey
Changeset: 5de001f5f8b4
Author:coffeys
Date:  2010-11-05 17:15 +
URL:   http://hg.openjdk.java.net/jdk7/tl/jdk/rev/5de001f5f8b4

6957378: JMX memory leak
Reviewed-by: emcmanus, kevinw

! src/share/classes/com/sun/jmx/remote/internal/ServerNotifForwarder.java
+ test/javax/management/remote/mandatory/notif/DeadListenerTest.java



hg: jdk7/tl/jdk: 6998583: NativeSeedGenerator is making 8192 byte read requests from entropy pool on each init.

2010-12-10 Thread sean . coffey
Changeset: 43ae1a1cc7a4
Author:coffeys
Date:  2010-12-10 15:11 +
URL:   http://hg.openjdk.java.net/jdk7/tl/jdk/rev/43ae1a1cc7a4

6998583: NativeSeedGenerator is making 8192 byte read requests from entropy 
pool on each init.
Reviewed-by: wetmore, andrew, vinnie

! src/share/classes/sun/security/provider/SeedGenerator.java
! src/windows/classes/sun/security/provider/NativeSeedGenerator.java
+ test/sun/security/provider/SeedGenerator/SeedGeneratorChoice.java



hg: jdk7/tl/jdk: 7016897: Copyright header correction : test/sun/security/provider/SeedGenerator/SeedGeneratorChoice.java

2011-02-03 Thread sean . coffey
Changeset: dff9b6d18628
Author:coffeys
Date:  2011-02-03 11:28 +
URL:   http://hg.openjdk.java.net/jdk7/tl/jdk/rev/dff9b6d18628

7016897: Copyright header correction : 
test/sun/security/provider/SeedGenerator/SeedGeneratorChoice.java
Reviewed-by: vinnie

! test/sun/security/provider/SeedGenerator/SeedGeneratorChoice.java



hg: jdk7/tl/jdk: 2 new changesets

2011-03-03 Thread sean . coffey
Changeset: 732faed56eb0
Author:coffeys
Date:  2011-03-03 16:51 +
URL:   http://hg.openjdk.java.net/jdk7/tl/jdk/rev/732faed56eb0

6750362: Very large LDAP requests throw a OOM on LDAP servers which aren't 
aware of Paged Results Controls
6748156: add an new JNDI property to control the boolean flag WaitForReply
Reviewed-by: vinnie, robm

! src/share/classes/com/sun/jndi/ldap/Connection.java
! src/share/classes/com/sun/jndi/ldap/LdapClient.java
! src/share/classes/com/sun/jndi/ldap/LdapCtx.java
! src/share/classes/com/sun/jndi/ldap/LdapRequest.java
+ test/com/sun/jndi/ldap/NoWaitForReplyTest.java

Changeset: 0bd32f96187d
Author:coffeys
Date:  2011-03-03 17:00 +
URL:   http://hg.openjdk.java.net/jdk7/tl/jdk/rev/0bd32f96187d

Merge




hg: jdk7/tl/jdk: 7025105: TEST_BUG test/com/sun/jndi/ldap/NoWaitForReplyTest.java should be cleaned up

2011-03-07 Thread sean . coffey
Changeset: 339342f311cc
Author:coffeys
Date:  2011-03-07 14:43 +
URL:   http://hg.openjdk.java.net/jdk7/tl/jdk/rev/339342f311cc

7025105: TEST_BUG test/com/sun/jndi/ldap/NoWaitForReplyTest.java should be 
cleaned up
Reviewed-by: alanb

! test/com/sun/jndi/ldap/NoWaitForReplyTest.java



hg: jdk7/tl/jdk: 7025227: SSLSocketImpl does not close the TCP layer socket if a close notify cannot be sent to the peer; ...

2011-04-22 Thread sean . coffey
Changeset: 48f659a09ed4
Author:coffeys
Date:  2011-04-22 11:03 +0100
URL:   http://hg.openjdk.java.net/jdk7/tl/jdk/rev/48f659a09ed4

7025227: SSLSocketImpl does not close the TCP layer socket if a close notify 
cannot be sent to the peer
6932403: SSLSocketImpl state issue
Reviewed-by: xuelei

! src/share/classes/sun/security/ssl/SSLSocketImpl.java



hg: jdk8/tl/jdk: 7049774: UID construction appears to hang if time changed backwards

2011-06-14 Thread sean . coffey
Changeset: 08fdfdb19ad6
Author:coffeys
Date:  2011-06-14 18:05 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/08fdfdb19ad6

7049774: UID construction appears to hang if time changed backwards
Reviewed-by: alanb, dholmes, chegar, mduigou

! src/share/classes/java/rmi/server/UID.java



hg: jdk8/tl/jdk: 7041125: LDAP API does not catch malformed filters that contain two operands for the ! operator

2011-07-05 Thread sean . coffey
Changeset: e88093d75e36
Author:coffeys
Date:  2011-07-05 15:25 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/e88093d75e36

7041125: LDAP API does not catch malformed filters that contain two operands 
for the ! operator
Reviewed-by: weijun, xuelei

! src/share/classes/com/sun/jndi/ldap/Filter.java
! test/com/sun/jndi/ldap/InvalidLdapFilters.java



hg: jdk8/tl/jdk: 7047325: Internal API to improve management of direct buffers

2011-08-11 Thread sean . coffey
Changeset: ddcb874581eb
Author:coffeys
Date:  2011-08-11 12:40 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ddcb874581eb

7047325: Internal API to improve management of direct buffers
Reviewed-by: alanb, mduigou

! make/com/oracle/Makefile
- make/com/oracle/net/Makefile
! make/common/Release.gmk
! src/share/classes/java/nio/Bits.java
! src/share/classes/java/nio/Buffer.java
! src/share/classes/java/nio/Direct-X-Buffer.java.template
! src/share/classes/sun/misc/JavaNioAccess.java
! src/share/classes/sun/nio/ch/DirectBuffer.java



hg: jdk8/tl/jdk: 7024697: SessionRef.dispose() should determine if the token referred to by the token object is still valid

2011-08-26 Thread sean . coffey
Changeset: 3a13b7ab57f7
Author:coffeys
Date:  2011-08-26 10:47 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/3a13b7ab57f7

7024697: SessionRef.dispose() should determine if the token referred to by the 
token object is still valid
Reviewed-by: valeriep

! src/share/classes/sun/security/pkcs11/Session.java
! src/share/classes/sun/security/pkcs11/Token.java



hg: jdk8/tl/jdk: 7049079: NTSYSTEM CLASS IS LEAKING WINDOWS TOKENS

2011-09-05 Thread sean . coffey
Changeset: 946e3b786d2d
Author:coffeys
Date:  2011-09-05 11:28 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/946e3b786d2d

7049079: NTSYSTEM CLASS IS LEAKING WINDOWS TOKENS
Reviewed-by: weijun

! src/share/classes/com/sun/security/auth/module/NTSystem.java
! src/windows/native/com/sun/security/auth/module/nt.c



hg: jdk8/tl/jdk: 7082769: FileInputStream/FileOutputStream/RandomAccessFile allow file descriptor be closed when still in use

2011-09-13 Thread sean . coffey
Changeset: e0c1282a0ead
Author:coffeys
Date:  2011-09-13 11:21 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/e0c1282a0ead

7082769: FileInputStream/FileOutputStream/RandomAccessFile allow file 
descriptor be closed when still in use
Reviewed-by: alanb

! src/share/classes/java/io/FileInputStream.java
! src/share/classes/java/io/FileOutputStream.java
! src/share/classes/java/io/RandomAccessFile.java
+ test/java/io/etc/FileDescriptorSharing.java



hg: jdk8/tl/jdk: 7099658: Properties.loadFromXML fails with ClassCastException

2011-10-27 Thread sean . coffey
Changeset: 64ccf18bbad5
Author:coffeys
Date:  2011-10-27 10:32 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/64ccf18bbad5

7099658: Properties.loadFromXML fails with ClassCastException
Reviewed-by: alanb, mchung

! src/share/classes/sun/util/xml/XMLUtils.java



hg: jdk8/tl/jdk: 7105952: Improve finalisation for FileInputStream/FileOutputStream/RandomAccessFile

2011-11-11 Thread sean . coffey
Changeset: 9dd994f319ee
Author:coffeys
Date:  2011-11-11 10:08 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/9dd994f319ee

7105952: Improve finalisation for 
FileInputStream/FileOutputStream/RandomAccessFile
Reviewed-by: alanb

! src/share/classes/java/io/FileInputStream.java
! src/share/classes/java/io/FileOutputStream.java
! src/share/classes/java/io/RandomAccessFile.java
! src/solaris/classes/java/io/FileDescriptor.java
! src/windows/classes/java/io/FileDescriptor.java
- test/java/io/FileDescriptor/FileChannelFDTest.java
+ test/java/io/FileDescriptor/Sharing.java
- test/java/io/etc/FileDescriptorSharing.java



hg: jdk8/tl/corba: 7091388: Regular unexplained npe's from corba libs after system has been running for days

2011-11-11 Thread sean . coffey
Changeset: 44c269731425
Author:coffeys
Date:  2011-11-11 10:16 +
URL:   http://hg.openjdk.java.net/jdk8/tl/corba/rev/44c269731425

7091388: Regular unexplained npe's from corba libs after system has been 
running for days
Reviewed-by: alanb

! src/share/classes/com/sun/corba/se/impl/encoding/CDRInputStream.java
! src/share/classes/com/sun/corba/se/impl/encoding/CDRInputStream_1_0.java
! src/share/classes/com/sun/corba/se/impl/encoding/CDROutputStream.java
! src/share/classes/com/sun/corba/se/impl/encoding/CDROutputStream_1_0.java



hg: jdk8/tl/jdk: 7102369: remove java.rmi.server.codebase property parsing from registyimpl; ...

2011-11-23 Thread sean . coffey
Changeset: d27f0b2f1476
Author:coffeys
Date:  2011-11-23 14:55 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/d27f0b2f1476

7102369: remove java.rmi.server.codebase property parsing from registyimpl
7094468: rmiregistry clean up
Reviewed-by: smarks

! src/share/classes/sun/rmi/registry/RegistryImpl.java
! src/share/classes/sun/rmi/server/LoaderHandler.java
+ test/java/rmi/registry/readTest/readTest.java
+ test/java/rmi/registry/readTest/readTest.sh
+ test/java/rmi/registry/readTest/testPkg/Client.java
+ test/java/rmi/registry/readTest/testPkg/Hello.java
+ test/java/rmi/registry/readTest/testPkg/Server.java



hg: jdk8/tl/jdk: 7133138: Improve io performance around timezone lookups

2012-02-24 Thread sean . coffey
Changeset: a589a8dbde79
Author:coffeys
Date:  2012-02-24 09:10 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a589a8dbde79

7133138: Improve io performance around timezone lookups
Reviewed-by: okutsu

! make/tools/src/build/tools/javazic/Mappings.java
! src/share/classes/sun/util/calendar/ZoneInfo.java
! src/share/classes/sun/util/calendar/ZoneInfoFile.java



hg: jdk8/tl/jdk: 7144488: Infinite recursion for some equals tests in Collections

2012-02-24 Thread sean . coffey
Changeset: 0a350fb8b174
Author:coffeys
Date:  2012-02-24 09:17 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0a350fb8b174

7144488: Infinite recursion for some equals tests in Collections
Reviewed-by: alanb, dholmes, mduigou

! src/share/classes/java/util/Collections.java
+ test/java/util/Collections/EqualsTest.java



hg: jdk8/tl/jdk: 7148584: Jar tools fails to generate manifest correctly when boundary condition hit

2012-03-12 Thread sean . coffey
Changeset: 134d9f4f9498
Author:coffeys
Date:  2012-03-12 11:30 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/134d9f4f9498

7148584: Jar tools fails to generate manifest correctly when boundary condition 
hit
Reviewed-by: alanb, sherman

! src/share/classes/java/util/jar/Manifest.java
+ test/java/util/jar/Manifest/CreateManifest.java



hg: jdk8/tl/jdk: 7149608: Default TZ detection fails on linux when symbolic links to non default location used.

2012-03-13 Thread sean . coffey
Changeset: 6bbafa8404eb
Author:coffeys
Date:  2012-03-13 11:01 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/6bbafa8404eb

7149608: Default TZ detection fails on linux when symbolic links to non default 
location used.
Reviewed-by: alanb, okutsu

! src/solaris/native/java/util/TimeZone_md.c



hg: jdk8/tl/corba: 7161925: sjava files in corba don't have copyright string and legal notice

2012-04-20 Thread sean . coffey
Changeset: 9cdcc0152526
Author:coffeys
Date:  2012-04-20 17:34 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/corba/rev/9cdcc0152526

7161925: sjava files in corba don't have copyright string and legal notice
Reviewed-by: chegar
Contributed-by: misha.by...@oracle.com

! src/share/classes/com/sun/corba/se/impl/orbutil/DefineWrapper.sjava
! 
src/share/classes/com/sun/corba/se/impl/presentation/rmi/IDLTypesUtil_save.sjava



hg: jdk8/tl/jdk: 7163470: Build fails if javax.crypto src files not present

2012-05-10 Thread sean . coffey
Changeset: fdf5e15293e6
Author:coffeys
Date:  2012-05-10 10:45 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/fdf5e15293e6

7163470: Build fails if javax.crypto src files not present
Reviewed-by: valeriep

! make/com/oracle/security/ucrypto/Makefile
! make/common/shared/Defs-java.gmk
! make/sun/security/ec/Makefile
! make/sun/security/mscapi/Makefile
! make/sun/security/pkcs11/Makefile
! makefiles/com/oracle/security/ucrypto/Makefile
! makefiles/common/shared/Defs-java.gmk
! makefiles/sun/security/ec/Makefile
! makefiles/sun/security/mscapi/Makefile
! makefiles/sun/security/pkcs11/Makefile



hg: jdk8/tl/jdk: 7167359: (tz) SEGV on solaris if TZ variable not set

2012-05-11 Thread sean . coffey
Changeset: 3e83229a3779
Author:coffeys
Date:  2012-05-11 10:09 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/3e83229a3779

7167359: (tz) SEGV on solaris if TZ variable not set
Reviewed-by: okutsu

! src/solaris/native/java/util/TimeZone_md.c



hg: jdk8/tl/jdk: 7156963: Incorrect copyright header in java/io/SerialCallbackContext

2012-06-15 Thread sean . coffey
Changeset: 00c9d6cce3ec
Author:coffeys
Date:  2012-06-15 14:16 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/00c9d6cce3ec

7156963: Incorrect copyright header in java/io/SerialCallbackContext
Reviewed-by: weijun, coffeys
Contributed-by: edvard.wende...@oracle.com

! src/share/classes/java/io/SerialCallbackContext.java



hg: jdk8/tl/jdk: 6893617: JDK 6 CNCtx always uses the default ORB

2012-06-27 Thread sean . coffey
Changeset: 612e56cf284c
Author:coffeys
Date:  2012-06-27 21:10 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/612e56cf284c

6893617: JDK 6 CNCtx always uses the default ORB
Reviewed-by: lancea

! src/share/classes/com/sun/jndi/cosnaming/CNCtx.java



hg: jdk8/tl/corba: 7162902: Umbrella port of a number of corba bug fixes from JDK 6 to jdk7u/8

2012-06-27 Thread sean . coffey
Changeset: 47adb42076f1
Author:coffeys
Date:  2012-06-27 21:09 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/corba/rev/47adb42076f1

7162902: Umbrella port of a number of corba bug fixes from JDK 6 to jdk7u/8
Reviewed-by: lancea

! src/share/classes/com/sun/corba/se/impl/encoding/CachedCodeBase.java
! src/share/classes/com/sun/corba/se/impl/interceptors/PIHandlerImpl.java
! src/share/classes/com/sun/corba/se/impl/interceptors/PINoOpHandlerImpl.java
! 
src/share/classes/com/sun/corba/se/impl/monitoring/MonitoringManagerFactoryImpl.java
! src/share/classes/com/sun/corba/se/impl/monitoring/MonitoringManagerImpl.java
! src/share/classes/com/sun/corba/se/impl/orb/ORBImpl.java
! src/share/classes/com/sun/corba/se/impl/orbutil/threadpool/ThreadPoolImpl.java
! 
src/share/classes/com/sun/corba/se/impl/orbutil/threadpool/ThreadPoolManagerImpl.java
! src/share/classes/com/sun/corba/se/impl/orbutil/threadpool/WorkQueueImpl.java
! src/share/classes/com/sun/corba/se/impl/protocol/CorbaMessageMediatorImpl.java
! src/share/classes/com/sun/corba/se/impl/transport/SelectorImpl.java
! src/share/classes/com/sun/corba/se/spi/logging/data/ORBUtil.mc
! src/share/classes/com/sun/corba/se/spi/monitoring/MonitoringManager.java
! 
src/share/classes/com/sun/corba/se/spi/monitoring/MonitoringManagerFactory.java
! src/share/classes/com/sun/corba/se/spi/orb/ORB.java
! src/share/classes/com/sun/corba/se/spi/orbutil/threadpool/ThreadPool.java
! 
src/share/classes/com/sun/corba/se/spi/orbutil/threadpool/ThreadPoolManager.java
! src/share/classes/com/sun/corba/se/spi/protocol/PIHandler.java
! src/share/classes/com/sun/corba/se/spi/protocol/RequestDispatcherRegistry.java



hg: jdk8/tl/jdk: 7179879: SSLSocket connect times out instead of throwing socket closed exception

2012-07-26 Thread sean . coffey
Changeset: 35fec642fd32
Author:coffeys
Date:  2012-07-26 22:00 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/35fec642fd32

7179879: SSLSocket connect times out instead of throwing socket closed exception
Reviewed-by: xuelei, chegar

! src/share/classes/sun/security/ssl/SSLSocketImpl.java



hg: jdk8/tl/jdk: 7056731: Race condition in CORBA code causes re-use of ABORTed connections

2012-08-16 Thread sean . coffey
Changeset: 39b01268b845
Author:coffeys
Date:  2012-08-16 10:35 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/39b01268b845

7056731: Race condition in CORBA code causes re-use of ABORTed connections
Reviewed-by: lancea
Contributed-by: d.macdon...@auckland.ac.nz

! test/Makefile
+ test/com/sun/corba/cachedSocket/7056731.sh
+ test/com/sun/corba/cachedSocket/Hello.idl
+ test/com/sun/corba/cachedSocket/HelloClient.java
+ test/com/sun/corba/cachedSocket/HelloServer.java



hg: jdk8/tl/corba: 7056731: Race condition in CORBA code causes re-use of ABORTed connections

2012-08-16 Thread sean . coffey
Changeset: 18a02ad8dc73
Author:coffeys
Date:  2012-08-16 10:33 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/corba/rev/18a02ad8dc73

7056731: Race condition in CORBA code causes re-use of ABORTed connections
Reviewed-by: lancea
Contributed-by: d.macdon...@auckland.ac.nz

! 
src/share/classes/com/sun/corba/se/impl/transport/CorbaResponseWaitingRoomImpl.java
! 
src/share/classes/com/sun/corba/se/impl/transport/SocketOrChannelConnectionImpl.java



hg: jdk8/tl/jdk: 7185965: Build error in javadoc make stage for bundles not containing crypto package

2012-08-16 Thread sean . coffey
Changeset: 56d8756749bd
Author:coffeys
Date:  2012-08-16 10:48 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/56d8756749bd

7185965: Build error in javadoc make stage for bundles not containing crypto 
package
Reviewed-by: chegar

! make/common/shared/Defs-java.gmk



hg: jdk8/tl/jdk: 7195063: [TEST] jtreg flags com/sun/corba/cachedSocket/7056731.sh with Error failure.

2012-08-31 Thread sean . coffey
Changeset: da1436b21bc2
Author:coffeys
Date:  2012-08-31 12:25 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/da1436b21bc2

7195063: [TEST] jtreg flags com/sun/corba/cachedSocket/7056731.sh with Error 
failure.
Reviewed-by: chegar

! test/com/sun/corba/cachedSocket/7056731.sh



hg: jdk8/tl/jdk: 7180362: RFE: Implement date cutover functionality for currency.properties file

2012-09-07 Thread sean . coffey
Changeset: fffbb33df102
Author:coffeys
Date:  2012-09-07 21:22 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/fffbb33df102

7180362: RFE: Implement date cutover functionality for currency.properties file
Reviewed-by: naoto

! src/share/classes/java/util/Currency.java
! test/java/util/Currency/PropertiesTest.java
! test/java/util/Currency/PropertiesTest.sh
! test/java/util/Currency/currency.properties



hg: jdk8/tl/jdk: 7196533: TimeZone.getDefault() slow due to synchronization bottleneck

2012-10-09 Thread sean . coffey
Changeset: fecba6a8b78e
Author:coffeys
Date:  2012-10-09 12:50 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/fecba6a8b78e

7196533: TimeZone.getDefault() slow due to synchronization bottleneck
Reviewed-by: okutsu

! src/share/classes/java/util/TimeZone.java



hg: jdk8/tl/jdk: 7181793: Socket getOutputStream create streams that cannot be GC'ed until Socket is closed

2012-10-09 Thread sean . coffey
Changeset: 71de5e31d497
Author:coffeys
Date:  2012-10-09 19:45 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/71de5e31d497

7181793: Socket getOutputStream create streams that cannot be GC'ed until 
Socket is closed
Reviewed-by: alanb, chegar

! src/share/classes/java/net/AbstractPlainSocketImpl.java
+ test/java/net/Socket/SocketGrowth.java



hg: jdk8/tl/corba: 7196086: update copyright years for files in corba repository (JDK 8)

2012-10-09 Thread sean . coffey
Changeset: 679e8ad9874f
Author:coffeys
Date:  2012-10-09 20:14 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/corba/rev/679e8ad9874f

7196086: update copyright years for files in corba repository (JDK 8)
Reviewed-by: lancea

! make/common/Defs-bsd.gmk
! make/common/internal/Resources.gmk
! make/common/shared/Defs-bsd.gmk
! make/common/shared/Defs-utils.gmk
! make/tools/src/build/tools/stripproperties/StripPropertiesCorba.java
! make/tools/strip_properties/Makefile



hg: jdk8/tl/jdk: 2 new changesets

2013-02-19 Thread sean . coffey
Changeset: 885bb24f6018
Author:coffeys
Date:  2013-02-19 14:07 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/885bb24f6018

7197187: Currency.isPastCutoverDate should be made more robust
Reviewed-by: alanb

! src/share/classes/java/util/Currency.java

Changeset: 01b6b0dd2006
Author:coffeys
Date:  2013-02-19 14:12 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/01b6b0dd2006

8007315: HttpURLConnection.filterHeaderField method returns null where empty 
string is expected
Reviewed-by: chegar

! src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java
! test/sun/net/www/protocol/http/HttpOnly.java



RFR: 8250968: Symlinks attributes not preserved when using jarsigner on zip files

2020-09-07 Thread Sean Coffey
Continuation of RFR thread from 
http://mail.openjdk.java.net/pipermail/security-dev/2020-August/022373.html

CSR has been approved.

-

Commit messages:
 - JDK-8250968

Changes: https://git.openjdk.java.net/jdk/pull/56/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=56&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8250968
  Stats: 198 lines in 10 files changed: 162 ins; 1 del; 35 mod
  Patch: https://git.openjdk.java.net/jdk/pull/56.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/56/head:pull/56

PR: https://git.openjdk.java.net/jdk/pull/56


Re: RFR: 8250968: Symlinks attributes not preserved when using jarsigner on zip files [v2]

2020-09-07 Thread Sean Coffey
> Continuation of RFR thread from 
> http://mail.openjdk.java.net/pipermail/security-dev/2020-August/022373.html
> 
> CSR has been approved.

Sean Coffey has updated the pull request incrementally with one additional 
commit since the last revision:

  Copyright and test clean up

-

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/56/files
  - new: https://git.openjdk.java.net/jdk/pull/56/files/2f656ce0..27cb91f3

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=56&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=56&range=00-01

  Stats: 3 lines in 3 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/56.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/56/head:pull/56

PR: https://git.openjdk.java.net/jdk/pull/56


Integrated: 8250968: Symlinks attributes not preserved when using jarsigner on zip files

2020-09-07 Thread Sean Coffey
On Mon, 7 Sep 2020 13:48:57 GMT, Sean Coffey  wrote:

> Continuation of RFR thread from 
> http://mail.openjdk.java.net/pipermail/security-dev/2020-August/022373.html
> 
> CSR has been approved.

This pull request has now been integrated.

Changeset: 7686e871
Author:    Sean Coffey 
URL:   https://git.openjdk.java.net/jdk/commit/7686e871
Stats: 200 lines in 10 files changed: 1 ins; 162 del; 37 mod

8250968: Symlinks attributes not preserved when using jarsigner on zip files

Reviewed-by: lancea, weijun, hchao

-

PR: https://git.openjdk.java.net/jdk/pull/56


Re: [8u-dev] Request for Review and Approval to backport: 8160518: Semicolon is not recognized as comment starting character (Kerberos)

2016-07-09 Thread Sean Coffey

Looks fine. Approved for jdk8u-dev.

regards,
Sean.

On 08/07/2016 18:04, Ivan Gerasimov wrote:

Hello!

I'd like to backport this fix into jdk8u-dev.
The fix is essentially the same as in jdk9, but could not be used 
verbatim because of the code derivation.


Bug: https://bugs.openjdk.java.net/browse/JDK-8160518
Jdk9 change: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/4d5c6e8bad2d
Jdk9 review: 
http://mail.openjdk.java.net/pipermail/security-dev/2016-July/014377.html

Jdk8 webrev: http://cr.openjdk.java.net/~igerasim/8160518/01/webrev/

Would you please help review it and approve the backport?

With kind regards,
Ivan





Re: RFR: 8061842: Package jurisdiction policy files as something other than JAR

2016-08-25 Thread Sean Coffey

Looks good Brad. One comment :

You might hit an NPE here but I guess the Exception handling in the 
parent call would handle it :


JceSecurity.java :
 254 if (Paths.get(cryptoPolicyProperty).getNameCount() != 1) {

Maybe add a null check to be cleaner ?

I missed the "crypto.policy=crypto.policydir-tbd" approach in 1st 
revision. Isn't it going to confuse people studying the code ? This 
value gets replaced at build time - right ? What about changing it to 
something like :

"crypto.policy=$crypto.policydir-tbd //replaced at build time"

and having the make files search for that string instead ? I think it 
makes the intent more obvious.


Regards,
Sean.

On 25/08/2016 01:21, Bradford Wetmore wrote:

Max/SeanC/SeanM,

The latest update:

http://cr.openjdk.java.net/~wetmore/8061842/webrev.02/

On 8/17/2016 9:26 PM, Wang Weijun wrote:
Before this change, you require default policy in neither export nor 
import to be empty but do not care about the getMinimum() result. In 
this change, you make sure the final result is not empty. I assume 
this is a fix?


I made the change to allow for our traditional (default) export/import 
mechanism, but other additional styles could be added/used.  Since we 
no longer sign, distros are free to edit, add and/or remove files.  
But before doing any JCE operation, the environment needs to grant 
something, otherwise there are no perms and no JCE available.



283 // Did we find a default perms?

What does this line mean?


I've moved to the right position in the file.  I meant did we find a 
default perms file, vs an exempt.



296 // This should never happen

But you can still print out the file name.


I'm concerned that the exception might print out the entire path 
instead of just the filename, which would include java.home and 
probably should not be made available.


Can you rename policydir-tbd to something else? I am afraid it will 
be confused with policy.url.1 etc.


Changed to:  crypto.policydir-tbd?

The original README.TXT in unlimited says "are exportable from the 
United States." and you have "is exportable." now. Is this intended? 
(IANAL)


Changed.


TestUnlimited.java:
45 "// Use the AES are the test Cipher", you mean "Use AES as the 
test Cipher"?
51 "throw new Exception ("Unlimited policy is NOT active");". No 
space before "(".


Fixed.

Sean Mullan wrote:

 > What about setting the default value to "limited"? And then this
 > would only be changed to "unlimited" if the build --enable-unlimited-
 > crypto option is specified?

I could, but I'm concerned that a build with 
--enabled-unlimited-crypto would expect that the compiled-in version 
default would also be unlimited and would be surprised with limited.


Upon Max's suggestion above, I've changed the name of the marker to 
"crypto.policy=crypto.policydir-tbd."  Does that work for you?


 > Instead of throwing an exception here, I wonder if it would make more
 > sense to assume a default value of "limited" if the property is not
 > set or is empty.

We could, but see above.

Sean Coffey wrote:

> Please include the exception 'e' in your last exception here.

Again, I'm concerned about outputting java.home, so I'm just going to 
output the final directory name.


> 3. Test case.
>
> The TestUnlimited.java testcase seems to be lacking. Do you want to
> test other values for crypto.policy ? 'limited' would be one.
> Throwing in some dummy value would also be good so that the exception
> handling code gets exercised.

Done.

 * @run main/othervm TestUnlimited limited fail
 * @run main/othervm TestUnlimited unlimited pass
 * @run main/othervm TestUnlimited NosuchDir exception
 * @run main/othervm TestUnlimited . exception
 * @run main/othervm TestUnlimited /tmp/unlimited exception
 * @run main/othervm TestUnlimited ../policy/unlimited exception
 * @run main/othervm TestUnlimited ./unlimited exception

> It needs to be run in ovm mode since you're setting a Security
> property.

Yes, good catch.

Brad





Re: RFR: 8273553: sun.security.ssl.SSLEngineImpl.closeInbound also has similar error of JDK-8253368

2022-03-21 Thread Sean Coffey
On Sat, 12 Mar 2022 00:55:07 GMT, Bradford Wetmore  wrote:

> JDK-8253368 changed the behavior of SSLSocket to no longer throw a fatal 
> internal_error (80) and invalidate existing sessions (either completed or 
> under construction) as described in (RFC 4346/TLSv1.1+) if a connection was 
> closed without receiving a close_notify alert from the peer.  
> 
> This change introduces similar behavior to SSLEngine.
> 
> The unit test checks that closing the read(input) sides of the 
> SSLSocket/SSLEngine throws an SSLException, but doesn't invalidate their 
> respective sessions.
> 
> Tier1/2 mach5 tests have been successfully run.

test/jdk/sun/security/ssl/SSLSocketImpl/SSLSocketSSLEngineCloseInbound.java 
line 130:

> 128:  * The following is to set up the keystores/trust material.
> 129:  */
> 130: private static final String pathToStores = 
> "../../../../javax/net/ssl/etc";

I think the advise is to move away from binary style keystores. i.e. to use 
test/jdk/javax/net/ssl/templates/SSLContextTemplate.java for a replacement. Is 
that possible here ?

-

PR: https://git.openjdk.java.net/jdk/pull/7796


Re: RFR: 8273553: sun.security.ssl.SSLEngineImpl.closeInbound also has similar error of JDK-8253368

2022-03-22 Thread Sean Coffey
On Tue, 22 Mar 2022 00:24:41 GMT, Bradford Wetmore  wrote:

>> test/jdk/sun/security/ssl/SSLSocketImpl/SSLSocketSSLEngineCloseInbound.java 
>> line 130:
>> 
>>> 128:  * The following is to set up the keystores/trust material.
>>> 129:  */
>>> 130: private static final String pathToStores = 
>>> "../../../../javax/net/ssl/etc";
>> 
>> I think the advise is to move away from binary style keystores. i.e. to use 
>> test/jdk/javax/net/ssl/templates/SSLContextTemplate.java for a replacement. 
>> Is that possible here ?
>
> Sigh...this is a whole can of worms I wasn't expecting.  Looks like one 
> person did the SSLContextTemplate and updated with SSLEngineTemplate, then 
> another person took a completely different takes with SSLSocketTemplate, and 
> then SSLSocketSSLEngineTemplate didn't get touched at all.  
> 
> This should really be harmonized.  :(

ouch - maybe this should be fixed up in a separate bug then. Don't think it 
should be a blocker for this fix

-

PR: https://git.openjdk.java.net/jdk/pull/7796


Re: RFR: 8273553: sun.security.ssl.SSLEngineImpl.closeInbound also has similar error of JDK-8253368

2022-03-22 Thread Sean Coffey
On Sat, 12 Mar 2022 00:55:07 GMT, Bradford Wetmore  wrote:

> JDK-8253368 changed the behavior of SSLSocket to no longer throw a fatal 
> internal_error (80) and invalidate existing sessions (either completed or 
> under construction) as described in (RFC 4346/TLSv1.1+) if a connection was 
> closed without receiving a close_notify alert from the peer.  
> 
> This change introduces similar behavior to SSLEngine.
> 
> The unit test checks that closing the read(input) sides of the 
> SSLSocket/SSLEngine throws an SSLException, but doesn't invalidate their 
> respective sessions.
> 
> Tier1/2 mach5 tests have been successfully run.

Marked as reviewed by coffeys (Reviewer).

-

PR: https://git.openjdk.java.net/jdk/pull/7796


Re: RFR: 8284415: Collapse identical catch branches in security libs

2022-04-06 Thread Sean Coffey
On Fri, 1 Apr 2022 07:32:21 GMT, Andrey Turbanov  wrote:

> Let's take advantage of Java 7 language feature - "Catching Multiple 
> Exception Types".
> It simplifies code. Reduces duplication.
> Found by IntelliJ IDEA inspection `Identical 'catch' branches in 'try' 
> statement`

Looks fine!

-

Marked as reviewed by coffeys (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8068


Re: RFR: 8284694: Avoid evaluating SSLAlgorithmConstraints twice

2022-04-13 Thread Sean Coffey
On Tue, 12 Apr 2022 11:28:12 GMT, Daniel Jeliński  wrote:

> During TLS handshake, hundreds of constraints are evaluated to determine 
> which cipher suites are usable. Most of the evaluations are performed using 
> `HandshakeContext#algorithmConstraints` object. By default that object 
> contains a `SSLAlgorithmConstraints` instance wrapping another 
> `SSLAlgorithmConstraints` instance. As a result the constraints defined in 
> `SSLAlgorithmConstraints` are evaluated twice.
> 
> This PR improves the default case; if the user-specified constraints are left 
> at defaults, we use a single `SSLAlgorithmConstraints` instance, and avoid 
> duplicate checks.

Nice work. I've been looking at this area myself in recent weeks also while 
debugging some JDK 11u performance issues. JFR shows this area as costly. Some 
other JDK fixes in this area have already improved performance. This will 
certainly help. Pasting a stacktrace[1] from an old Oracle JDK 11.0.12 report 
for history purposes. 

I think there are other improvements that can be made in the TLS constraints 
code. Caching the last known values from a constraints permits test is 
something I've begun looking into.

[1]
Stack Trace Count   Percentage
boolean java.lang.StringLatin1.regionMatchesCI(byte[], int, byte[], int, int)   
1637100 %
boolean java.lang.String.regionMatches(boolean, int, String, int, int)  1637
100 %
boolean java.lang.String.equalsIgnoreCase(String)   1637100 %
boolean sun.security.util.AbstractAlgorithmConstraints.checkAlgorithm(List, 
String, AlgorithmDecomposer)163199.6 %
boolean sun.security.util.DisabledAlgorithmConstraints.permits(Set, String, 
AlgorithmParameters)163199.6 %
boolean sun.security.ssl.SSLAlgorithmConstraints.permits(Set, String, 
AlgorithmParameters)  163199.6 %
boolean sun.security.ssl.SSLAlgorithmConstraints.permits(Set, String, 
AlgorithmParameters)  836 51.1 %
boolean sun.security.ssl.HandshakeContext.isActivatable(CipherSuite, 
AlgorithmConstraints, Map) 428 26.1 %
List sun.security.ssl.HandshakeContext.getActiveCipherSuites(List, List, 
AlgorithmConstraints)  418 25.5 %
void sun.security.ssl.HandshakeContext.(SSLContextImpl, TransportContext) 
418 25.5 %
void sun.security.ssl.ClientHandshakeContext.(SSLContextImpl, 
TransportContext)   418 25.5 %
void sun.security.ssl.TransportContext.kickstart()  418 25.5 %
void sun.security.ssl.SSLSocketImpl.startHandshake(boolean) 418 25.5 %
void sun.security.ssl.SSLSocketImpl.startHandshake()418 25.5 %

-

Marked as reviewed by coffeys (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8199


Re: RFR: 8285398: Cache the results of constraint checks

2022-04-25 Thread Sean Coffey
On Thu, 21 Apr 2022 19:58:39 GMT, Daniel Jeliński  wrote:

> Profiling the TLS handshakes using SSLHandshake benchmark shows that a large 
> portion of time is spent in HandshakeContext initialization, specifically in 
> DisabledAlgorithmConstraints class.
> 
> There are only a few instances of that class, and they are immutable. Caching 
> the results should be a low-risk operation.
> 
> The cache is implemented as a softly reachable ConcurrentHashMap; this way it 
> can be removed from memory after a period of inactivity. Under normal 
> circumstances the cache holds no more than 100 algorithms.

Another nice performance boost in this area. Looks good to me.

-

Marked as reviewed by coffeys (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8349


Re: RFR: 8286433: Cache certificates decoded from TLS session tickets

2022-05-11 Thread Sean Coffey
On Mon, 9 May 2022 19:38:36 GMT, Daniel Jeliński  wrote:

> When a TLS server resumes a session from a stateless session ticket, it 
> populates the `SSLSessionImpl`'s `localCerts` and `peerCerts` fields with 
> certificates deserialized from the session ticket. These certificates are 
> often the same across a large number of tickets.
> 
> This patch implements a certificate cache lookup for these certificates. This 
> enables us to avoid deserializing the same certificates repeatedly, and saves 
> memory by reusing the same certificate objects.

Nice work. LGTM.

-

Marked as reviewed by coffeys (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8608


Re: RFR: 8277307: Pre shared key sent under both session_ticket and pre_shared_key extensions

2022-05-31 Thread Sean Coffey
On Fri, 27 May 2022 13:20:24 GMT, Daniel Jeliński  wrote:

> Session ticket extension should only contain pre-TLS1.3 stateless session 
> tickets; it should not be used for sending TLS1.3 pre-shared keys.

src/java.base/share/classes/sun/security/ssl/SessionTicketExtension.java line 
410:

> 408: || chc.resumingSession.getPskIdentity() == null
> 409: || !Arrays.asList(ProtocolVersion.PROTOCOLS_10_12)
> 410: 
> .contains(chc.resumingSession.getProtocolVersion())) {

would  `chc.resumingSession.getProtocolVersion().useTLS13PlusSpec()` read 
better for your last condition ? Might save on Array allocations also ?

-

PR: https://git.openjdk.java.net/jdk/pull/8922


Re: RFR: 8277307: Pre shared key sent under both session_ticket and pre_shared_key extensions [v2]

2022-06-03 Thread Sean Coffey
On Thu, 2 Jun 2022 21:02:16 GMT, Daniel Jeliński  wrote:

>> Session ticket extension should only contain pre-TLS1.3 stateless session 
>> tickets; it should not be used for sending TLS1.3 pre-shared keys.
>
> Daniel Jeliński has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   different check for TLS13

Looks good to me

-

Marked as reviewed by coffeys (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8922


RFR: 8253368: TLS connection always receives close_notify exception

2020-11-13 Thread Sean Coffey
removing the "closing inbound before receiving peer's close_notify" exception 
that can be seen with TLS stack if calling close on inbound. After reading the 
relevant parts of the TLS v1.2/v1.3 RFCs, I believe the local end point doesn't 
have to wait for close_notify alert from remote end.

-

Commit messages:
 - 8253368: TLS connection always receives close_notify exception

Changes: https://git.openjdk.java.net/jdk/pull/1205/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1205&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8253368
  Stats: 25 lines in 2 files changed: 12 ins; 10 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1205.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1205/head:pull/1205

PR: https://git.openjdk.java.net/jdk/pull/1205


Re: RFR: 8256202: Some tweaks for jarsigner tests PosixPermissionsTest and SymLinkTest

2020-11-13 Thread Sean Coffey
On Thu, 12 Nov 2020 06:44:27 GMT, Matthias Baesken  wrote:

>> Marked as reviewed by mbaesken (Reviewer).
>
> Looks good to me !

Meant to comment earlier. Thanks for cleaning this one up!

-

PR: https://git.openjdk.java.net/jdk/pull/1166


Re: RFR: 8256363: Define toString() for MGF1ParameterSpec

2020-11-16 Thread Sean Coffey
On Fri, 13 Nov 2020 21:18:30 GMT, Weijun Wang  wrote:

>> Without this method, `PSSParameterSpec::toString` shows something like:
>> MD: SHA-256
>> MGF: java.security.spec.MGF1ParameterSpec@77b52d12
>> SaltLength: 32
>> TrailerField: 1
>> This is ugly.
>> 
>> Noreg-trivial.
>
> Do you want me to consolidate `PSSParameterSpec::toString` into one line? 
> Multi-line toString is usually not very friendly to debug output (esp for 
> grep).

tidying PSSParameterSpec::toString into 1 line would be useful. thanks!

-

PR: https://git.openjdk.java.net/jdk/pull/1208


Re: RFR: 8256363: Define toString() for MGF1ParameterSpec [v2]

2020-11-16 Thread Sean Coffey
On Mon, 16 Nov 2020 14:25:20 GMT, Weijun Wang  wrote:

>> Without this method, `PSSParameterSpec::toString` shows something like:
>> MD: SHA-256
>> MGF: java.security.spec.MGF1ParameterSpec@77b52d12
>> SaltLength: 32
>> TrailerField: 1
>> This is ugly.
>> 
>> Noreg-trivial.
>
> Weijun Wang has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   make PSSParameterSpec one line
>   
>   only in patch2:
>   unchanged:

minor comment on spacing for MGF1 toString()

src/java.base/share/classes/java/security/spec/MGF1ParameterSpec.java line 168:

> 166: @Override
> 167: public String toString() {
> 168: return "MGF1:" + mdName;

do you want to insert a space after ':' ?

-

PR: https://git.openjdk.java.net/jdk/pull/1208


Re: RFR: 8202343: Disable TLS 1.0 and 1.1 [v2]

2020-11-18 Thread Sean Coffey
On Tue, 17 Nov 2020 17:55:19 GMT, Sean Mullan  wrote:

>> This change disables the TLSv1 and TLSv1.1 protocols by adding them to the 
>> jdk.tls.disabledAlgorithms security property in the java.security file. 
>> These protocols use weak algorithms and are being deprecated by the IETF. 
>> They should be disabled by default to improve the default security 
>> configuration of the JDK. See the CSR for more rationale: 
>> https://bugs.openjdk.java.net/browse/JDK-8254713
>> 
>> The fix mostly involves changes to existing tests that for one reason or 
>> another depend on the TLSv1 and TLSv1.1 protocols being enabled. There is a 
>> new test specifically for this issue: 
>> test/jdk/sun/security/ssl/SSLContextImpl/SSLContextDefault.java
>
> Sean Mullan has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   More test changes.

Marked as reviewed by coffeys (Reviewer).

test/lib/jdk/test/lib/security/SecurityUtils.java line 64:

> 62: }
> 63: 
> 64: private static void removeFromDisabledAlgs(String prop, List 
> algs) {

Useful utility method. Maybe it can be made public/ opened up and renamed to 
something like "removeFromSecurityProperty" perhaps  ? could be done at a later 
time perhaps.

-

PR: https://git.openjdk.java.net/jdk/pull/1235


Re: RFR: 8253368: TLS connection always receives close_notify exception

2020-12-22 Thread Sean Coffey
On Fri, 13 Nov 2020 14:16:35 GMT, Sean Coffey  wrote:

> removing the "closing inbound before receiving peer's close_notify" exception 
> that can be seen with TLS stack if calling close on inbound. After reading 
> the relevant parts of the TLS v1.2/v1.3 RFCs, I believe the local end point 
> doesn't have to wait for close_notify alert from remote end.

@XueleiFan I went ahead with your advice and chose to keep the check in the 
code. Since JDK 11, this code path would have thrown an SSLException. I've 
chosen to keep that instead of introduce another 
Exception(UnsupportedOperationException) -- which  would be new for some 
application stacks. I've looked at the apache core-http stack and know that it 
catches and ignores SSLException in these cases.

The important change here is that the exception is not fatal and the session 
remains valid. Socket is closed out in a finally block. test case updated also.

-

PR: https://git.openjdk.java.net/jdk/pull/1205


Re: RFR: 8253368: TLS connection always receives close_notify exception [v2]

2020-12-22 Thread Sean Coffey
> removing the "closing inbound before receiving peer's close_notify" exception 
> that can be seen with TLS stack if calling close on inbound. After reading 
> the relevant parts of the TLS v1.2/v1.3 RFCs, I believe the local end point 
> doesn't have to wait for close_notify alert from remote end.

Sean Coffey has updated the pull request with a new target base due to a merge 
or a rebase. The incremental webrev excludes the unrelated changes brought in 
by the merge/rebase. The pull request contains three additional commits since 
the last revision:

 - version 2 redesign
 - Merge branch 'master' of https://github.com/openjdk/jdk into JDK-8253368
 - 8253368: TLS connection always receives close_notify exception

-

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/1205/files
  - new: https://git.openjdk.java.net/jdk/pull/1205/files/85d41030..86d9dac5

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1205&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1205&range=00-01

  Stats: 284235 lines in 2912 files changed: 188350 ins; 66757 del; 29128 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1205.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1205/head:pull/1205

PR: https://git.openjdk.java.net/jdk/pull/1205


Integrated: 8253368: TLS connection always receives close_notify exception

2020-12-23 Thread Sean Coffey
On Fri, 13 Nov 2020 14:16:35 GMT, Sean Coffey  wrote:

> removing the "closing inbound before receiving peer's close_notify" exception 
> that can be seen with TLS stack if calling close on inbound. After reading 
> the relevant parts of the TLS v1.2/v1.3 RFCs, I believe the local end point 
> doesn't have to wait for close_notify alert from remote end.

This pull request has now been integrated.

Changeset: a4e082e9
Author:Sean Coffey 
URL:   https://git.openjdk.java.net/jdk/commit/a4e082e9
Stats: 37 lines in 2 files changed: 25 ins; 0 del; 12 mod

8253368: TLS connection always receives close_notify exception

Reviewed-by: xuelei

-

PR: https://git.openjdk.java.net/jdk/pull/1205


Re: RFR: 8253635: Implement toString() for SSLEngineImpl

2021-01-11 Thread Sean Coffey
On Mon, 11 Jan 2021 04:57:19 GMT, Xue-Lei Andrew Fan  wrote:

> The SSLSocketImpl and SSLEngineImpl implementation does not override the 
> toString() method.  The old code did.  BTW, I also made a few code clean up 
> in the SSLSocketImpl.java.
> 
> Code clean up, trivial update, no new regression test.

Looks good

-

Marked as reviewed by coffeys (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/2019


RFR: 8255348: NPE in PKIXCertPathValidator event logging code

2021-01-19 Thread Sean Coffey
Correction of NPE and updating of test cases. Minor refactoring of test library 
also.

-

Commit messages:
 - 8255348: NPE in PKIXCertPathValidator event logging code

Changes: https://git.openjdk.java.net/jdk/pull/2150/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2150&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8255348
  Stats: 83 lines in 6 files changed: 60 ins; 2 del; 21 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2150.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2150/head:pull/2150

PR: https://git.openjdk.java.net/jdk/pull/2150


Re: RFR: 8255348: NPE in PKIXCertPathValidator event logging code [v2]

2021-01-22 Thread Sean Coffey
> Correction of NPE and updating of test cases. Minor refactoring of test 
> library also.

Sean Coffey has updated the pull request incrementally with one additional 
commit since the last revision:

  Sean Mullan review update

-

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2150/files
  - new: https://git.openjdk.java.net/jdk/pull/2150/files/a59dd592..8a344a85

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2150&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2150&range=00-01

  Stats: 10 lines in 1 file changed: 0 ins; 7 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2150.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2150/head:pull/2150

PR: https://git.openjdk.java.net/jdk/pull/2150


Integrated: 8255348: NPE in PKIXCertPathValidator event logging code

2021-01-22 Thread Sean Coffey
On Tue, 19 Jan 2021 17:54:33 GMT, Sean Coffey  wrote:

> Correction of NPE and updating of test cases. Minor refactoring of test 
> library also.

This pull request has now been integrated.

Changeset: 18eb6d9e
Author:    Sean Coffey 
URL:   https://git.openjdk.java.net/jdk/commit/18eb6d9e
Stats: 77 lines in 6 files changed: 53 ins; 2 del; 22 mod

8255348: NPE in PKIXCertPathValidator event logging code

Reviewed-by: mullan

-

PR: https://git.openjdk.java.net/jdk/pull/2150


Re: RFR: 8257497: Key identifier compliance issue

2021-02-05 Thread Sean Coffey
On Mon, 1 Feb 2021 23:06:30 GMT, Hai-May Chao  wrote:

> This change is made for compliance with RFC 5280 section 4.2.1.1 for 
> Authority Key Identifier extension.

Marked as reviewed by coffeys (Reviewer).

-

PR: https://git.openjdk.java.net/jdk/pull/2343


Re: RFR: 8261160: Add a deserialization JFR event

2021-02-10 Thread Sean Coffey
On Tue, 9 Feb 2021 12:35:27 GMT, Chris Hegarty  wrote:

> This issue adds a new event to improve diagnostic information of Java 
> deserialization. The event captures the details of deserialization activity 
> from ObjectInputStream. The event details are similar to that of the serial 
> filter, but is agnostic of whether a filter is installed or not. The event 
> also captures the filter status, if there is one.

Marked as reviewed by coffeys (Reviewer).

test/jdk/java/io/Serializable/serialFilter/GlobalFilterTest.java line 50:

> 48:  *  -Dexpected-jdk.serialFilter=java.** GlobalFilterTest
> 49:  * @run testng/othervm/policy=security.policy GlobalFilterTest
> 50:  * @run testng/othervm/policy=security.policy

You may want to add a "@requires vm.hasJFR" condition to this test

-

PR: https://git.openjdk.java.net/jdk/pull/2479


Re: RFR: 8261160: Add a deserialization JFR event [v3]

2021-02-11 Thread Sean Coffey
On Thu, 11 Feb 2021 15:28:07 GMT, Chris Hegarty  wrote:

>> This issue adds a new event to improve diagnostic information of Java 
>> deserialization. The event captures the details of deserialization activity 
>> from ObjectInputStream. The event details are similar to that of the serial 
>> filter, but is agnostic of whether a filter is installed or not. The event 
>> also captures the filter status, if there is one.
>
> Chris Hegarty has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Fix failing test

Marked as reviewed by coffeys (Reviewer).

-

PR: https://git.openjdk.java.net/jdk/pull/2479


Re: RFR: 8261160: Add a deserialization JFR event [v5]

2021-02-12 Thread Sean Coffey
On Fri, 12 Feb 2021 16:26:09 GMT, Chris Hegarty  wrote:

>> This issue adds a new event to improve diagnostic information of Java 
>> deserialization. The event captures the details of deserialization activity 
>> from ObjectInputStream. The event details are similar to that of the serial 
>> filter, but is agnostic of whether a filter is installed or not. The event 
>> also captures the filter status, if there is one.
>
> Chris Hegarty has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Split exception into type and message

Marked as reviewed by coffeys (Reviewer).

-

PR: https://git.openjdk.java.net/jdk/pull/2479


Re: RFR: 8260923: Add more tests for SSLSocket input/output shutdown [v2]

2021-04-09 Thread Sean Coffey
On Fri, 9 Apr 2021 11:15:40 GMT, Abdul Kolarkunnu  
wrote:

>> There is a lack of tests in the area of  java.net.Socket.shutdownInput() and 
>> java.net.Socket.shutdownOutput() , so added more tests in this area of with 
>> different TLS versions. Please review.
>
> Abdul Kolarkunnu has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   8260923: Add more tests for SSLSocket input/output shutdown

Marked as reviewed by coffeys (Reviewer).

-

PR: https://git.openjdk.java.net/jdk/pull/2745


Re: RFR: 8260923: Add more tests for SSLSocket input/output shutdown

2021-04-09 Thread Sean Coffey
On Tue, 2 Mar 2021 10:31:03 GMT, Abdul Kolarkunnu  
wrote:

>> There is a lack of tests in the area of  java.net.Socket.shutdownInput() and 
>> java.net.Socket.shutdownOutput() , so added more tests in this area of with 
>> different TLS versions. Please review.
>
> @coffeys

Thanks for increasing code coverage here. Looks fine to me.

-

PR: https://git.openjdk.java.net/jdk/pull/2745


RFR: 8240256: Better resource cleaning for SunPKCS11 Provider

2021-04-16 Thread Sean Coffey
Added capability to allow the PKCS11 Token to be destroyed once a session is 
logged out from. New configuration properties via pkcs11 config file. Cleaned 
up the native resource poller also.

New unit test case to test behaviour. Some PKCS11 tests refactored to allow 
pkcs11 provider to be configured (and tested) with a config file of choice.

Reviewer request @valeriepeng

-

Commit messages:
 - 8240256: Better resource cleaning for SunPKCS11 Provider

Changes: https://git.openjdk.java.net/jdk/pull/3544/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3544&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8240256
  Stats: 604 lines in 13 files changed: 493 ins; 63 del; 48 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3544.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3544/head:pull/3544

PR: https://git.openjdk.java.net/jdk/pull/3544


RFR: 8236671: NullPointerException in JKS keystore

2021-04-20 Thread Sean Coffey
Trivial enough change. Improved the exception thrown from JceKeyStore also.

-

Commit messages:
 - Fix white space
 - 8236671: NullPointerException in JKS keystore

Changes: https://git.openjdk.java.net/jdk/pull/3588/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3588&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8236671
  Stats: 17 lines in 3 files changed: 14 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3588.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3588/head:pull/3588

PR: https://git.openjdk.java.net/jdk/pull/3588


Re: RFR: 8236671: NullPointerException in JKS keystore

2021-04-20 Thread Sean Coffey
On Tue, 20 Apr 2021 17:00:40 GMT, Xue-Lei Andrew Fan  wrote:

> It looks like a public behavior change to me. Did you want to file a CSR and 
> update the specification (KeyStore) as well? I think it would be nice if we 
> could keep use the old exception, IllegalArgumentException, as described in 
> the bug.

@XueleiFan  - The spec in question has been broken for almost 3 years with the 
throwing of NPE.

One issue here is that Sun provider with JKS keystore will throw 
IllegalArgumentException in older JDK versions but the SunJCE provider and 
JCEKS keystore throws KeyStoreException when null password is encountered . 
There's a mismatch. To me, it looks like KeyStoreException is the correct 
exception in such scenarios (and according to API spec)

I can file a CSR to have the implementation adhere to spec if that's desired.

-

PR: https://git.openjdk.java.net/jdk/pull/3588


Re: RFR: 8196415: Disable SHA-1 Signed JARs

2021-04-27 Thread Sean Coffey
On Mon, 26 Apr 2021 17:29:26 GMT, Sean Mullan  wrote:

> This change will restrict JARs signed with SHA-1 algorithms and treat them as 
> if they were unsigned. This applies to the algorithms used to digest, sign, 
> and optionally timestamp the JAR. It also applies to the signature and digest 
> algorithms of the certificates in the certificate chain of the code signer 
> and the Timestamp Authority, and any CRLs or OCSP responses that are used to 
> verify if those certificates have been revoked.
> 
> In order to reduce the compatibility risk for applications that have been 
> previously timestamped or use private CAs, there are two exceptions to this 
> policy:
> 
> - Any JAR signed with SHA-1 algorithms and timestamped prior to January 01, 
> 2019 will not be restricted.
> - Any JAR signed with a SHA-1 certificate that does not chain back to a Root 
> CA included by default in the JDK `cacerts` keystore will not be restricted.
> 
> These exceptions may be removed in a future JDK release.
> 
> All tests are in the closed repo for now.
> 
> CSR: https://bugs.openjdk.java.net/browse/JDK-8264362

Marked as reviewed by coffeys (Reviewer).

-

PR: https://git.openjdk.java.net/jdk/pull/3700


Re: RFR: 8236671: NullPointerException in JKS keystore [v2]

2021-04-28 Thread Sean Coffey
> Trivial enough change. Improved the exception thrown from JceKeyStore also.

Sean Coffey has updated the pull request with a new target base due to a merge 
or a rebase. The incremental webrev excludes the unrelated changes brought in 
by the merge/rebase. The pull request contains four additional commits since 
the last revision:

 - Check for null before try block
 - Merge branch 'master' of https://github.com/openjdk/jdk into JDK-8236671-NPE
 - Fix white space
 - 8236671: NullPointerException in JKS keystore

-

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3588/files
  - new: https://git.openjdk.java.net/jdk/pull/3588/files/836ea7e7..54baaad7

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3588&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3588&range=00-01

  Stats: 42439 lines in 1504 files changed: 9588 ins; 28041 del; 4810 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3588.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3588/head:pull/3588

PR: https://git.openjdk.java.net/jdk/pull/3588


Re: RFR: 8266220: keytool still prompt for store password on a password-less pkcs12 file if -storetype pkcs12 is specified [v2]

2021-04-30 Thread Sean Coffey
On Thu, 29 Apr 2021 17:51:17 GMT, Weijun Wang  wrote:

>> It's awkward that for a password-less pkcs12 keystore, `keytool -list` does 
>> not prompt for a password but `keytool -list -storetype pkcs12` does.
>
> Weijun Wang has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   close stream carefully

Marked as reviewed by coffeys (Reviewer).

-

PR: https://git.openjdk.java.net/jdk/pull/3764


Re: RFR: 8236671: NullPointerException in JKS keystore [v2]

2021-04-30 Thread Sean Coffey
On Wed, 28 Apr 2021 12:39:42 GMT, Sean Coffey  wrote:

>> Trivial enough change. Improved the exception thrown from JceKeyStore also.
>
> Sean Coffey has updated the pull request with a new target base due to a 
> merge or a rebase. The incremental webrev excludes the unrelated changes 
> brought in by the merge/rebase. The pull request contains four additional 
> commits since the last revision:
> 
>  - Check for null before try block
>  - Merge branch 'master' of https://github.com/openjdk/jdk into 
> JDK-8236671-NPE
>  - Fix white space
>  - 8236671: NullPointerException in JKS keystore

KeyStore specification will be tightened up via another bug record: 
https://bugs.openjdk.java.net/browse/JDK-8266351

-

PR: https://git.openjdk.java.net/jdk/pull/3588


Integrated: 8236671: NullPointerException in JKS keystore

2021-04-30 Thread Sean Coffey
On Tue, 20 Apr 2021 11:54:39 GMT, Sean Coffey  wrote:

> Trivial enough change. Improved the exception thrown from JceKeyStore also.

This pull request has now been integrated.

Changeset: 276a1bf7
Author:    Sean Coffey 
URL:   
https://git.openjdk.java.net/jdk/commit/276a1bf7675e32784870f5559f6d3ac8bea07b6e
Stats: 17 lines in 3 files changed: 14 ins; 0 del; 3 mod

8236671: NullPointerException in JKS keystore

Reviewed-by: hchao, xuelei

-

PR: https://git.openjdk.java.net/jdk/pull/3588


  1   2   >