Commit Graph

1384 Commits

Author SHA1 Message Date
John R Rose
b9299f283f 7129034: VM crash with a field setter method with a filterArguments
Add null checks before unsafe calls that take a variable base reference; update unit tests

Reviewed-by: kvn, twisti
2012-07-12 00:11:35 -07:00
Anthony Petrov
d91b2b6f6e 7177173: [macosx] JFrame.setExtendedState(JFrame.MAXIMIZED_BOTH) not working as expected in JDK 7
Avoid unnecessary changes to the extended state

Reviewed-by: art, serb
2012-07-06 14:20:27 +04:00
Eric Wang
b28493b31b 7123972: test/java/lang/annotation/loaderLeak/Main.java fails intermittently
Reviewed-by: dholmes, smarks
2012-07-05 15:13:45 -07:00
Eric Wang
48d5be1b33 6948101: java/rmi/transport/pinLastArguments/PinLastArguments.java failing intermittently
Reviewed-by: dholmes, smarks
2012-07-05 15:12:10 -07:00
Lana Steuck
eb5be70df0 Merge 2012-07-03 20:58:02 -07:00
Lana Steuck
db40815a4c Merge 2012-06-27 12:54:48 -07:00
Lana Steuck
b04008c963 Merge 2012-06-27 00:09:30 -07:00
Lana Steuck
771d931915 Merge 2012-06-26 22:59:26 -07:00
Doug Lea
45e1021238 7161229: PriorityBlockingQueue keeps hard reference to last removed element
Reviewed-by: dholmes, forax, alanb
2012-06-27 01:36:28 -04:00
Lana Steuck
e51eadc837 Merge 2012-06-26 10:57:46 -07:00
Oleg Pekhovskiy
9931c2f2b8 7024749: JDK7 b131---a crash in: Java_sun_awt_windows_ThemeReader_isGetThemeTransitionDurationDefined+0x75
Reviewed-by: art, ant
2012-06-26 16:46:00 +04:00
Rob McKenna
54ddaf5ab7 4244896: (process) Provide System.getPid(), System.killProcess(String pid)
Reviewed-by: alanb
2012-06-26 13:27:26 +01:00
Sergey Malenkov
386367a03f 7162476: XMLDecoder security issue via ClassFinder
Reviewed-by: art, ahgross
2012-06-19 20:34:06 +04:00
Masayoshi Okutsu
94a6496726 6380549: (rb) ResourceBundle.Control global binding support
Reviewed-by: naoto
2012-06-19 16:21:17 +09:00
Alan Bateman
83f975cf42 7177617: TEST_BUG: java/nio/channels/AsyncCloseAndInterrupt.java failing (win)
Reviewed-by: chegar, coffeys
2012-06-18 11:19:48 +01:00
Lana Steuck
d27529f4ab Merge 2012-06-17 21:34:42 -07:00
Mike Duigou
36dbbfde4b 7175758: Improve unit test of Map iterators and Iterator.remove()
Adds additional tests of Map iterators and Iterator.remove()

Reviewed-by: lancea
2012-06-15 13:01:38 -07:00
Sean Mullan
caae78ba73 Merge 2012-06-15 08:47:41 -04:00
Sean Mullan
6ad27831e0 7176326: CertPath/CertPathBuilderTest failures after webrev 6854712_6637288_7126011
Reviewed-by: xuelei
2012-06-15 08:43:31 -04:00
Alan Bateman
c580cfee80 7176630: (sc) SocketChannel.write does not write more than 128k when channel configured blocking [win]
Reviewed-by: khazra, chegar
2012-06-14 12:13:54 +01:00
Lana Steuck
272f5e3896 Merge 2012-06-08 12:44:30 -07:00
Lana Steuck
83d6ffcacb Merge 2012-06-08 12:00:22 -07:00
Rob McKenna
042cc29680 7161881: (dc) DatagramChannel.bind(null) fails if IPv4 socket and running with preferIPv6Addresses=true
Reviewed-by: alanb, chegar
2012-06-08 18:23:28 +01:00
Abhijit Saha
b74ef2f6b6 Merge 2012-06-07 12:31:10 -07:00
Alan Bateman
519dc0c3f9 7174723: TEST_BUG: java/lang/ProcessBuilder/Basic.java failing [win]
Reviewed-by: mduigou
2012-06-07 18:42:47 +01:00
Diego Belfer
dd23946ec9 7164256: EnumMap clone doesn't clear the entrySet keeping a reference to the original Map
Reviewed-by: alanb, chegar, forax, mduigou
2012-06-07 12:31:45 +01:00
Jonathan Lu
775655b44a 7172149: ArrayIndexOutOfBoundsException from Signature.verify
Take care of integer addition overflow

Reviewed-by: xuelei, wetmore
2012-06-06 18:39:09 -07:00
Alan Bateman
08c4f120c9 7172826: (se) Selector based on the Solaris event port mechanism
Reviewed-by: coffeys, chegar
2012-06-06 17:59:29 +01:00
Denis Lila
440b57e0b5 7043963: AWT workaround missing for Mutter
Reviewed-by: art, anthony
2012-06-04 16:39:12 -04:00
Mike Duigou
59ccdc0fbc 7173432: Handle null key at HashMap resize
If the key to be inserted into a HashMap is null and the table needs to be resized as part of the insertion then addEntry will try to recalculate the hash of a null key. This will fail with an NPE.

Reviewed-by: darcy
2012-06-01 00:05:21 -07:00
Sean Mullan
7dfc5df74e Merge 2012-05-31 17:10:57 -04:00
Sean Mullan
63e39d6ee7 Merge 2012-05-31 17:07:28 -04:00
Mike Duigou
705c53b045 7126277: Alternative String hashing implementation
All of the hashing based Map implementations: HashMap, Hashtable, LinkedHashMap, WeakHashMap and ConcurrentHashMap are modified to use an enhanced hashing algorithm for string keys when the capacity of the hash table has ever grown beyond 512 entries. The enhanced hashing implementation uses the murmur3 hashing algorithm along with random hash seeds and index masks. These enhancements mitigate cases where colliding String hash values could result in a performance bottleneck.

Reviewed-by: alanb, forax, dl
2012-05-30 22:18:37 -07:00
Sean Mullan
14c586557e 6854712: Revocation checking enhancements (JEP-124)
6637288: Add OCSP support to PKIX CertPathBuilder implementation
7126011: ReverseBuilder.getMatchingCACerts may throws NPE

Reviewed-by: xuelei
2012-05-30 17:19:46 -04:00
Jonathan Lu
3a6a1bd322 7170655: Frame size does not follow font size change with XToolkit
Reviewed-by: serb, art
2012-05-30 10:58:11 +08:00
Charles Lee
5bcaf4e157 7172177: test/java/util/TimeZone/DstTzTest.java failing on all platforms
Reviewed-by: alanb, okutsu
2012-05-29 09:42:09 +08:00
Lana Steuck
a6653a2f7c Merge 2012-05-25 19:34:32 -07:00
Lana Steuck
cc0d0b06ff Merge 2012-05-25 16:32:02 -07:00
Andrew Brygin
ea1b65ad8a 7146550: [macosx] DnD test failure in createCompatibleWritableRaster()
Reviewed-by: kizune, serb
2012-05-25 12:56:22 +04:00
Deven You
ee1d40055a 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled
Reviewed-by: okutsu
2012-05-25 13:28:40 +08:00
Abhijit Saha
5d202b67cc Merge 2012-05-21 15:13:13 -07:00
Lana Steuck
016976afd1 Merge 2012-05-21 11:44:01 -07:00
Lana Steuck
8b00bb1651 Merge 2012-05-21 11:41:33 -07:00
Andrew Brygin
9ea4ab4133 7124400: [macosx] CGraphicsDevice.getConfigurations() returns reference to member (does not copy configs)
Reviewed-by: anthony, kizune
2012-05-21 14:04:46 +04:00
Alan Bateman
66b51d0b9f 7170203: TEST_BUG: test/java/nio/MappedByteBuffer/Truncate.java failing intermittently
Reviewed-by: chegar
2012-05-21 10:41:08 +01:00
John R Rose
6b14cf6b82 7165628: Issues with java.lang.invoke.MethodHandles.Lookup
Base SecurityManager checks on either of Lookup.lookupClass or caller class; also clarify Lookup access checks.

Reviewed-by: twisti
2012-05-18 20:31:28 -07:00
Anton Tarasov
781549f47d 7125044: [macosx] Test failure because Component.transferFocus() works differently in applet and application
Forward port from 7u4

Reviewed-by: art
2012-05-17 21:48:57 +04:00
Sean Coffey
6e3d96dc67 7123896: Unexpected behavior due to Solaris using separate IPv4 and IPv6 port spaces
Reviewed-by: alanb
2012-05-17 12:21:16 +01:00
Olivier Lagneau
024a3d8370 7144861: speed up RMI activation tests
Reviewed-by: alanb, smarks, dholmes, dmocek
2012-05-11 14:13:29 -07:00
Lana Steuck
a472974402 Merge 2012-05-11 12:53:03 -07:00
Mike Duigou
3b77eb7680 7071826: Avoid benign race condition in initialization of UUID
Avoids mostly benign but sometimes expensive race condition on initialization of UUID.numberGenerator which is used by UUID.randomUUID()

Reviewed-by: alanb, chegar
2012-05-11 11:31:46 -07:00
Deven You
abd7e74713 7163874: InetAddress.isReachable should support pinging 0.0.0.0
Reviewed-by: alanb, chegar
2012-05-11 16:20:46 +08:00
Lana Steuck
49252e4667 Merge 2012-05-10 11:47:56 -07:00
Sergey Bylokhov
9668994591 7080109: Dialog.show() lacks doPrivileged() to access system event queue
Reviewed-by: art, anthony
2012-05-10 20:05:12 +04:00
Kurchi Subhra Hazra
769059e3a3 7165118: (prefs) AbstractPreferences.remove(null) does not throw NPE
Insert null argument check in AbstractPreferences.remove()

Reviewed-by: dholmes, chegar, alanb
2012-05-09 11:14:22 -07:00
Xueming Shen
c8da8f2595 7014640: To add a metachar \R for line ending and character classes for vertical/horizontal ws \v \V \h \H
Added propsoed constructs

Reviewed-by: alanb
2012-05-08 10:57:13 -07:00
David Holmes
828158fb8d 7103570: AtomicIntegerFieldUpdater does not work when SecurityManager is installed
Perform class.getField inside a doPrivileged block

Reviewed-by: chegar, psandoz
2012-05-08 02:59:10 -04:00
Lana Steuck
26faf043d2 Merge 2012-05-02 10:17:29 -07:00
Alexander Scherbatiy
4d0e923a60 7154048: [macosx] At least drag twice, the toolbar can be dragged to the left side
Reviewed-by: anthony, leonidr
2012-05-02 17:54:18 +04:00
Alan Bateman
6fed495d1f 7164570: (fs) WatchService queues CREATE event but not DELETE event for very short lived files [sol11]
Reviewed-by: chegar
2012-05-01 11:17:20 +01:00
Lana Steuck
5b2008805b Merge 2012-04-26 18:15:49 -07:00
Lana Steuck
6c68dd5523 Merge 2012-04-26 14:21:19 -07:00
Kurchi Subhra Hazra
6d834825de 7160242: (prefs) Preferences.remove(null) does not throw NPE [macosx]
Insert null check of argument in remove()'s implementation

Reviewed-by: forax, chegar, alanb
2012-04-25 12:31:31 -07:00
Anthony Petrov
56a050e73a 7150109: [macosx] the Frame showed incomplete
Open-source the tests

Reviewed-by: art
2012-04-24 17:47:50 +04:00
Alan Bateman
35a0ff69b0 7132924: (dc) DatagramChannel.disconnect throws SocketException with IPv4 socket and IPv6 enabled [macosx]
Reviewed-by: chegar
2012-04-22 21:22:17 +01:00
Sean Chou
2f21d39ae5 7129742: Unable to view focus in Non-Editable TextArea
Make sure the cursor is visible by setVisible(true)

Reviewed-by: rupashka, alexp
2012-04-20 10:34:40 +08:00
Coleen Phillimore
e776b337e8 Merge 2012-04-19 10:53:35 -04:00
Lana Steuck
b0654071b7 Merge 2012-04-18 10:21:59 -07:00
Joe Wang
87e24367ff 7160380: Sync JDK8 with JAXP 1.4.5
Bring JDK8 up to date to what we have in 7u4

Reviewed-by: lancea, mullan
2012-04-17 11:21:35 -07:00
Jim Gish
9e2790c8ae 7116200: (cs) test/java/nio/charset/coders/StreamTimeout.java fails with "Address already in use"
Co-authored-by: Remi Forax <forax@univ-mlv.fr>
Reviewed-by: alanb, chegar
2012-04-17 15:46:04 +01:00
James Melvin
d090606f36 7130404: [macosx] "os.arch" value should be "x86_64" for compatibility with Apple JDK6
On Mac OS X, align system property "os.arch" with Apple legacy JDKs.  Also, improve os.name string matching by using .contains() method instead of .startsWith(). This fix spans multiple repositories.

Reviewed-by: dcubed, phh, ohair, katleman
2012-04-16 18:09:53 -04:00
Alan Bateman
b29ee10938 7143744: (se) Stabilize KQueue SelectorProvider and make default on MacOSX
Reviewed-by: michaelm, chegar
2012-04-16 20:12:20 +01:00
Sean Mullan
9fd5ef2141 Merge 2012-04-13 09:49:41 -04:00
Sean Mullan
ac620e811d 7152564: Improve CodeSource.matchLocation(CodeSource) performance
7155693: CodeSource.matchLocation getPort test can be improved

Reviewed-by: chegar
2012-04-13 09:46:25 -04:00
Xueming Shen
1f4653910f 7067045: replaceAll("\u20ac", "$"); causses java.lang.StringIndexOutOfBoundsExceptio
Updated to throw IAE instead.

Reviewed-by: lancea
2012-04-12 15:01:41 -07:00
Lana Steuck
5e9ea38531 Merge 2012-04-11 18:44:33 -07:00
Lana Steuck
25e2d2bf5c Merge 2012-04-10 23:18:33 -07:00
Sergey Bylokhov
2e12d45877 7097771: setEnabled does not work for components in disabled containers
Reviewed-by: art, anthony
2012-04-10 22:09:58 +04:00
Sean Zhou
79f8fba3f9 7121314: Behavior mismatch between AbstractCollection.toArray(T[] ) and its spec
Co-authored-by: Ulf Zibis <ulf.zibis@gmx.de>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Reviewed-by: dholmes, mduigou
2012-04-10 10:17:36 +08:00
Anthony Petrov
1862aaa218 7147435: closed/java/awt/Toolkit/Headless/WrappedToolkitTest/WrappedToolkitTest.sh failed since 7u4b11
Forward-port the fix from 7u4 and open-source the test

Reviewed-by: art
2012-04-06 17:03:34 +04:00
Lana Steuck
d636893400 Merge 2012-04-04 13:16:52 -07:00
Lana Steuck
6b12eddc42 Merge 2012-04-04 12:35:44 -07:00
Chris Hegarty
60b713fd8d 6963841: java/util/concurrent/Phaser/Basic.java fails intermittently
Reviewed-by: dl, dholmes
2012-04-04 15:14:00 +01:00
Anthony Petrov
e352bc83f0 7154177: [macosx] An invisible owner frame becomes visible upon clicking a child window
Establish the parent-child relationship for visible windows only

Reviewed-by: serb
2012-04-03 16:14:05 +04:00
Sean Chou
045668b454 7155298: Editable TextArea/TextField are blocking GUI applications from exit
Stop default caret's timer by setVisible(false) when dispose

Reviewed-by: anthony, ant
2012-03-31 16:55:56 +08:00
Lana Steuck
1ae8995f36 Merge 2012-03-30 16:57:50 -07:00
Yuka Kamiya
e127bc8acf 7070436: Support Unicode 6.1.0 in JDK 8
Reviewed-by: okutsu
2012-03-29 18:02:36 +09:00
Lana Steuck
f931c18437 Merge 2012-03-26 17:31:42 -07:00
Lana Steuck
a3f1271a63 Merge 2012-03-21 13:38:55 -07:00
Oleg Pekhovskiy
310990d4dc 7128738: dragged dialog freezes system on dispose
Reviewed-by: anthony
2012-03-19 21:22:18 +04:00
Yong Jeffrey Huang
b3e79c6c6c Merge 2012-03-14 23:19:52 -07:00
Yong Jeffrey Huang
97292b3883 7085757: Currency Data: ISO 4217 Amendment 152
Reviewed-by: naoto
2012-03-14 23:07:21 -07:00
Kurchi Subhra Hazra
56132c0447 7045655: An empty InMemoryCookieStore should not return true for removeAll
CookieStore.removeAll() should return false for an empty CookieStore

Reviewed-by: chegar
2012-03-15 13:21:16 -07:00
Frederic Parain
b497391969 7074616: java.lang.management.ManagementFactory.getPlatformManagementInterfaces fails
Reviewed-by: dholmes, sla
2012-03-14 09:03:08 -07:00
Lana Steuck
fa178171b6 Merge 2012-03-13 20:23:43 -07:00
Chris Hegarty
015d7657e7 7152796: TEST_BUG: java/net/Socks/SocksV4Test.java does not terminate
Reviewed-by: alanb
2012-03-13 09:33:50 +00:00
Sean Coffey
bfbf85b7a7 7148584: Jar tools fails to generate manifest correctly when boundary condition hit
Reviewed-by: alanb, sherman
2012-03-12 11:30:28 +00:00
Alan Bateman
3ecf3e0fa1 7152866: Tests not run because they are missing the @run tag
Reviewed-by: chegar, dholmes
2012-03-12 10:17:18 +00:00
Lana Steuck
ae6769c77d Merge 2012-03-09 11:58:08 -08:00
Lana Steuck
76177f7a48 Merge 2012-03-08 15:26:32 -08:00