hg: jdk7/jdk7/jdk: 41 new changesets

tim.bell at hg.openjdk.java.net tim.bell at hg.openjdk.java.net
Mon Apr 14 08:38:19 PDT 2008


Changeset: 0d4923ce2707
Author:    emcmanus
Date:      2008-03-19 15:17 +0100
URL:       http://hg.openjdk.java.net/jdk7/jdk7/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/jdk7/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/jdk7/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/jdk7/jdk/rev/3e2a5ab9c131

Merge


Changeset: 9a97ca4eb8b7
Author:    emcmanus
Date:      2008-03-21 09:49 +0100
URL:       http://hg.openjdk.java.net/jdk7/jdk7/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/jdk7/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: 75b405bff406
Author:    tbell
Date:      2008-03-27 10:42 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/75b405bff406

Merge


Changeset: 7dd94e5bbec4
Author:    dcubed
Date:      2008-03-24 14:31 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/jdk/rev/52c76fc0a3a9

Merge


Changeset: 2965459a8ee7
Author:    emcmanus
Date:      2008-04-01 14:45 +0200
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/2965459a8ee7

6610917: Define a generic NotificationFilter
Summary: Adds javax.management.QueryNotificationFilter
Reviewed-by: dfuchs

! src/share/classes/com/sun/jmx/interceptor/DefaultMBeanServerInterceptor.java
! src/share/classes/com/sun/jmx/mbeanserver/MBeanAnalyzer.java
! src/share/classes/com/sun/jmx/mbeanserver/MBeanIntrospector.java
+ src/share/classes/com/sun/jmx/mbeanserver/NotificationMBeanSupport.java
! src/share/classes/com/sun/jmx/mbeanserver/OpenConverter.java
! src/share/classes/com/sun/jmx/mbeanserver/Repository.java
! src/share/classes/com/sun/jmx/mbeanserver/Util.java
! src/share/classes/javax/management/ObjectName.java
+ src/share/classes/javax/management/QueryNotificationFilter.java
+ test/javax/management/query/QueryNotifFilterTest.java

Changeset: a8d6215fa863
Author:    weijun
Date:      2008-03-20 11:57 +0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/a8d6215fa863

6670362: HTTP/SPNEGO should work across realms
Reviewed-by: valeriep

! src/share/classes/sun/net/www/protocol/http/NegotiatorImpl.java

Changeset: 74bc85c0f2a9
Author:    valeriep
Date:      2008-03-20 16:02 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/74bc85c0f2a9

4898461: Support for ECB and CBC/PKCS5Padding
Summary: Add support for ECB mode and PKCS5Padding
Reviewed-by: andreas

! src/share/classes/sun/security/pkcs11/P11Cipher.java
! src/share/classes/sun/security/pkcs11/SunPKCS11.java
+ test/sun/security/pkcs11/Cipher/TestSymmCiphers.java

Changeset: 66c2b0cfc896
Author:    valeriep
Date:      2008-03-20 17:17 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/66c2b0cfc896

6572331: regression: cipher.wrap operation fails with CKR_ATTRIBUTE_VALUE_INVALID
Summary: Check supported key size range and use encryption if needed
Reviewed-by: andreas

! src/share/classes/sun/security/pkcs11/P11KeyGenerator.java
! src/share/classes/sun/security/pkcs11/P11RSACipher.java
! src/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java
+ test/sun/security/pkcs11/Cipher/TestRSACipherWrap.java

Changeset: 84aced25a346
Author:    valeriep
Date:      2008-03-20 18:41 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/84aced25a346

6599979: KeyStore.setEntry/setKeyEntry() do not override existing entry for secret key objects
Summary: Override existing secret key entry when setEntry/setKeyEntry() is called
Reviewed-by: andreas

! src/share/classes/sun/security/pkcs11/P11KeyStore.java
! src/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java
+ test/sun/security/pkcs11/KeyStore/SecretKeysBasic.java
+ test/sun/security/pkcs11/KeyStore/SecretKeysBasic.sh

Changeset: 05afbed1dc4f
Author:    valeriep
Date:      2008-03-21 14:45 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/05afbed1dc4f

Merge


Changeset: b22cbc65a360
Author:    wetmore
Date:      2008-03-28 12:56 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/b22cbc65a360

Merge


Changeset: 8805ae9d160c
Author:    valeriep
Date:      2008-03-31 11:09 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/8805ae9d160c

6681652: Two new regression test failures in pkcs11 code
Summary: Fixed the test to not assume SunJCE provider being the provider for DES
Reviewed-by: wetmore

! test/javax/crypto/Cipher/TestGetInstance.java

Changeset: e1bf7407c933
Author:    wetmore
Date:      2008-03-31 13:27 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/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

Changeset: 17e93b7fb97d
Author:    valeriep
Date:      2008-03-31 16:12 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/17e93b7fb97d

6682411: JCK test failed w/ ArrayIndexOutOfBoundException (-1) when decrypting with no data
Summary: Fixed PKCS5Padding class with additional check and throw BadPaddingException if the check failed
Reviewed-by: wetmore

! src/share/classes/sun/security/pkcs11/P11Cipher.java

Changeset: c063b7fb55f7
Author:    valeriep
Date:      2008-03-31 16:16 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/c063b7fb55f7

6682417: JCK test failed w/ ProviderException when decrypted data is not multiple of blocks
Summary: Check for CKR_ENCRYPTED_DATA_LEN_RANGE and throw IllegalBlockSizeException
Reviewed-by: wetmore

! src/share/classes/sun/security/pkcs11/P11Cipher.java

Changeset: 99b3301fc27c
Author:    valeriep
Date:      2008-03-31 16:50 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/99b3301fc27c

Merge


Changeset: df5d7e6ac15e
Author:    xuelei
Date:      2008-04-02 22:44 -0400
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/df5d7e6ac15e

6668231: Presence of a critical subjectAltName causes JSSE's SunX509 to fail trusted checks
Summary: make the critical extension known to end entity checker.
Reviewed-by: wetmore, mullan

! src/share/classes/sun/security/validator/EndEntityChecker.java
+ test/sun/security/ssl/com/sun/net/ssl/internal/www/protocol/https/HttpsURLConnection/CriticalSubjectAltName.java
+ test/sun/security/ssl/com/sun/net/ssl/internal/www/protocol/https/HttpsURLConnection/crisubn.jks
+ test/sun/security/ssl/com/sun/net/ssl/internal/www/protocol/https/HttpsURLConnection/trusted.jks

Changeset: b70fc43afb8c
Author:    wetmore
Date:      2008-04-06 10:15 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/b70fc43afb8c

6683078: Update JCE framework and provider builds to work on read-only filesystems
6644659: Error in default target of make/javax/crypto in OpenJDK build
Reviewed-by: valeriep, ohair

! make/com/sun/crypto/provider/Makefile
! make/common/shared/Defs.gmk
! make/javax/crypto/Defs-jce.gmk
! make/javax/crypto/Makefile
! make/sun/security/mscapi/Makefile
! make/sun/security/pkcs11/Makefile

Changeset: f4205a7bdfd4
Author:    wetmore
Date:      2008-04-07 14:19 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/f4205a7bdfd4

Merge


Changeset: e6da580585e9
Author:    tbell
Date:      2008-04-07 23:27 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/e6da580585e9

Merge

! make/common/shared/Defs.gmk

Changeset: 4708b9a13f24
Author:    tbell
Date:      2008-04-11 15:06 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/4708b9a13f24

Merge





More information about the jdk7-dev mailing list