2396 Commits

Author SHA1 Message Date
Dmitry Nadezhin
9e7ba92bff 6910473: java.math.BigInteger.bitLength() may return negative "int" on large numbers
8021203: BigInteger.doubleValue/floatValue returns 0.0 instead of Infinity
8021204: Constructor BigInteger(String val, int radix) doesn't detect overflow
8022780: Incorrect BigInteger division because of MutableBigInteger.bitLength() overflow

Prevent construction of overflowed BigIntegers.

Reviewed-by: bpb, darcy, psandoz
2013-10-30 17:45:12 -07:00
Joe Darcy
5f3b001859 8005294: Consider default methods for additions to AnnotatedElement
Reviewed-by: jfranck, plevart, mchung, abuckley, sogoel
2013-10-30 17:27:25 -07:00
Bradford Wetmore
1b03814ab7 8027526: CheckTipsAndVersions.java failing occasionally
Reviewed-by: mullan, mchung
2013-10-30 16:49:35 -07:00
Brian Goetz
aee0b5cf88 8027318: Lambda Metafactory: generate serialization-hostile read/writeObject methods for non-serializable lambdas
Reviewed-by: rfield, psandoz
2013-10-29 12:31:27 -04:00
Lana Steuck
f3160929ea Merge 2013-10-30 13:51:07 -07:00
Michael McMahon
9031374301 Merge 2013-10-30 18:38:20 +00:00
Michael McMahon
76f1c66ad5 8027570: NullPointerException in URLPermission.hashCode()
Reviewed-by: chegar
2013-10-30 18:37:50 +00:00
Jaroslav Bachorik
292c14d972 8020467: Inconsistency between usage.getUsed() and isUsageThresholdExceeded() with CMS Old Gen pool
Reviewed-by: mchung, brutisso
2013-10-30 17:54:48 +01:00
Lana Steuck
65797af67d Merge 2013-10-25 10:39:13 -07:00
Sergey Malenkov
9cd10573ae 8026705: [TEST_BUG] java/beans/Introspector/TestTypeResolver.java failed
Reviewed-by: art, jfranck
2013-10-25 16:42:02 +04:00
Anton Nashatyrev
7d4c16ece3 8027066: XMLDecoder in java 7 cannot properly deserialize object arrays
Reviewed-by: alexsch, malenkov
2013-10-25 13:41:19 +04:00
Lana Steuck
836ba025a1 Merge 2013-10-24 21:52:24 -07:00
David Dehaven
6c747ded77 8025673: [macosx] Disable X11 AWT toolkit
Disable but not completely remove the XAWT and headless toolkits on Mac OS X

Reviewed-by: anthony, art, ihse, erikj
2013-10-24 20:47:41 -04:00
Petr Pchelko
45dd0a7642 8027025: [macosx] getLocationOnScreen returns 0 if parent invisible
Reviewed-by: anthony, serb
2013-10-24 19:50:33 +04:00
Daniel Fuchs
482f3cc1b9 8026863: regression in anonymous Logger.setParent method
Restore behaviour of setParent in anonymous logger and clarifies the spec with respect to security permissions.

Reviewed-by: mchung, prr
2013-10-28 10:52:07 +01:00
Xueming Shen
a06b63065d 8025003: Base64 should be less strict with padding
Updated spec and implementation of mime decoder to be lenient for padding

Reviewed-by: alanb
2013-10-24 11:12:59 -07:00
Joel Borggrén-Franck
be2d6e6535 8023651: j.l.r.Constructor.getAnnotatedReceiverType() and j.l.r.Constructor.getAnnotatedReturnType() for inner classes return incorrect result
Reviewed-by: darcy
2013-10-24 19:04:27 +02:00
Andreas Lundblad
5db9cc7bed 8027170: Annotations declared on super-super-class should be overridden by super-class
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: jfranck
2013-10-24 18:52:13 +02:00
Sergey Bylokhov
b776817a56 7090424: TestGlyphVectorLayout failed automately with java.lang.StackOverflowError
Reviewed-by: anthony, art
2013-10-24 14:32:07 +04:00
Abhijit Saha
15d051e851 Merge 2013-12-07 16:15:08 -08:00
Ivan Gerasimov
f14e06950e 8024521: (process) Async close issues with Process InputStream
Reviewed-by: psandoz, martin, alanb, robm
2013-10-23 15:37:40 +04:00
Alan Bateman
e1c6970bd6 8026344: j.u.c.a *Adder and *Accumulator extend a package private class that is Serializable
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: rriggs, psandoz, chegar
2013-10-24 13:24:32 +01:00
Clemens Eisserer
8f5a3f7514 8023483: sun/java2d/DirectX/TransformedPaintTest/TransformedPaintTest.java failed with jdk8 on linux platforms
Reviewed-by: prr, bae
2013-10-22 13:47:45 -07:00
Leonid Romanov
9d1ce9a555 8020209: [macosx] Mac OS X key event confusion for "COMMAND PLUS"
Reviewed-by: anthony, serb
2013-10-22 16:45:08 +04:00
Chris Hegarty
506667087b Merge 2013-10-22 12:33:33 +01:00
Chris Dennis
ca4ee27ab5 8024833: (fc) FileChannel.map does not handle async close/interrupt correctly
Reviewed-by: alanb
2013-10-22 12:04:19 +01:00
Alan Bateman
36e36d288c 8021257: com.sun.corba.se.** should be on restricted package list
Co-authored-by: Mark Sheppard <mark.sheppard@oracle.com>
Reviewed-by: chegar, coffeys, smarks, mullan
2013-10-22 11:43:04 +01:00
Andreas Lundblad
24b64e8c23 8004912: Repeating annotations - getAnnotationsByType(Class<T>) is not working as expected for few inheritance scenarios
8019420: Repeatable non-inheritable annotation types are mishandled by Core Reflection

Reviewed-by: jfranck
2013-10-22 12:35:27 +02:00
Joel Borggrén-Franck
415ea4460a 8009411: (reflect) Class.getMethods should not include static methods from interfaces
Update getMethods() and getMethod() to filter out interface statics

Co-authored-by: Andreas Lundblad <andreas.lundblad@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: darcy
2013-10-22 10:34:12 +02:00
Staffan Larsen
50a598d507 8025238: nsk/jvmti/scenarios/bcinstr/BI04/bi04t002 crashed with SIGSEGV
Redefined class in stack trace may not be found by method_idnum so handle null.

Reviewed-by: coleenp, dcubed, sspitsyn
2013-10-21 23:32:36 -04:00
Yuka Kamiya
fa9bbd8594 8020037: String.toLowerCase incorrectly increases length, if string contains \u0130 char
Reviewed-by: naoto
2013-10-22 06:13:01 +09:00
Xueming Shen
4741adaaf2 8026842: Remove Time-Zone IDs HST/EST/MST
Removed these ids from ZoneId's zid list, supported via short_ids list

Reviewed-by: okutsu
2013-10-21 11:16:02 -07:00
Chris Hegarty
388f28f83b Merge 2013-10-21 15:00:56 +01:00
Daniel Fuchs
2f8b3bf80a 8026499: Root Logger level can be reset unexpectedly
This fix prevents the logger's level to be re-initialized if it has already been initialized.

Reviewed-by: mchung
2013-10-21 12:00:58 +02:00
Daniel Fuchs
d6fdb0a571 8016344: (props) Properties.storeToXML behaviour has changed from JDK 6 to 7
When storing Properties to XML only locally defined properties must be saved.

Reviewed-by: psandoz, mchung, alanb
2013-10-21 11:15:41 +02:00
Jaroslav Bachorik
d491a49652 7197919: java/lang/management/ThreadMXBean/ThreadBlockedCount.java has concurency issues
Reviewed-by: sla, mchung
2013-10-21 10:40:03 +02:00
Jennifer Godinez
fbb6fe5543 8025988: [macosx] Attribute settings don't work for JobAttributes range
8025990: [macosx] Attribute settings don't work for JobAttributes setOrientationRequested, setMedia

Reviewed-by: prr, jchen
2013-10-18 15:30:10 -07:00
Roger Riggs
d7f0eeb825 8025828: Late binding of Chronology to appendValueReduced
Add a listener to the parseContext called when the Chronology changes

Reviewed-by: sherman
2013-10-18 16:37:58 -04:00
Pavel Punegov
fd2c7a3743 8024660: TEST_BUG: java/lang/ProcessBuilder/*IOHandle.java leaving hotspot.log open in fastdebug builds
Reviewed-by: alanb
2013-10-18 16:28:35 +01:00
Ivan Gerasimov
62105105d7 8026756: Test java/util/zip/GZIP/GZIPInZip.java failed
Reviewed-by: alanb
2013-10-18 16:06:20 +04:00
Alan Bateman
0452f7b159 8026859: (fs) test/java/nio/file/Files/StreamTest.java fails to compile intermittently
Reviewed-by: psandoz
2013-10-18 13:45:54 +01:00
Xueming Shen
73ccbeb833 8025971: Remove ZoneId.OLD_SHORT_IDS
8026197: Slow reading tzdb.dat if the JRE is on a high-latency, remote file system

Removed the compatiblity old short-ids mapping

Reviewed-by: okutsu
2013-10-17 23:43:08 -07:00
Doug Lea
3f1d887049 8004138: ForkJoinTask leaks exceptions
Reviewed-by: chegar, mduigou, psandoz, martin
2013-10-17 12:43:32 -07:00
Sean Mullan
2ef954a0ff Merge 2013-10-17 10:37:27 -04:00
Sean Mullan
70492e8a66 8026346: test/java/lang/SecurityManager/CheckPackageAccess.java failing
Reviewed-by: vinnie
2013-10-17 10:18:44 -04:00
David Chase
c668ed8f33 8022718: Runtime accessibility checking: protected class, if extended, should be accessible from another package
Modify accessibility check; it was muddled about Java vs JVM protection terminology.

Reviewed-by: jrose
2013-10-16 17:55:49 -04:00
Yuka Kamiya
26af18b426 8025703: Update LSR datafile for BCP 47
Reviewed-by: okutsu
2013-10-17 13:57:42 +09:00
Jennifer Godinez
bdd269bb9d 8015586: [macosx] Test closed/java/awt/print/PrinterJob/PrintToDir.java fails on MacOSX
Reviewed-by: prr, jchen
2013-10-15 14:24:49 -07:00
Dan Xu
bdb08c592d 7122887: JDK ignores Gnome3 proxy settings
Fix GConf and add to use GProxyResolver to handle network proxy resolution

Reviewed-by: chegar
2013-10-23 22:30:35 -07:00
Robert Field
80ce6f3ec5 8025868: Several lang/LMBD JCK tests fail with java.lang.BootstrapMethodError
Wildcard marker interfaces can cause duplicate implemented interfaces in generated lambda class

Reviewed-by: briangoetz
2013-10-23 15:16:35 -07:00