Commit Graph

330 Commits

Author SHA1 Message Date
Xueming Shen
b596dd66fa 6725399: (ch) Channels.newInputStream should check for null
Update to check null arg for all Channels methods

Reviewed-by: alanb
2008-11-29 20:55:29 -08:00
Eamonn McManus
70624128b4 6776225: JMX.isNotificationSource wrong when DynamicWrapperMBean + SendNotification injection
Reviewed-by: dfuchs, jfdenise
2008-11-27 15:44:32 +01:00
Alan Bateman
efd62d5c81 6593946: (bf) X-Buffer.compact() does not discard mark as specified
InvalidMarkException now correctly thrown. Thanks to keiths@redhat.com for the bug report and initial fix.

Reviewed-by: sherman, darcy
2008-11-25 19:26:54 +00:00
Xueming Shen
b9638d0527 6774710: spp.sh used by genBasic.sh/genCopyDirectMemory.sh
Update the scripts to use java version of spp

Reviewed-by: alanb
2008-11-25 10:09:26 -08:00
Sean Mullan
93225a0b60 6728890: Add SwissSign root certificates to the JDK
6732157: Add VeriSign TSA Root Cert to the JDK
6754779: Add Camerfirma root certificates to the JDK
6768559: Add t-systems root CA certificate (Deutsche Telekom Root CA 2) to the JRE

Reviewed-by: vinnie
2008-11-25 10:17:00 -05:00
Daniel Fuchs
9f61f3723c 6774170: LocalRMIServerSocketFactory should protect against ServerSocket.accept().getInetAddress() being null
Reviewed-by: emcmanus, jfdenise
2008-11-21 18:18:00 +01:00
Eamonn McManus
4d6c508c34 6772779: @NotificationInfo does not create MBeanNotificationInfo in the MBean's MBeanInfo
6773593: CompositeDataSupport constructor javadoc is not in sync with the implementation

Reviewed-by: sjiang
2008-11-20 10:10:48 +01:00
Daniel Fuchs
907d90158a 6683213: CounterMonitor's derived Gauge badly initialized
Reviewed-by: emcmanus
2008-11-14 17:22:10 +01:00
Xue-Lei Andrew Fan
8db7ed98ea 6728126: Parsing Extensions in Client Hello message is done in a wrong way
The inputStream.read(byte[], int, 0) is not always return zero.

Reviewed-by: wetmore, weijun
2008-11-13 23:08:11 -08:00
Chris Hegarty
bb833cb3e5 Merge 2008-11-13 09:40:51 +00:00
Chris Hegarty
e9076296a9 6755625: Add HttpURLConnection.setFixedLengthStreamingMode(long)
Reviewed-by: jccollet
2008-11-12 16:38:17 +00:00
Weijun Wang
5c6f569aa5 6765491: Krb5LoginModule a little too restrictive, and the doc is not clear
Reviewed-by: valeriep
2008-11-12 16:01:06 +08:00
Weijun Wang
9f36c3b7c7 6733095: Failure when SPNEGO request non-Mutual
Reviewed-by: valeriep
2008-11-12 16:00:22 +08:00
Alan Bateman
1e36589fc9 Merge 2008-11-11 09:07:58 +00:00
Alan Bateman
e9a892dd41 6763122: ZipFile ctor does not throw exception when file is not a zip file
Reviewed-by: bristor
2008-11-11 08:59:43 +00:00
Eamonn McManus
bbac59f218 6336968: Methods to convert AttributeList to/from Map
6750008: Add JMX.getSpecificationVersion(MBeanServerConnection) and document interop
6750472: Add a way to convert a CompositeData into a Map
6752563: Allow CompositeDataSupport to have zero items

Small JMX RFEs

Reviewed-by: dfuchs
2008-11-07 19:19:08 +01:00
Eamonn McManus
ab227cb671 5072267: A way to communicate client context such as locale to the JMX server
Support for client contexts and also for localization of descriptions

Reviewed-by: dfuchs
2008-11-07 11:48:07 +01:00
Sean Mullan
cb4eb96188 6765046: CertPathValidatorException(Throwable).getMessage() always returns null since b37
Reviewed-by: vinnie
2008-11-06 12:12:39 -05:00
Eamonn McManus
5118c7cd7f 6766173: Spec should say that createMBean wraps a constructor RuntimeException in a RuntimeMBeanException
JMX spec clarification

Reviewed-by: dfuchs
2008-10-31 17:34:52 +01:00
Eamonn McManus
44dcc74e78 6252609: Two different default descriptor forms defined for ModelMBeanInfoSupport
6253137: Documentation for NotificationListener's handback parameter is confusing
6368691: javadoc for JMX Descriptors has bugs and is very hard to navigate
6602699: support for async notification of mbeaninfo update
6759612: [javadoc] EventClient.NOTIFS_LOST has a garbled href to addEventClientListener
6759619: Clarify what EventClient.getEventClientNotificationInfo does
6759622: Clarify what EventClient.getListeners list does

Documentation fixes, plus simple bugfix for 6759619.

Reviewed-by: dfuchs
2008-10-30 17:46:50 +01:00
Eamonn McManus
540b83b6b1 6763051: MXBean: Incorrect type names for parametrized dealing with arrays (openType)
6713777: developer diagnosability of errors in uncompliant mxbean interfaces

Reviewed-by: dfuchs
2008-10-28 18:21:36 +01:00
Chris Hegarty
333adf3ae1 6756771: com.sun.net.httpserver.HttpServer should handle POSTs larger than 2Gig
Update implementation to use long instead of int

Reviewed-by: michaelm
2008-10-28 16:14:51 +00:00
Joshua Bloch
adcd85f803 6761678: (ann) SecurityException in AnnotationInvocationHandler.getMemberMethods
Move call to getDeclaredMethods inside doPrivileged

Reviewed-by: darcy, mullan
2008-10-24 20:34:40 -07:00
Bradford Wetmore
09220bdd58 Merge 2008-10-20 01:39:38 -07:00
Weijun Wang
d9d3a81168 6761072: new krb5 tests fail on multiple platforms
Reviewed-by: xuelei
2008-10-20 10:32:33 +08:00
Tim Bell
a9d034a33c Merge 2008-10-17 16:45:36 -07:00
Tim Bell
ecacc1fb5f Merge 2008-10-17 08:41:15 -07:00
Bradford Wetmore
b1e7b0352e Merge 2008-10-17 00:51:59 -07:00
Weijun Wang
f134b5139a 6706974: Add krb5 test infrastructure
Reviewed-by: valeriep
2008-10-17 13:02:00 +08:00
Kumar Srinivasan
a7c6406a8f 6758881: (launcher) needs to throw NoClassDefFoundError instead of JavaRuntimeException
The launcher will throw the Error vs. Exception, also fixed some minor issues with the tests.

Reviewed-by: darcy
2008-10-14 13:02:30 -07:00
Lana Steuck
fb52866502 Merge 2008-10-13 17:13:29 -07:00
Xueming Shen
7add953cfe 5025260: Register methods should throw ClosedChannelException instead of NPE
Update the spec and implementation to throw ClosedSelectorException

Reviewed-by: alanb
2008-10-13 14:45:27 -07:00
Eamonn McManus
8fe5a021a3 6757225: MXBean: Incorrect type names for parametrized types, dealing with arrays
Reviewed-by: sjiang
2008-10-08 18:38:25 +02:00
Bradford Wetmore
c63de8e0a8 Merge 2008-10-06 09:17:35 -07:00
Tim Bell
f7bfb9b472 Merge 2008-10-04 22:57:59 -07:00
Tim Bell
1e22a7ec76 Merge 2008-10-04 22:48:54 -07:00
Xiomara Jayasena
6e86513c3a 6754988: Update copyright year
Update for files that have been modified starting July 2008

Reviewed-by: ohair, tbell
2008-10-02 19:58:32 -07:00
Kumar Srinivasan
c8bd8e9a0f 4459600: java -jar fails to run Main-Class if classname followed by whitespace
Fixed whitespace trimming in the manifest as well as post review comments on CR: 6742159

Reviewed-by: darcy, dholmes
2008-10-01 09:04:42 -07:00
Mandy Chung
b6ae33fc2e Merge 2008-10-03 09:36:05 -07:00
Jim Holmlund
5cdf6e6e08 6751643: ThreadReference.ownedMonitors() can return null
Make a local copy of the cache so it doesn't get modified by a racy resume

Reviewed-by: dcubed, swamyv
2008-10-02 18:23:23 -07:00
Mandy Chung
2be5ac062d 6581243: Service Tag and Product Registration Support in JDK 7
Include service tag creation and product registration support in JDK

Reviewed-by: ksrini
2008-10-02 16:50:41 -07:00
Tim Bell
f48920fb62 Merge 2008-09-29 22:10:00 -07:00
Chris Hegarty
4f54397ad8 6752807: java.net test ADatagramSocket.sh is broken
Update bootclasspath set by test to simply prepend TESTCLASSES

Reviewed-by: michaelm
2008-09-26 11:24:04 +01:00
Kumar Srinivasan
d799afdc04 6742159: (launcher) improve the java launching mechanism
Improves launching, also addresses 6694671 and 6749732

Reviewed-by: darcy, dholmes
2008-09-24 15:07:41 -07:00
Chris Hegarty
0b215ddf60 6621697: Problem with file test/sun/net/www/http/ChunkedInputStream/test.txt
Reviewed-by: michaelm
2008-09-24 17:10:17 +01:00
Lana Steuck
297ae75019 Merge 2008-09-24 08:14:37 -07:00
Eamonn McManus
6caae4568d 6750935: The expected NotCompliantMBeanException is not thrown for the custom MXBeanMappingFactory
6751872: MXBeanMappingFactory example says "implements" when it should be "extends"

Reviewed-by: dfuchs
2008-09-24 15:19:07 +02:00
Tim Bell
4138ab60c8 Merge 2008-09-22 22:37:31 -07:00
Jim Holmlund
717114d206 6263966: TEST: com/sun/jdi/ClassesByName2Test.java has a race
Have the debuggee stop at a bkpt instead of running to completion.

Reviewed-by: tbell
2008-09-22 19:20:08 -07:00
Sean Mullan
c8a68bace6 6469266: Integrate Apache XMLSec 1.4.2 into JDK 7
Reviewed-by: valeriep
2008-09-22 10:43:17 -04:00