David Holmes
83c72a434a
7005007: Refine use of ALT_COMPILER_PATH to avoid conflict with JPRT usage
...
Check for CROSS_COMPILE_ARCH being set as an indicator to use ALT_COMPILER_PATH
Reviewed-by: acorn, ohair
2010-12-09 20:12:06 -05:00
Naoto Sato
4127266c60
Merge
2010-12-09 15:26:22 -08:00
Naoto Sato
63331cdad1
7000507: javadoc warnings in java.util.Locale
...
7004335: Javadoc for Locale.toLangaugeTag() is unclear
7005320: (lc) doc: missing " in Locale.forLanguageTag code samples
Reviewed-by: okutsu
2010-12-09 15:22:05 -08:00
Qi Zuo
c7c0f1d6ea
Merge
2010-12-09 16:05:25 -05:00
Keith McGuigan
de27a1608c
7004582: Add GetThisObject() function to JVMTI 1.2
...
Add 'GetThisObject' function
Reviewed-by: never, coleenp
2010-12-09 15:04:26 -05:00
Naoto Sato
3458c499c9
6486695: [Col] Doc: CollationElementIterator example assumes Collator.getInstance return type
...
Reviewed-by: okutsu
2010-12-09 11:56:38 -08:00
Lance Andersen
b2516290d4
6659234: Incorrect check in SerialBlob.getBytes
...
Reviewed-by: darcy
2010-12-09 13:01:14 -05:00
Y. Srinivas Ramakrishna
8baafdfd45
7005259: CMS: BubbleUpRef asserts referent(obj)->is_oop() failed: Enqueued a bad referent
...
Relaxed the assert by allowing NULL referents when discovery may be concurrent.
Reviewed-by: johnc, jcoomes
2010-12-09 09:22:57 -08:00
Jonathan Gibbons
cc42fec255
6985202: no access to doc comments from Tree API
...
Reviewed-by: mcimadamore
2010-12-09 08:48:08 -08:00
Jonathan Gibbons
3244279bb2
4917091: javac rejects array over 128 in length
...
Reviewed-by: mcimadamore
2010-12-09 08:24:42 -08:00
Qi Zuo
f43486fa42
Merge
2010-12-09 10:58:34 -05:00
Maurizio Cimadamore
d2e437cb96
7005371: Multicatch: assertion error while generating LocalVariableTypeTable attribute
...
Compiler crashes with assertion error if '-g' option is passed and source contains multicatch
Reviewed-by: jjg
2010-12-09 15:50:57 +00:00
Maurizio Cimadamore
929d3fd3f5
6476118: compiler bug causes runtime ClassCastException for generics overloading
...
Compiler allows bridge methods to override unrelated method
Reviewed-by: jjg
2010-12-09 15:50:34 +00:00
Maurizio Cimadamore
e8d1ae243d
7005095: Cast: compile reject sensible cast from final class to interface
...
A previous fix to cast conversion has made the compiler too strict w.r.t. final cast
Reviewed-by: jjg
2010-12-09 15:50:10 +00:00
Dmitry Samersoff
d344b51209
6989076: JVM crashes in klassItable::initialize_itable_for_interface
...
Hotspot should check protection attribute besides the name and signature of the method when constructing vtable.
Reviewed-by: dcubed
2010-12-09 17:53:22 +03:00
Joe Darcy
116762a60e
7003550: Loosen modeling requirements for annotation processing erroneous code
...
Reviewed-by: jjg
2010-12-08 21:21:42 -08:00
Xueming Shen
5b0e49b0e1
5076980: (fmt) FormattableFlags specifies unsupported '^' format flag
...
Replaced '^' with 'S' in spec
Reviewed-by: darcy
2010-12-08 20:11:31 -08:00
Masayoshi Okutsu
f104b182da
6911839: Sles/SuSE 11 needs CJK support
...
Reviewed-by: peytoia
2010-12-09 12:36:58 +09:00
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