370 Commits

Author SHA1 Message Date
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
Daniel Fuchs
246d79484d 6758165: ConnectorBootstrap.DefaultValues should have a default value for USE_LOCAL_ONLY
Reviewed-by: alanb, emcmanus
2008-10-10 10:58:08 +02:00
Daniel Fuchs
4f96480e17 6332953: JMX agent should bind to loopback address when starting the local connector server
Reviewed-by: emcmanus
2008-10-09 14:10:58 +02: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
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
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
Chris Hegarty
71365ab05c Merge 2008-09-24 05:59:26 -07:00
Chris Hegarty
c6083c20e5 6749308: java.io, java.lang, java.util exception classes don't specify serialVersionUID
Reviewed-by: alanb
2008-09-24 05:35:31 -07:00
Tim Bell
4138ab60c8 Merge 2008-09-22 22:37:31 -07:00
Sean Mullan
8fcf72ddc8 Merge 2008-09-22 11:26:17 -04:00
Michael McMahon
929f1f0d78 Merge 2008-09-22 16:05:18 +01:00
Michael McMahon
57bd8dc7e1 6739920: java 6u4~ use larger C heap if there are many threads
Reviewed-by: chegar
2008-09-22 15:53:58 +01: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
Shanliang Jiang
2e7b00b7d5 6697180: JMX query results in java.io.IOException: Illegal state - also a deadlock can also be seen
Reviewed-by: emcmanus
2008-09-22 15:43:12 +02:00
Lana Steuck
6f9021ff80 Merge 2008-09-19 19:38:12 -07:00
Chris Hegarty
9f7bdd313a 6746836: java.net exception classes don't specify serialVersionUID
Reviewed-by: alanb, jccollet
2008-09-19 15:14:53 +01:00
Bradford Wetmore
9e461a5bdd Merge 2008-09-18 00:39:50 -07:00
Daniel Fuchs
b56f92d23b 6748745: JConsole: plotters don't resize well when the window is resized
Part of the fix was contributed by jfdenise

Reviewed-by: jfdenise
2008-09-17 13:40:40 +02:00
Bradford Wetmore
44aa1a1519 Merge 2008-09-15 00:41:02 -07:00
Daniel Fuchs
c3552d0201 6747983: jmx namespace: unspecified self-link detection logic
Reviewed-by: emcmanus
2008-09-12 19:06:38 +02:00
Daniel Fuchs
38e8cbedc6 6747899: jmx namespaces: hooks for permission checks should be defined in HandlerInterceptor
Reviewed-by: emcmanus
2008-09-12 17:58:15 +02:00
Eamonn McManus
a1e4e3ec94 6747411: EventClient causes thread leaks
Reworked thread management in EventClient and related classes.

Reviewed-by: sjiang, dfuchs
2008-09-12 15:17:52 +02:00
Sean Mullan
875eea0ac0 Merge 2008-09-11 18:13:51 -04:00
Dave Bristor
3020470ba9 6440786: Cannot create a ZIP file containing zero entries
Allow reading and writing of ZIP files with zero entries.

Reviewed-by: alanb
2008-09-11 14:58:57 -07:00
Sean Mullan
545b7e4f62 6465942: Add problem identification facility to the CertPathValidator framework
Add support to the java.security.cert APIs for determining the reason that a certification path is invalid.

Reviewed-by: vinnie
2008-09-11 14:05:16 -04:00
Michael McMahon
597abb5082 6744329: Exception in light weight http server code
Reviewed-by: chegar
2008-09-11 17:46:53 +01:00
Daniel Fuchs
b2e851f920 6746754: jmx namespace: test for leading separator missing
6669137: RFE: InstanceNotFoundException should have a constructor that takes an ObjectName
6746796: jmx namespaces: Several tests are missing an @bug or @run keyword

Note on 6669137: first implementation of 6669137 was actually pushed with 5072476 - here we only have a small update and a test case. Also re-fixes 6737133: Compilation failure of test/javax/management/eventService/LeaseManagerDeadlockTest.java which had failed.

Reviewed-by: emcmanus, yjoan
2008-09-10 16:27:13 +02:00
Eamonn McManus
370ae84e73 6746759: Fix for 6734813 introduced build break
Reviewed-by: dfuchs
2008-09-10 14:56:57 +02:00
Eamonn McManus
a4ef2ba11d 6734813: Provide a way to construct an ObjectName without checked exceptions
6746649: ObjectName constructors and methods declare unchecked exceptions in throws clauses

Reviewed-by: dfuchs
2008-09-10 13:36:47 +02:00
Martin Buchholz
3eca12f7b7 6733145: (bf) CharBuffer.subSequence can be updated to take advantage of covariant returns
Change return type to CharBuffer

Reviewed-by: alanb
2008-09-09 15:20:07 -07:00
Martin Buchholz
77dfe98c4e 6728229: (str) StringBuilder.append(CharSequence) does not throw IndexOutOfBoundsException
Major spec rework

Reviewed-by: alanb
2008-09-09 15:20:07 -07:00
Daniel Fuchs
4e22cb6970 6745832: jmx namespaces: Some refactoring/commenting would improve code readability
Reviewed-by: emcmanus
2008-09-09 17:01:45 +02:00
Roman Kennke
e0a15fc51d 6746196: Some JMX classes do not compile with Eclipse compiler
Reviewed-by: dfuchs
2008-09-09 14:57:30 +02:00
Shanliang Jiang
ebdad848b8 6736611: [Evt Srv] EventSubscriber.unsubscribe removes other listeners
Reviewed-by: emcmanus
2008-09-09 14:17:29 +02:00
Dave Bristor
367e60a438 6356642: extcheck.exe -verbose throws ArrayIndexOutOfBoundsException exception
Fix causes printing of user-level error messages instead of throwing exceptions

Reviewed-by: sherman
2008-09-08 14:11:13 -07:00
Dave Bristor
51a345480a 6661861: Decrease memory use of Inflaters by ZipFile
Fix allows release of native resources earlier than without fix

Reviewed-by: alanb
2008-09-08 13:44:32 -07:00
Weijun Wang
4b2e9eb231 6740833: krb5.conf does not accept kdc=hostname (no spaces around =)
Reviewed-by: xuelei
2008-09-08 14:17:22 +08:00
Bradford Wetmore
441ef80eda Merge 2008-09-05 00:43:26 -07:00
Jean-Christophe Collet
9b311f9a7b 6692802: HttpCookie needs to support HttpOnly attribute
Added HttpOnly tag support to HttpCookie class.

Reviewed-by: chegar, michaelm
2008-09-04 15:26:53 +02:00
Daniel Fuchs
6b53043eea 5072476: RFE: support cascaded (federated) MBean Servers
6299231: Add support for named MBean Servers

New javax.management.namespace package.

Reviewed-by: emcmanus
2008-09-04 14:46:36 +02:00
Eamonn McManus
fdfb7acee2 6405862: Allow CompositeType to have zero items
6737133: Compilation failure of test/javax/management/eventService/LeaseManagerDeadlockTest.java
6737140: Javadoc of some throw clauses of MBeanServer and MBeanServerConnection is garbled
6737143: createMBean of MBeanServer should acquire 2 extra throw clauses present in MBeanServerConnection

Reviewed-by: dfuchs
2008-09-02 14:14:05 +02:00