541 Commits

Author SHA1 Message Date
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
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
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
Tim Bell
710733eaa5 Merge 2008-09-04 14:55:12 -07: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
Tim Bell
09ef78ff9e Merge 2008-08-31 11:59:20 -07: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
Alan Bateman
deaa5d9446 6570619: (bf) DirectByteBuffer.get/put(byte[]) does not scale well
Reviewed-by: iris
2008-08-31 18:32:59 +01:00
Swamy Venkataramanappa
ca45a0c6cc 6614052: jhat fails to read heap dump > 2GB
Modified the jhat code to use long for unsigned int. This is a forward port of changes from Kevin Walls.

Reviewed-by: jjh
2008-08-29 14:33:05 -07:00
Tim Bell
87d8424968 Merge 2008-08-29 12:40:58 -07: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
Xiomara Jayasena
3735e1a4b2 Added tag jdk7-b34 for changeset 8810ae8edcd1 2008-08-28 11:05:27 -07: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
Kumar Srinivasan
136ad92f3d 6685121: (launcher) make ReportErrorMessages accessible by other launcher subsystems
Provided error reporting interfaces to other java subsystems that the launcher uses.

Reviewed-by: darcy
2008-08-26 10:21:20 -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
Alan Bateman
827a25e39d 6728542: (se) epoll based SelectorProvider should be portable to platforms other than x86 and x64
Reviewed-by: sherman
2008-08-26 09:23:12 +01:00
Tim Bell
33a47ac00d Merge 2008-08-25 23:37:31 -07:00
Tim Bell
1437ee2bae Merge 2008-08-25 23:33:24 -07: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
95008ab775 6740702: Comment tag update
Tag update

Reviewed-by: mr
2008-08-22 22:54:20 -07: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
Kelly O'Hair
cac629a070 6732421: Removed old javavm and Classic VM files from the jdk7 sources
Reviewed-by: alanb
2008-08-22 12:24:27 -07:00
Swamy Venkataramanappa
99706867d4 6653883: jmap with no option should print mmap instead of heap information
Changed the default option of jmap to print mmap.

Reviewed-by: jjh
2008-08-22 10:37:03 -07:00
Michael McMahon
a3cdb4dcfb 6258215: Num of backlog in ServerSocket(int, int) should be mentioned more explicitly
Updated javadoc

Reviewed-by: chegar
2008-08-21 10:04:55 -07:00
Xiomara Jayasena
698094c02b Merge 2008-08-21 09:55:18 -07:00
Joshua Bloch
2cb9d9610e 6739302: Check that deserialization preserves EnumSet integrity
Reviewed-by: dl, chegar
2008-08-20 13:45:12 -07:00
Bradford Wetmore
7ecbd27b2f Merge 2008-08-20 00:41:24 -07:00
Tim Bell
3715f48dfe Merge 2008-08-19 16:05:26 -07:00
Swamy Venkataramanappa
64b449dd2a 6736461: ThreadMXBean Locks.java fails intermittently
Fixed the test to wait for the right state before calling check thread information.

Reviewed-by: jjh
2008-08-19 12:46:34 -07:00
Kumar Srinivasan
731dd43ab4 6614210: JPRT Windows 32bit msival2 build failure when building 'install' workspace
Suppresses wscript's modal dialog on error and no msi validation for jprt.

Reviewed-by: ohair, jmelvin
2008-08-19 07:50:03 -07:00
Swamy Venkataramanappa
f1f86e9fa2 6705893: javax.script tests should not require a js engine on OpenJDK
Fixed the tests to pass with open JDK.

Reviewed-by: darcy
2008-08-18 15:28:54 -07:00
Tim Bell
38dff2ce4b Merge 2008-08-18 09:20:49 -07:00
Kelly O'Hair
36a04a49a7 6496269: Many warnings generated from com/sun/java/util/jar/pack/*.cpp when compiled on Linux
Removal of compiler warnings and fixing of assert logic.

Reviewed-by: jrose, ksrini, bristor
2008-08-17 17:02:04 -07:00
Jim Holmlund
1c42f2e0d3 6737900: TEST: Some JDI regression tests timeout on slow machines
Don't execute useless code, and split test into multiple @runs.

Reviewed-by: tbell
2008-08-15 18:06:42 -07:00