78946 Commits

Author SHA1 Message Date
Igor Veresov
a9bee9ec34 Merge 2010-12-08 17:50:49 -08:00
Miroslaw Niemiec
aba298cdf0 6859086: Dialog created by JOptionPane.showMessageDialog does not repaint sometimes
Reviewed-by: bae, chrisphi
2010-12-08 15:15:49 -08:00
Naoto Sato
15d5f3b709 6647615: Sample code in ListResourceBundle is not correct and causes a compile error
Reviewed-by: peytoia
2010-12-08 15:15:45 -08:00
Miroslaw Niemiec
2de767fbf0 6813208: pageDialog throws NPE from applet
Reviewed-by: ant, minqi
2010-12-08 15:04:41 -08:00
Jonathan Gibbons
b9f90baa59 7004698: javap does not output CharacterRangeTable attributes correctly
Reviewed-by: mcimadamore
2010-12-08 13:42:57 -08:00
Xueming Shen
860a7e1fc9 6415373: (cs) UnicodeEncoder emits BOM when there are no bytes to encode
No BOM output if no byte to encode

Reviewed-by: alanb
2010-12-08 12:54:43 -08:00
Xueming Shen
68746705da 6527572: (cs) Charset.forName can throw NullPointerException when testing bug level
Fixed the race condition

Reviewed-by: alanb
2010-12-08 12:15:55 -08:00
Mandy Chung
e54cb28a96 6977034: Thread.getState() very slow
Directly map the threadStatus value to Thread.State

Reviewed-by: emcmanus, dholmes
2010-12-08 10:45:28 -08:00
Sean Mullan
d91f2b34af 6998860: Signed jar file verification is currently creating many extra new Sun providers
Reviewed-by: mchung
2010-12-08 10:21:48 -08:00
Kevin Walls
03a1ccfef2 7003789: PTRACE_GETREGS problems with SA on Linux
Ifdef definitions for PTRACE_GETREGS_REQ clarified

Reviewed-by: dholmes
2010-12-08 04:50:35 -08:00
Igor Veresov
eafb22164b 7005241: C1: SEGV in java.util.concurrent.LinkedTransferQueue.xfer() with compressed oops
Implementation of the CAS primitive for x64 compressed oops was incorrect. It kills rscratch2 register (r11), which is allocatable in C1. Also, we don't need to restore cmpval as it's never used after that, so we need only one temporary register, which can be scratch1.

Reviewed-by: kvn, never
2010-12-08 02:36:36 -08:00
Igor Nekrestyanov
2c4178ca8a Merge 2010-12-08 01:27:08 -08:00
Igor Nekrestyanov
9ac5f25bb5 Merge 2010-12-08 01:15:17 -08:00
Masayoshi Okutsu
163e0575c4 6457726: Character.isWhitespace JavaDoc has nonexistent char literals
Reviewed-by: peytoia
2010-12-08 18:05:30 +09:00
Igor Nekrestyanov
39afb15853 Merge 2010-12-08 00:35:33 -08:00
Y. Srinivas Ramakrishna
544b475fc5 7001033: assert(gch->gc_cause() == GCCause::_scavenge_alot || !gch->incremental_collection_failed())
7002546: regression on SpecJbb2005 on 7b118 comparing to 7b117 on small heaps

Relaxed assertion checking related to incremental_collection_failed flag to allow for ExplicitGCInvokesConcurrent behaviour where we do not want a failing scavenge to bail to a stop-world collection. Parameterized incremental_collection_will_fail() so we can selectively use, or not use, as appropriate, the statistical prediction at specific use sites. This essentially reverts the scavenge bail-out logic to what it was prior to some recent changes that had inadvertently started using the statistical prediction which can be noisy in the presence of bursty loads. Added some associated verbose non-product debugging messages.

Reviewed-by: johnc, tonyp
2010-12-07 21:55:53 -08:00
Masayoshi Okutsu
5039c146a8 6653944: (cal) BuddhistCalendar yearOffset erased when deserialized
Reviewed-by: peytoia
2010-12-08 13:09:29 +09:00
Masayoshi Okutsu
1ff9b7213a 6203034: [AC] AttributedCharacterIterator methods works wrong (run with respect differs from spec)
Reviewed-by: peytoia
2010-12-08 13:02:22 +09:00
Masayoshi Okutsu
8818a29165 4396385: [Fmt-Da] SimpleDateFormat too lenient when parsing 1-based hours
Reviewed-by: peytoia
2010-12-08 12:50:26 +09:00
John Cuthbertson
4aaa89ea60 Merge 2010-12-07 16:44:34 -08:00
Igor Nekrestyanov
edc8e8661a Merge 2010-12-07 16:41:14 -08:00
Qi Zuo
057ec87bfd Merge 2010-12-07 19:18:48 -05:00
John Cuthbertson
8f4579fe60 6994628: G1: Test gc/gctests/FinalizeTest05 fails (one live object is finalized)
The Solaris Studio 12 update 1 C++ compiler was incorrectly re-ordering the reads of an object's mark word in oopDesc::forward_to_atomic(). This opened a small window where one thread could execute the successful CAS path even though another thread had already successfully forwarded the object. This could result in an object being copied twice. The code in oopDesc::forward_to_atomic() was changed to read the mark word once.

Reviewed-by: ysr, tonyp
2010-12-07 16:18:45 -08:00
Jonathan Gibbons
8e9c506c6c 6999210: javac should be able to warn of anomalous conditions in classfiles
Reviewed-by: mcimadamore, darcy
2010-12-07 14:13:25 -08:00
Antonios Printezis
edcfaf0f84 6994056: G1: when GC locker is active, extend the Eden instead of allocating into the old gen
Allow the eden to the expanded up to a point when the GC locker is active.

Reviewed-by: jwilhelm, johnc, ysr, jcoomes
2010-12-07 16:47:42 -05:00
Vladimir Kozlov
797fb02b41 7004925: CTW: assert(nbits == 32 || -(1 << nbits-1) <= x && x < ( 1 << nbits-1)) failed: value out of range
Set offset in register if it does not fit 13 bits.

Reviewed-by: iveresov
2010-12-07 11:00:02 -08:00
Dmitry Cherepanov
dc328d312a 6984049: applet browser vendor rebranding changes (jdk7 only)
Reviewed-by: art
2010-12-07 21:02:34 +03:00
Michael McMahon
3b12289f13 Merge 2010-12-07 13:29:20 +00:00
Michael McMahon
04da999791 7005016: sqe test jhttp/HttpServer150013/HttpServer150013.java
Reviewed-by: chegar
2010-12-07 13:27:02 +00:00
Staffan Larsen
1765b0fbf0 6539281: -Xcheck:jni should validate char* argument to ReleaseStringUTFChars
Tag allocated memory with a magic value and verify when releasing.

Reviewed-by: phh, stefank
2010-12-07 03:15:45 -08:00
Weijun Wang
aaf74fa919 6990370: FindBugs scan - Malicious code vulnerability Warnings in com.sun.jndi.ldap.*
Reviewed-by: xuelei
2010-12-07 17:30:54 +08:00
Joe Darcy
e9ba5a8f34 6990094: ObjectInputStream cloneArray doesn't handle short[]
Reviewed-by: alanb, smarks, peterjones
2010-12-07 01:09:17 -08:00
Jim Graham
d22377ef7a 6775317: Improve performance of non-AA transformed rectangles and single wide lines in software pipelines
Reviewed-by: jgodinez, prr
2010-12-06 21:45:48 -08:00
Lana Steuck
340be2d06f Merge 2010-12-06 20:35:49 -08:00
Lana Steuck
573203328d Merge 2010-12-06 20:35:04 -08:00
Lana Steuck
f3ac90dd12 Merge 2010-12-06 20:33:03 -08:00
Lana Steuck
95ea622a39 Merge 2010-12-06 20:33:02 -08:00
Mike Duigou
87ce83aac4 Merge 2010-12-06 19:40:57 -08:00
Mike Duigou
dd0d8c601c 7004205: fixes handling of sane-gcc-compiler on 32-bit linux and solaris. Previously committed as 6998016 and 6998012
Reviewed-by: ohair, dholmes
2010-12-06 19:37:40 -08:00
Weijun Wang
0ea8ad3664 6986825: policytool can not save file
Reviewed-by: wetmore
2010-12-07 09:51:13 +08:00
Keith McGuigan
dd62e29b29 7003782: Update JVMTI version to 1.2 for jdk7
Update minor version to 1.2 for jdk7

Reviewed-by: phh, dcubed
2010-12-06 20:21:15 -05:00
Steven Loomis
740215236a 6886358: layout code update
Reviewed-by: igor, prr
2010-12-06 16:10:01 -08:00
Xueming Shen
9610d3c130 6989148: (fs) zip provider should be available "out of the box"
Zip filesystem provider update, add zipfs.jar into ext dir

Reviewed-by: alanb
2010-12-06 13:18:16 -08:00
Coleen Phillimore
faf320aede Merge 2010-12-06 15:37:00 -05:00
Vinnie Ryan
7870d5a335 6557615: Method toString() of java.security.Timestamp throws IndexOutOfBoundsException if CertPath has empty
Reviewed-by: mullan
2010-12-06 18:52:23 +00:00
Kelly O'Hair
914bab4e19 7001720: copyright templates not rebranded
Reviewed-by: mchung
2010-12-06 10:47:40 -08:00
Kelly O'Hair
43fa4159cc 7001720: copyright templates not rebranded
Reviewed-by: mchung
2010-12-06 10:37:10 -08:00
Maurizio Cimadamore
5cdc149cc1 5088429: varargs overloading problem
Compiler implementation for overload resolution w/ varargs method does not match JLS

Reviewed-by: jjg
2010-12-06 11:51:02 +00:00
Maurizio Cimadamore
47f6d8a95e 7002070: If catch clause has an incompatible type, error pointer points to first exception type in list
Attribution should check each component of a disjunctive type separately, rather than checking the corresponding lub()

Reviewed-by: jjg
2010-12-06 11:50:37 +00:00
Maurizio Cimadamore
63f05334a6 7003744: Compiler error concerning final variables
Flow analysis does not cleanup init/uninint bit masks after for-loop

Reviewed-by: jjg
2010-12-06 11:49:00 +00:00