Commit Graph

662 Commits

Author SHA1 Message Date
Pavel Porvatov
46533a9546 6587742: filling half of a JSlider's track is no longer optional
Now OceanTheme uses the JSlider.isFilled property like other themes

Reviewed-by: alexp
2008-09-10 19:16:14 +04: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
Yuka Kamiya
54e427219c 6730743: (tz) Support tzdata2008e
Reviewed-by: okutsu
2008-09-08 17:35:07 +09:00
Yuka Kamiya
c8b6411661 6466476: (tz) Introduction of tzdata2005r can introduce incompatility issues with some JDK1.1 3-letter TZ Ids
Reviewed-by: okutsu
2008-09-08 15:21:55 +09: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
Yuka Kamiya
f7ea37f1b9 6650748: (tz) Java runtime doesn't detect VET time zone correctly on Windows
Reviewed-by: okutsu
2008-09-08 14:48:14 +09:00
Yuka Kamiya
6ee252719c 4823811: [Fmt-Da] SimpleDateFormat patterns don't allow embedding of some literal punctuation
Reviewed-by: okutsu
2008-09-08 14:31:08 +09:00
Yuka Kamiya
3927ae9832 6645292: [Fmt-Da] Timezone Western Summer Time (Australia) is parsed incorrectly
Reviewed-by: okutsu
2008-09-08 13:31:45 +09:00
Yuka Kamiya
9ce33168b1 6607310: InputContext may cause loading of swing classes even for non-Swing applets
Reviewed-by: okutsu
2008-09-08 11:49:49 +09:00
Yuka Kamiya
14ea0be212 6665028: native code of method j*.text.Bidi.nativeBidiChars is using the contents of a primitive array direct
Reviewed-by: okutsu
2008-09-08 10:44:57 +09:00
Bradford Wetmore
441ef80eda Merge 2008-09-05 00:43:26 -07:00
Tim Bell
710733eaa5 Merge 2008-09-04 14:55:12 -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
Pavel Porvatov
4a2921184f 6278700: JSlider created with BoundedRangeModel fires twice when changed
Removed second registration of listener

Reviewed-by: peterz
2008-09-04 15:15:24 +04:00
Sergey Malenkov
d46ed5c358 6397609: DOC: De-register API required for PropertyEditorManager and/or doc change
Reviewed-by: peterz, rupashka
2008-09-03 21:00:04 +04: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
Sergey Malenkov
fe4ebb456f 5026703: RFE: DOC: Are PropertyChangeSupport & VetoableChangeSupport Thread-Safe? --Docs Should Say
Reviewed-by: peterz, rupashka
2008-09-01 17:36:57 +04:00
Peter Zhelezniakov
803014e138 5062055: JEditorPane HTML: HR-tag with attribute size=1px causes NumberFormatException
Wrapped parseInt() with try/catch

Reviewed-by: gsm
2008-09-01 15:21:46 +04: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
Pavel Porvatov
5f00e2cd20 6554743: JFileChooser dn't close after pressing escape key after changing the views
Restore focus after changing the views in JFileChooser

Reviewed-by: loneid
2008-08-30 17:29:59 +04: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
Pavel Porvatov
7861fdb862 6742358: MetalSliderUI paint wrong vertical disabled filled JSlider for DefaultMetalTheme
Corrected the method MetalSliderUI.paintTrack

Reviewed-by: malenkov
2008-08-29 18:58:17 +04:00
Pavel Porvatov
b4ad1bd707 6742490: JSlider tests are located in JFileChooser directory
Tests were moved to appropriate folder

Reviewed-by: peterz
2008-08-29 13:23:55 +04: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
Pavel Porvatov
168e2b0ff2 6351074: JFileChooser removes leading space in filename
Removed trimming of leading spaces in filename

Reviewed-by: alexp
2008-08-27 20:49:35 +04: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
Pavel Porvatov
8bb4a8ec15 6727662: Code improvement and warnings removing from swing packages
Removed unnecessary castings and other warnings

Reviewed-by: malenkov
2008-08-26 15:12:54 +04: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
Mikhail Lapshin
b6db0aad85 6736649: test/closed/javax/swing/JMenuItem/6458123/ManualBug6458123.java fails on Linux
Now text bearings are taken into account when labelRect width is calculated

Reviewed-by: alexp
2008-08-26 12:16:23 +04: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
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
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
Tim Bell
7c923b06e9 Merge 2008-08-14 22:16:00 -07:00
Kelly O'Hair
f3e3c0e552 Merge 2008-08-14 20:59:51 -07:00
Kelly O'Hair
6ec4c76bb7 6674227: Missing LICENSE file during build
Just a JPRT usage issue. The top level files (like LICENSE) are needed to create the jdk image (j2sdk-image directory).

Reviewed-by: tbell
2008-08-14 13:33:08 -07:00
Xiomara Jayasena
161f43b05a Added tag jdk7-b33 for changeset 8725ccb1a22d 2008-08-14 09:26:34 -07:00
Artem Ananiev
f5cc909878 6708392: Provide internal API to create OverrideRedirect windows, XToolkit
SunToolkit.setOverrideRedirect() method is introduced

Reviewed-by: mlapshin, yan
2008-08-14 12:58:51 +04:00
Lana Steuck
189c383d48 Merge 2008-08-12 17:59:58 -07:00
Xiomara Jayasena
4fb42021d7 Merge 2008-08-12 15:17:12 -07:00
Mikhail Lapshin
0e5cf24bb3 6735918: test/closed/javax/swing/JMenuItem/6458123/bug6458123.java fails on Linux
All the bearings-related code is removed from MenuItemLayoutHelper class

Reviewed-by: alexp
2008-08-12 12:52:10 +04:00
Artem Ananiev
18c2b3a604 6735584: XNETProtocol:setStateHelper() produces bad _NET_WM_STATE messages
Reviewed-by: yan
2008-08-12 12:00:46 +04:00
Mikhail Lapshin
aeb1b5f21c 6579243: Windows, GTK: Internal frame title is drawn wrong if the frame has RTL orientation
Added right-to-left code branches to WindowsInternalFrameTitlePane and Metacity classes

Reviewed-by: alexp
2008-08-11 16:49:46 +04:00
Pavel Porvatov
3b50ea9003 6604281: NimbusL&F :Regression in Focus traversal in JFileChooser in pit build
Fixed calculation of preferred size in SynthButtonUI

Reviewed-by: loneid, peterz
2008-08-11 16:39:17 +04:00
Tim Bell
4a362b1ee2 Merge 2008-08-10 18:35:53 -07:00
Mikhail Lapshin
f092fd7939 6584657: GTK Look and Feel: Bugs in menu item layout
Reviewed-by: peterz, alexp
2008-08-08 20:49:26 +04:00
Eamonn McManus
e2890ec21a 6610174: Improve CompositeDataSupport.toString when it includes arrays
Reviewed-by: dfuchs
2008-08-08 18:36:19 +02:00
Kelly O'Hair
c28ab2107b Merge 2008-08-08 08:52:18 -07:00
Kelly O'Hair
0c7d8c2c75 6734977: Fix build failure regarding the now deleted file jdk/README.html
Reviewed-by: xdono, tbell
2008-08-08 08:50:30 -07:00
Eamonn McManus
49ad80cabb Merge 2008-08-08 15:10:51 +02:00
Eamonn McManus
2d8b7bbf47 6334663: TabularDataSupport should be able to return values in the insertion order
Reviewed-by: dfuchs
2008-08-08 15:08:57 +02:00
Daniel Fuchs
1aa82b740b 6733294: MBeans tab - UI issues with writable attributes
Reviewed-by: emcmanus
2008-08-08 14:24:31 +02:00
Yuri Nesterenko
540f1f640a Merge 2008-08-08 03:32:34 -07:00
Tim Bell
6f9ae46ab8 Merge 2008-08-07 18:02:28 -07:00
Tim Bell
37f438af87 Merge 2008-08-07 09:42:31 -07:00
Eamonn McManus
fe12d75a7a 6717257: MBeanServer doesn't describe RuntimeException for methods inherited from MBeanServerConnection
Reviewed-by: dfuchs
2008-08-07 16:25:45 +02:00
Martin Buchholz
a1269f9d94 6730507: java.util.Timer schedule delay Long.MAX_VALUE causes task to execute multiple times
Reviewed-by: chegar
2008-08-07 06:36:41 -07:00
Jiri Tusla
d914009a33 Merge 2008-08-07 04:52:05 -07:00
Kelly O'Hair
b046ce6d82 Merge 2008-08-06 16:43:53 -07:00
Kelly O'Hair
ac52b07e8d 6724669: JDK7: Official change to Sun Studio 12 compilers on Solaris
Reviewed-by: tbell
2008-08-06 16:21:20 -07:00
Kelly O'Hair
0d4785d9a3 6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
Needed BOOT_JAR_JFLAGS. Fixed PREVIOUS_RELEASE_IMAGE.

Reviewed-by: tbell
2008-08-06 15:02:15 -07:00
Swamy Venkataramanappa
072306e2f0 Merge 2008-08-06 10:49:31 -07:00
Swamy Venkataramanappa
5091305900 6732441: TEST_BUG: ThreadMXBeanProxy test fails intermittently
Fixed the race condition in the test.

Reviewed-by: jjh
2008-08-06 10:24:33 -07:00