Commit Graph

347 Commits

Author SHA1 Message Date
Gary Benson
95f5222445 6788196: (porting) Bounds checks in io_util.c rely on undefined behaviour
Reviewed-by: alanb
2009-01-07 11:50:32 -08:00
Tomas Hurka
b1c4a6ff3f 6790467: Add test for setInterval() for local MonitoredHost and local MonitoredVm
Test for MonitoredHost.setInterval() and MonitoredVm.setInterval() added

Reviewed-by: swamyv
2009-01-07 14:06:04 +01:00
Tim Bell
928a098209 Merge 2008-12-19 10:37:50 -08:00
Xiomara Jayasena
cc8641d33a 6785258: Update copyright year
Update copyright for files that have been modified starting July 2008 to Dec 2008

Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:25 -08:00
Eamonn McManus
871bbff9ce 6456269: Add a GenericMBeanException so clients don't have to have server's exception classes present
Reviewed-by: jfdenise, dfuchs
2008-12-10 11:59:32 +01:00
Shanliang Jiang
0a521a9457 Merge 2008-12-09 20:51:59 +01:00
Shanliang Jiang
16870a7767 6336980: NotificationBroadcasterSupport: to tell whether there are listeners and to do clear
Reviewed-by: emcmanus
2008-12-09 20:50:45 +01:00
Daniel Fuchs
2064095b24 6768935: Clarify the behaviour of ObjectName pattern matching with regards to namespaces
Reviewed-by: emcmanus
2008-12-09 20:20:48 +01:00
Shanliang Jiang
6a4903d458 6332907: Add ability for connector server to close individual connections
Reviewed-by: emcmanus
2008-12-09 19:44:22 +01:00
Shanliang Jiang
e7d171eac3 Merge 2008-12-09 18:45:09 +01:00
Shanliang Jiang
d2c931b222 6760712: Provide a connector server option that causes it not to prevent the VM from exiting
Reviewed-by: emcmanus
2008-12-09 18:42:13 +01:00
Jean-Francois Denise
85e1e1e290 6287328: Add methods to StandardMBean to retrieve a method based on MBean{Attribute|Operation}Info
Reviewed-by: emcmanus
2008-12-09 16:26:30 +01:00
Jean-Francois Denise
ef7000f82e 6450834: RFE: allow StandardMBean to call MBeanRegistration methods on its wrapped resource
6373143: MonitorNotification should have a public constructor

Reviewed-by: emcmanus
2008-12-09 16:14:53 +01:00
Jean-Francois Denise
b14fec6973 6675526: Define an Annotation to name registered MBeans
Reviewed-by: emcmanus
2008-12-09 15:57:09 +01:00
Jean-Francois Denise
04950cd846 6250014: MBeanOperationInfo Descriptor field for exceptions
Reviewed-by: emcmanus
2008-12-09 15:36:14 +01:00
Jean-Francois Denise
049436370f 6501362: DescriptorSupport(String) could recognize "name=value" as well as XML format
Reviewed-by: emcmanus
2008-12-09 14:44:42 +01:00
Eamonn McManus
5588717cc4 6774918: @NotificationInfo is ineffective on MBeans that cannot send notifications
Reviewed-by: jfdenise
2008-12-09 12:01:07 +01:00
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