Commit Graph

273 Commits

Author SHA1 Message Date
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
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
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
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
Michael McMahon
f6337de7b6 Merge 2008-09-19 14:03:04 +01:00
Michael McMahon
1807fe2b97 6750364: Error in test for 6744329
Reviewed-by: chegar
2008-09-19 13:32:36 +01: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
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
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
Daniel Fuchs
4e22cb6970 6745832: jmx namespaces: Some refactoring/commenting would improve code readability
Reviewed-by: emcmanus
2008-09-09 17:01:45 +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
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
ab464bccd1 6744132: Spurious failures from test/javax/management/MBeanInfo/NotificationInfoTest.java
Reviewed-by: dfuchs
2008-09-03 14:31:17 +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
Eamonn McManus
50a610e81c 6731410: JMXServiceURL cannot use @ConstructorProperties for compatibility reasons
Reviewed-by: dfuchs
2008-09-01 17:11:58 +02:00
Alan Bateman
63d86bcfda 4640544: New I/O: Complete socket-channel functionality
Reviewed-by: iris, sherman, chegar
2008-08-31 18:39:01 +01:00
Chris Hegarty
1833c872a0 6576763: Thread constructors throw undocumented NPE for null name
Update javadoc to specify NPE as well as fix minor bug in implementation.

Reviewed-by: alanb
2008-08-29 17:46:45 +01:00
Xueming Shen
3ae3654210 Merge 2008-08-27 10:28:26 -07:00
Xueming Shen
790bc3042d 4849617: (cs)Revise Charset spec to allow '+' in names
Update the spec and code to accept '+' as a charset name character

Reviewed-by: alanb
2008-08-27 10:12:22 -07:00
Eamonn McManus
e2c297b29f 5041784: (reflect) generic signature methods needlessly return generic arrays
Reviewed-by: darcy
2008-08-27 11:03:59 +02:00
Alan Bateman
d41b0a77b2 6682020: (bf) Support monitoring of direct and mapped buffer usage
Reviewed-by: mchung, iris
2008-08-26 10:21:22 +01:00
Lana Steuck
f0ef7211c5 Merge 2008-08-25 13:58:15 -07:00
Dmitry Cherepanov
a16656700d 6737722: api/java_awt/TrayIcon/index.html#TrayIconHeadlessMode
IsSupported() should skip tray initialization in case of headless

Reviewed-by: art, ant
2008-08-25 19:15:37 +04:00
Bradford Wetmore
f1c6258165 Merge 2008-08-25 08:11:08 -07:00
Jean-Christophe Collet
29241c7694 6717876: Make java.net.NetworkInterface.getIndex() public
Make getIndex() and getByIndex() public. Required a name change in native code

Reviewed-by: alanb, chegar, michaelm
2008-08-25 14:38:20 +02:00
Xueming Shen
630d73eb0a 4486841: UTF-8 decoder should adhere to corrigendum to Unicode 3.0.1
6636317: Optimize UTF-8 coder for ASCII input

Re-write the UTF-8 charset to obey the standard and improve the performance

Reviewed-by: alanb
2008-08-22 14:37:46 -07:00