Commit Graph

2577 Commits

Author SHA1 Message Date
Lana Steuck
ebac85aa00 Merge 2013-11-27 10:44:41 -08:00
Naoto Sato
a372dd2082 8028771: regression test java/util/Locale/LocaleProviders.sh failed
Reviewed-by: alanb
2013-11-27 10:01:08 -08:00
Sergey Bylokhov
27a7aa78e9 8029024: [TEST_BUG] java/awt/Modal/ModalDialogOrderingTest/ModalDialogOrderingTest.java fails
Reviewed-by: malenkov, alexsch
2013-11-27 20:45:10 +04:00
Alexander Stepanov
faa166e5b7 8024767: [TEST] need test to cover JDK-7189452
Reviewed-by: ceisserer, bae
2013-11-27 15:15:40 +04:00
Petr Pchelko
ab26348810 8011142: [TEST_BUG] 2 AppContext regression tests failed since 7u25b03 with NullPointerException
Reviewed-by: anthony, serb
2013-11-27 11:41:55 +04:00
Jennifer Godinez
c21408ea2c 8028584: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection
Reviewed-by: bae, prr
2013-11-26 10:24:59 -08:00
Jonathan Lu
780a13433f 8024854: PPC64: Basic changes and files to build the class library on AIX
Co-authored-by: Steve Poole <spoole@linux.vnet.ibm.com>
Co-authored-by: Thomas Stuefe <thomas.stuefe@sap.com>
Reviewed-by: alanb, prr, sla, chegar, michaelm, mullan, art
2013-11-26 16:40:31 +01:00
Petr Pchelko
e4b29762d5 8024161: [TEST_BUG] [macosx] java/awt/Menu/OpensWithNoGrab/OpensWithNoGrab.java failed "menu was opened by first click after opened Choice"
Reviewed-by: anthony, serb
2013-11-26 18:50:35 +04:00
Michael McMahon
92e64d3a0d 8028293: Check local configuration for actual ephemeral port range
Reviewed-by: alanb, chegar, smarks
2013-11-26 10:06:57 +00:00
Sergey Malenkov
6c6c1d5e1b 8028054: com.sun.beans.finder.MethodFinder has unsynchronized access to a static Map
Reviewed-by: alexsch, serb
2013-11-26 13:30:44 +04:00
Yuka Kamiya
2d7889013f 8029057: test/java/text/Bidi/Bug6665028.java can fail with OutOfMemoryError
Reviewed-by: okutsu
2013-11-26 14:49:55 +09:00
Lana Steuck
a9ebc3e630 Merge 2013-11-25 13:24:38 -08:00
Lana Steuck
7179341450 Merge 2013-11-25 12:29:54 -08:00
Lana Steuck
33cd414e58 Merge 2013-11-25 09:40:25 -08:00
Clemens Eisserer
90b513b09c 8028722: Render: Drawing strings with exactly 254 glyphs causes hangs
Reviewed-by: prr, bae
2013-11-25 09:38:32 -08:00
Joel Borggrén-Franck
8296f65abb 8023278: Reflection API methods do not throw AnnotationFormatError in case of malformed Runtime[In]VisibleTypeAnnotations attribute
Reviewed-by: darcy
2013-11-22 11:34:26 +01:00
Petr Pchelko
ac94cb0062 8028485: [macosx] java/awt/Mouse/EnterExitEvents/FullscreenEnterEventTest.java fails
Reviewed-by: anthony, serb
2013-11-22 10:48:00 +04:00
Dan Xu
a353eaac39 8028628: java/nio/channels/FileChannel/Size.java failed once in the same binary run
Reviewed-by: alanb, chegar, mchung, lancea
2013-11-21 14:23:41 -08:00
Dan Xu
cf45a693dc 7065902: (file) test/java/nio/file/Files/Misc.java fails on Solaris 11 when run as root
Reviewed-by: alanb
2013-11-21 14:16:49 -08:00
Martin Buchholz
6c4294c2d9 6703075: (process) java/lang/ProcessBuilder/Basic.java fails with fastdebug
Reviewed-by: alanb
2013-11-21 16:06:05 +00:00
Tristan Yan
d45f6482a3 8022212: Intermittent test failures in java/net
Reviewed-by: chegar
2013-11-21 13:42:54 +00:00
Alan Bateman
bc63be15f2 8028734: test/java/util/Locale/InternationalBAT.java changes does not restore the default TimeZone
Reviewed-by: naoto
2013-11-20 21:34:47 +00:00
Stuart Marks
aa58ae7951 8028638: java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.java fails
Reviewed-by: lancea
2013-11-19 15:05:30 -08:00
Daniel Fuchs
c430720e0a 8005202: java/util/logging/CheckLockLocationTest.java fail on solars_10
This test has been seen failing on Solaris 10, presumably because it was run as root. The fix will skip the non-writable case if it can't make a non-writable dir.

Reviewed-by: mchung
2013-11-19 22:28:12 +01:00
Dan Xu
b33443f947 8028631: Improve the test coverage to the pathname handling on unix-like platforms
Add GeneralSolaris.java testcase and fix the concurrency issue

Reviewed-by: lancea, chegar, alanb
2013-11-19 13:22:50 -08:00
Daniel Fuchs
f1917fec5d 8028185: XMLFormatter.format emits incorrect year
Fixes a regression where the year in the date was increased by 1900.

Reviewed-by: alanb, mchung
2013-11-19 20:10:58 +01:00
Michael McMahon
1beab3cc44 8028581: [TESTBUG] java/net/Socket/LingerTest.java failing
Reviewed-by: alanb
2013-11-19 17:49:57 +00:00
Sean Coffey
4c729287e7 8016728: TEST_BUG: test/java/rmi/transport/closeServerSocket/CloseServerSocket.java failing intermittently
Reviewed-by: chegar
2013-11-19 16:22:37 +00:00
Rob McKenna
49efd68082 8022206: Intermittent test failures in java/lang/ProcessBuilder/Basic.java
Reviewed-by: chegar, alanb
2013-11-19 15:36:59 +00:00
Balchandra Vaidya
5cdc23a99c 8028094: TEST_BUG: java/lang/ProcessBuilder/Basic.java leaves "sleep 6666" processes behind
Reviewed-by: chegar
2013-11-19 15:31:33 +00:00
Sean Coffey
0b55e91e3e 8028583: Add helper methods to test libraries
Reviewed-by: chegar
2013-11-19 14:47:48 +00:00
Sergey Bylokhov
a1e87167e1 8027913: drop target notifications are sent out of order during DnD
Reviewed-by: anthony, art
2013-11-19 18:16:41 +04:00
Oleg Pekhovskiy
5c242ed70c 8027628: JWindow jumps to (0, 0) after mouse clicked
Reviewed-by: anthony, serb
2013-11-18 23:24:27 +04:00
Lana Steuck
1a633e63a9 Merge 2013-11-15 07:14:23 -08:00
Alexander Scherbatiy
e04c087c6d 8025126: [macosx] Invalid calls to setValueAt() within JTable in Java 7 on Mac OS X
Reviewed-by: serb
2013-11-15 14:05:49 +04:00
Joel Borggrén-Franck
4163fbdc49 8028055: (reflect) invoking Method/Constructor in anonymous classes breaks with -Dsun.reflect.noInflation=true
Reviewed-by: briangoetz
2013-11-14 12:17:37 +01:00
Mattias Tobiasson
c5cf3786f7 8023138: [TEST_BUG] java/lang/instrument/PremainClass/NoPremainAgent.sh fails intermittently
Port tests for java/lang/instrument/PremainClass from script to java

Reviewed-by: sla
2013-11-14 12:35:34 +01:00
Petr Pchelko
5f7b6dfb6c 8025440: [TEST_BUG] com/sun/awt/SecurityWarning/GetSizeShouldNotReturnZero.java failed since jdk8b108
Reviewed-by: anthony
2013-11-14 11:42:46 +04:00
Petr Pchelko
01f2c8f8ad 8028230: Behavior of SystemFlavorMap.getNativesForFlavor differ from that in Java 7
Reviewed-by: anthony, serb
2013-11-14 10:52:19 +04:00
Xueming Shen
dc1dba10e7 8028321: Fix for String.split() empty input sequence/JDK-6559590 triggers regression
To undo the change for 6559590

Reviewed-by: darcy
2013-11-13 22:22:28 -08:00
Eric McCorkle
fadfc31bec 8026884: test for fix of JDK-8021398 does not have @bug tag
8028021: @since 1.8 missing for certain methods in java.lang.reflect.Method in generated api docs

Two documentation fixes

Reviewed-by: darcy
2013-11-13 15:48:21 -05:00
Xueming Shen
4208726b35 8027645: Pattern.split() with positive lookahead
6559590: Pattern.compile(".*").split("") returns incorrect result

Updated spec/impl for these two corner cases

Reviewed-by: alanb, psandoz
2013-11-13 11:26:01 -08:00
Alan Bateman
fe37ddf865 8028270: Files.readSymbolicLink calls AccessController directly so security manager can't grant the permission
Reviewed-by: mchung, martin, chegar
2013-11-13 16:52:18 +00:00
Chris Hegarty
f9ecbb8f7d 8022213: Intermittent test failures in java/net/URLClassLoader
Reviewed-by: dxu, alanb
2013-11-13 16:44:12 +00:00
Mandy Chung
d26c11b9d7 8028234: Remove unused methods in sun.misc.JavaAWTAccess
Reviewed-by: art, dfuchs, lancea
2013-11-13 07:49:42 -08:00
Daniel Fuchs
e0c1c25d70 8026952: Test java/util/logging/LogManager/RootLogger/setLevel/TestRootLoggerLevel.java has wrong @bug id
Trivial: change @bug 8023163 into @bug 8026499

Reviewed-by: mchung, alanb
2013-11-13 10:50:30 +01:00
Sergey Bylokhov
9ab430a0d2 8027696: Incorrect copyright header in the tests
Reviewed-by: alanb, malenkov, mullan
2013-11-12 20:24:25 +04:00
Leonid Romanov
0b24095558 8027972: [macosx] Provide a regression test for JDK-8007006
Reviewed-by: anthony
2013-11-12 20:02:12 +04:00
Vladimir Ivanov
ee23c1f412 8027823: catchException combinator fails with 9 argument target
Reviewed-by: jrose
2013-11-09 04:21:28 +04:00
Xueming Shen
f952749e41 8026330: java.util.Base64 urlEncoder should omit padding
To add Encoder.withoutPadding()

Reviewed-by: alanb
2013-11-11 14:35:36 -08:00
Lana Steuck
92d4547bee Merge 2013-11-08 15:02:55 -08:00
Michael McMahon
536e058b8b 8028060: test/java/net/URLPermission/nstest/lookup.sh failing (win)
Reviewed-by: alanb
2013-11-11 16:06:16 +00:00
Jaroslav Bachorik
db68e03030 6523160: RuntimeMXBean.getUptime() returns negative values
RuntimeMXBean.getUptime() should be based on HR timers rather than on the OS time

Reviewed-by: dholmes, sla
2013-11-10 20:05:03 +01:00
Patrick Zhang
ee6dd6c873 8028044: [TEST_BUG] Calendar shell tests do not pass TESTVMOPTS
Reviewed-by: dholmes, alanb
2013-11-09 16:46:46 +00:00
Lana Steuck
84da58d996 Merge 2013-11-08 17:36:14 -08:00
Chris Hegarty
44a19639b3 8019834: InetAddress.getByName hangs for bad IPv6 literals
Reviewed-by: alanb
2013-11-08 15:15:48 +00:00
Tristan Yan
92076375e9 8022963: java/net/NetworkInterface/Equals.java fails equality for Windows Teredo Interface
Reviewed-by: chegar
2013-11-08 15:12:30 +00:00
Mandy Chung
4e0a88f82a 8027351: (ref) Private finalize method invoked in preference to protected superclass method
Reviewed-by: alanb, dholmes, mr, plevart, psandoz
2013-11-08 07:53:57 -08:00
Sergey Malenkov
9e33696875 8027648: Type of overridden property is resolved incorrectly
Reviewed-by: alexsch
2013-11-08 14:09:18 +04:00
Naoto Sato
e6f691aeb2 8027930: ResourceBundle test failures in fr locale
Reviewed-by: smarks
2013-11-07 10:03:38 -08:00
Michael McMahon
bffc06393b 8027881: test/java/net/URLPermission/nstest/LookupTest.java failing intermittently, output insufficient
Reviewed-by: chegar
2013-11-07 10:22:11 +00:00
John Rose
8d462795cb 8027232: Update j.l.invoke code generating class files to use ASM enhancements for invocation of non-abstract methods on ifaces
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: ksrini, rfield
2013-11-06 11:31:49 -08:00
Mandy Chung
1b7f902c51 8022208: Intermittent test failures in java/lang/Thread/ThreadStateTest.java
6944188: ThreadMXBean/ThreadStateTest.java fails intermittently

Reviewed-by: dholmes, chegar
2013-11-05 17:33:26 -08:00
Paul Sandoz
fe6f3e2439 8027712: DistinctOpTest fails for unordered test
Reviewed-by: henryjen, alanb
2013-11-05 12:08:12 +01:00
Dan Xu
3fdca18433 8027612: java/io/File/MaxPathLength.java fails intermittently in the clean-up stage
Reviewed-by: chegar
2013-11-04 15:48:08 -08:00
Andreas Lundblad
79b1f94594 8016725: TEST_BUG: java/lang/reflect/Method/DefaultMethodModeling.java failing intermittently
Moved DefaultMethodModeling.java to its own directory to avoid conflicts with Equals.java.

Reviewed-by: darcy
2013-11-04 15:21:47 +01:00
Robert Field
ee1006e3bd 7194897: JSR 292: Cannot create more than 16 instances of an anonymous class
8027681: Lambda serialization fails once reflection proxy generation kicks in

Co-authored-by: Joel Borggren-Franck <joel.franck@oracle.com>
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: ksrini, briangoetz, jfranck
2013-11-04 10:12:18 -08:00
Michael McMahon
2d8325d244 8027687: The constructors of URLPermission class do not behave as described in javad
Reviewed-by: chegar, mduigou
2013-11-04 17:47:59 +00:00
Brian Burkhalter
8c97f82aae 8027625: test/java/math/BigInteger/ExtremeShiftingTests.java needs @run tag to specify heap size
Add @run tag to specify heap size

Reviewed-by: alanb, dxu
2013-11-04 08:05:02 -08:00
Tristan Yan
bd40c9b63d 8025198: Intermittent test failure: java/util/concurrent/ThreadPoolExecutor/ThrowingTasks.java
Reviewed-by: martin, dholmes
2013-11-04 06:58:30 -05:00
Lana Steuck
ac6386468f Merge 2013-10-31 16:44:18 -07:00
Lana Steuck
30f9f179d5 Merge 2013-10-31 16:22:30 -07:00
Lana Steuck
be32b11e5b Merge 2013-10-31 15:45:57 -07:00
Dan Xu
6c3fabc342 8027155: test/java/io/File/NulFile.java failing when test run in othervm mode
Reviewed-by: mchung, alanb
2013-10-31 11:52:30 -07:00
Leonid Romanov
df6d7277ef 8013581: [macosx] Key Bindings break with awt GraphicsEnvironment setFullScreenWindow
Reviewed-by: anthony, serb
2013-10-30 20:54:42 +04:00
Petr Pchelko
849b644b8c 8027152: Regression: test closed/java/awt/Serialize/NullSerializationTest/NullSerializationTest.html fails since JDK 8 b112
Reviewed-by: art, serb
2013-10-30 12:00:18 +04:00
Jaroslav Bachorik
21a239f4c5 7144200: java/lang/management/ClassLoadingMXBean/LoadCounts.java failed with JFR enabled
Make the test less stringent by not requiring the number of loaded classes to increase by a specific number

Reviewed-by: sla
2013-10-31 11:59:09 +01:00
Paul Sandoz
894f3788d3 8027316: Distinct operation on an unordered stream should not be a barrier
Reviewed-by: henryjen, mduigou, briangoetz
2013-10-31 11:59:04 +01:00
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
Phil Race
96e5f3f16f 8031462: Fonts with morx tables are broken with latest ICU fixes
Reviewed-by: bae, vadim
2014-01-13 14:53:06 -08:00
Petr Pchelko
cf8f2bc48d 8031477: [macosx] Loading AWT native library fails
8002191: AWT-Shutdown thread does not start with the AppletSecurity on Linux
8031032: SQE test failures after JDK-8025010 was fixed

Reviewed-by: serb, ddehaven
2014-01-15 11:53:54 +04:00
Chris Hegarty
e34a00b0d7 8040038: java/net/URLPermission/nstest/lookup.sh fails with ClassNotFoundException
Reviewed-by: alanb
2014-04-15 08:28:30 +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
Mike Duigou
96e2b92fb1 8024688: further split Map and ConcurrentMap defaults eliminating looping from Map defaults, Map.merge fixes and doc fixes
Reviewed-by: psandoz, dholmes
2013-10-23 14:32:41 -07:00
Staffan Larsen
7108f683fc 8026789: Update test/java/lang/instrument/Re(transform|define)BigClass.sh test to use NMT for memory leak detection
Reviewed-by: dcubed
2013-10-23 15:55:31 +02:00
Chris Hegarty
28fc7fbaeb 8020758: HttpCookie constructor does not throw IAE when name contains a space
Reviewed-by: michaelm, msheppar
2013-10-23 14:38:22 +01:00
Jaroslav Bachorik
92bd2a8b2d 7112404: 2 tests in java/lang/management/ManagementFactory fails with G1 because expect non-zero pools
Reviewed-by: mchung, sjiang
2013-10-23 15:03:49 +02:00
Michael McMahon
b7d5f19fe0 8025734: Use literal IP address where possible in SocketPermission generated by HttpURLPermission
Reviewed-by: chegar
2013-10-23 11:00:12 +01:00
Weijun Wang
9132d85a65 8027026: Change keytool -genkeypair to use -keyalg RSA
Reviewed-by: alanb, chegar, mullan
2013-10-23 08:32:03 +08:00
Roger Riggs
92f2e33296 Merge 2013-10-22 15:06:27 -04:00
Roger Riggs
eeaf2206bb 8024686: Cleanup of java.time serialization source
Optimize serialized form of OffsetTime, OffsetDateTime; correct order of modifiers

Reviewed-by: sherman
2013-10-22 15:03:12 -04:00
Jason Uh
c6ac4eb557 8025287: NPE in api/java_security/cert/PKIXRevocationChecker/GeneralTests_GeneralTests
Reviewed-by: mullan
2013-10-22 11:57:38 -07:00
Brian Burkhalter
d2d0153dd6 7179567: JCK8 tests: api/java_net/URLClassLoader/index.html#Ctor3 failed with NPE
6445180: URLClassLoader does not describe the behavior of several methods with respect to null arguments

Document when a NPE will be thrown by URLClassLoader constructors, newInstance(), findClass(), and getPermissions().

Reviewed-by: alanb, mduigou, chegar, dholmes, jrose
2013-10-22 11:25:01 -07:00
Alan Bateman
11d02a8031 7074436: (sc) SocketChannel can do short gathering writes when channel configured blocking (win)
Reviewed-by: chegar
2013-10-22 14:13:06 +01:00
Tristan Yan
dc564c1a27 8017779: java/net/Authenticator/B4769350.java fails
Co-authored-by: Kurchi Subhra Hazra <kurchisubhra@gmail.com>
Reviewed-by: chegar
2013-10-22 14:00:16 +01:00
Ivan Gerasimov
6b2d8a5049 8023390: Test java/net/NetworkInterface/MemLeakTest.java failed with the latest jdk8 build
Removing the test as it is unreliable and fails intermittently

Reviewed-by: chegar
2013-10-15 18:41:23 +04:00
Michael McMahon
70e5173968 8014719: HttpClient/ProxyTest.java failing with IAE HttpURLPermission.parseURI
Reviewed-by: alanb, chegar
2013-10-14 22:09:15 +01:00
Lana Steuck
4811b47b2d Merge 2013-10-14 09:52:36 -07:00
Jennifer Godinez
d8f5fe01b2 8022536: closed/javax/print/TextFlavorTest.java fails
Reviewed-by: prr, jchen
2013-10-14 09:15:21 -07:00
Sergey Bylokhov
a2dc296d67 8019591: JCK: testICSEthrowing_fullScreen fails: no ICSE thrown
Reviewed-by: art, anthony
2013-10-14 20:11:56 +04:00
Stefan Karlsson
ba1c14b527 7196801: NPG: Fix java/lang/management/MemoryMXBean/LowMemoryTest2
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Reviewed-by: coleenp, sla
2013-10-14 14:28:50 +02:00
Tristan Yan
904f946258 8023555: test/java/net/Socks/SocksProxyVersion.java fails when machine name is localhost
Reviewed-by: chegar, alanb
2013-10-14 11:47:54 +01:00
Mike Duigou
f1e20eb482 8025910: rename substream(long) -> skip and remove substream(long,long)
Reviewed-by: psandoz, henryjen
2013-10-16 13:03:58 -07:00
Daniel Fuchs
9ef30e9ae7 8013839: Enhance Logger API for handling of resource bundles
4814565: (rb) add method to get basename from a ResourceBundle

Adds Logger.setResourceBundle(ResourceBundle) and ResourceBundle.getBaseBundleName()

Reviewed-by: mchung, naoto
2013-10-16 20:47:30 +02:00
Rob McKenna
1fe89b3d70 8026245: InetAddress.getLocalHost crash if IPv6 disabled (macosx)
Reviewed-by: chegar, alanb
2013-10-16 15:06:27 +01:00
Ivan Gerasimov
71f3325481 8023431: Test java/util/zip/GZIP/GZIPInZip.java failed
Properly close PipedStreams. Additional testing for malformed input

Reviewed-by: darcy, sherman
2013-10-15 21:15:17 +04:00
Chris Hegarty
1f0c182672 Merge 2013-10-15 20:47:21 +01:00
Roger Riggs
6532244455 8025722: TemporalAdjusters and TemporalQueries
Move static from interfaces methods to supporting classes

Reviewed-by: sherman
2013-10-15 13:14:03 -04:00
Chris Hegarty
3486abb2c7 Merge 2013-10-15 13:54:01 +01:00
Daniel Fuchs
c630cf1e68 8026404: Logging in Applet can trigger ACE: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
The test 'threadGroup.getParent() == null' can sometimes throw ACE and needs to be wrapped in doPrivileged.

Reviewed-by: alanb, mchung, dholmes
2013-10-15 13:01:28 +02:00
Chris Hegarty
766e77499d Merge 2013-10-15 09:27:32 +01:00
Henry Jen
ca8301dc7d 8026362: java/lang/invoke/lambda/LogGeneratedClassesTest.java failed on windows, jtreg report Fail to org.testng.SkipException
Reviewed-by: chegar
2013-10-14 17:27:20 -07:00
Lana Steuck
ccd23da6c7 Merge 2013-10-12 14:14:24 -07:00
Lana Steuck
54791de34d Merge 2013-10-11 23:27:23 -07:00
Karen Kinnear
1e73553e8c 8026213: Reflection support for private interface methods
Reviewed-by: forax, psandoz, dholmes, jfranck
2013-10-11 15:21:23 -07:00
Lana Steuck
a076cb06a6 Merge 2013-10-11 14:19:50 -07:00
Alan Bateman
68b9f08d49 8019526: (fs) Files.lines, etc without Charset parameter
Reviewed-by: psandoz, henryjen
2013-10-11 20:47:15 +01:00
Morris Meyer
532ecca465 7195597: ThreadStateTest gets different results with -Xcomp
Reviewed-by: kvn
2013-10-11 12:40:14 -07:00
Sean Mullan
0a60664cf1 Merge 2013-10-11 09:17:18 -04:00
Sean Mullan
2f923e8804 8007292: Add JavaFX internal packages to package.access
Build hooks to allow closed restricted packages to be added to java.security file

Reviewed-by: erikj, dholmes, tbell
2013-10-11 08:43:07 -04:00
Konstantin Shefov
9b8906104d 7124338: [macosx] Selection lost if a selected item removed from a java.awt.List
Reviewed-by: serb, anthony
2013-10-11 15:39:40 +04:00
Petr Pchelko
6468414f4a 8026143: [macosx] Maximized state could be inconsistent between peer and frame
Reviewed-by: anthony, serb
2013-10-11 11:48:52 +04:00
Lana Steuck
ec2a2f991c Merge 2013-10-10 20:57:36 -07:00
Lana Steuck
5db317fd23 Merge 2013-10-10 13:33:02 -07:00
Joel Borggrén-Franck
db556bacff 7044282: (reflect) Class.forName and Array.newInstance are inconsistent regarding multidimensional arrays
Reviewed-by: darcy, psandoz
2013-10-10 18:11:53 +02:00
Petr Pchelko
17c3bb8033 8024864: [macosx] Problems with rendering of controls
Reviewed-by: serb, leonidr
2013-10-10 19:27:21 +04:00
Brent Christian
5edd3cbdfe 8024709: TreeMap.DescendingKeyIterator 'remove' confuses iterator position
Override remove() method in DescendingKeyIterator

Reviewed-by: alanb, mduigou, psandoz
2013-10-09 12:13:31 -07:00
Brian Burkhalter
4ee6d9bd3a 8016252: More defensive HashSet.readObject
Add data validation checks in readObject().

Reviewed-by: alanb, mduigou, chegar
2013-10-09 11:47:48 -07:00
Stephen Colebourne
bc56565f2a 8024076: Incorrect 2 -> 4 year parsing and resolution in DateTimeFormatter
Add appendValueReduced method based on a ChronoLocalDate to provide context for the value

Reviewed-by: sherman
2013-10-09 13:34:37 -04:00
Henry Jen
1f02e9968e 8023524: Mechanism to dump generated lambda classes / log lambda code generation
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: plevart, mchung, forax, jjb
2013-10-09 09:41:40 -07:00
Alexander Stepanov
bff389c83b 8025649: need test to cover JDK-8000423
Reviewed-by: anthony, serb
2013-10-09 13:40:55 +04:00
Lana Steuck
b6903ca07e Merge 2013-10-08 14:57:32 -07:00
Lana Steuck
14794b79d9 Merge 2013-10-08 14:53:14 -07:00
Lana Steuck
b96364e53b Merge 2013-10-08 14:37:33 -07:00
Alexander Scherbatiy
9a9e0fd42c 7081594: Windows owned by an always-on-top window DO NOT automatically become always-on-top
Reviewed-by: art, anthony, serb
2013-10-08 18:45:38 +04:00
Alan Bateman
31fdd1b27c 8024788: (fs) Files.readAllBytes uses FileChannel which may not be supported by all providers
Reviewed-by: chegar
2013-10-08 10:49:09 +01:00
Henry Jen
6a322383a8 8026009: Changes for 8025968 break all stream tests
Reviewed-by: mduigou
2013-10-07 15:18:37 -07:00
Henry Jen
1542ab6eef 8025968: Integrate test improvements made in lambda repo
Reviewed-by: psandoz
2013-10-07 11:25:56 -07:00
Alexander Scherbatiy
3b9db3b7b2 8007219: [macosx] Frame size reverts meaning of maximized attribute if frame size close to display
Reviewed-by: serb, anthony
2013-10-07 16:42:29 +04:00
John R Rose
be5df968ee 8024438: JSR 292 API specification maintenance for JDK 8
Add wildcard to unreflectConstructor, various clarifications and minor edits

Reviewed-by: mchung, darcy, twisti
2013-10-05 05:30:40 -07:00
John R Rose
c5b5f0d6c7 8025112: JSR 292 spec updates for security manager and caller sensitivity
Align CONSTANT_MethodHandle and Lookup.find* API calls, clarify security manager & @CallerSensitive interactions

Reviewed-by: mchung, twisti
2013-10-05 05:30:39 -07:00
John R Rose
32e77eaae1 8001110: method handles should have a collectArguments transform, generalizing asCollector
Promote an existing private method; make unit tests on all argument positions to arity 10 with mixed types

Reviewed-by: twisti, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose
4ea5f818b5 8024599: JSR 292 direct method handles need to respect initialization rules for static members
Align MH semantic with bytecode behavior of constructor and static member accesses, regarding <clinit> invocation.

Reviewed-by: twisti, darcy, abuckley, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose
154969a2bc 8001108: an attempt to use "<init>" as a method name should elicit NoSuchMethodException
Add an explicit check for leading "<", upgrade the unit tests

Reviewed-by: twisti, darcy
2013-10-05 05:30:39 -07:00
John R Rose
e4df9dc1ee 8001109: arity mismatch on a call to spreader method handle should elicit IllegalArgumentException
Document error conditions that may occur when calling a "spreader" method handle.  Use IAE in all cases.

Reviewed-by: twisti, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose
77dc59f6ca 8019417: JSR 292 javadoc should clarify method handle arity limits
Clarification of erroneous reading of spec. that led to 7194534

Reviewed-by: twisti, darcy
2013-10-05 05:30:39 -07:00
John R Rose
622186edcb 8001105: findVirtual of Object[].clone produces internal error
Replicate JVM logic for access control that makes Object.clone appear public when applied to an array type.

Reviewed-by: twisti
2013-10-05 05:30:38 -07:00
Chris Hegarty
54db1788f4 Merge 2013-10-03 19:07:42 +01:00
Chris Hegarty
6088b141e2 Merge 2013-10-03 19:06:43 +01:00
Alexander Scherbatiy
5520d11d0c 7092283: Property Window.locationByPlatform is not cleared by calling setVisible(false)
Reviewed-by: anthony, serb
2013-10-03 19:02:45 +04:00
Paul Sandoz
1604846c44 8025567: Mark relevant public stream tests as serialization hostile
Reviewed-by: alanb
2013-10-03 10:59:51 +02:00
Phil Race
e43112a8ad 7179526: xrender : closed/sun/java2d/volatileImage/LineClipTest.java failed since jdk8b36
Reviewed-by: prr, jchen
2013-10-02 11:22:07 -07:00
Sergey Bylokhov
12a7707961 8013563: Memory leak in JFrame on Linux
Reviewed-by: anthony, art
2013-10-02 21:02:04 +04:00
Eric McCorkle
367fa5ac0e 8020981: Update methods of java.lang.reflect.Parameter to throw correct exceptions
Fix behavior of parameter reflection API for malformed class files.

Reviewed-by: darcy
2013-10-02 19:13:42 -04:00
Petr Pchelko
d5ec67a6e5 8024163: [macosx] NullPointerException at javax.swing.TransferHandler$DropHandler.handleDrag since jdk8b93, 7u40b28
Reviewed-by: anthony, serb
2013-10-02 11:32:56 +04:00
David Katleman
b4c28b3b28 Merge 2013-10-01 12:45:47 -07:00
Paul Sandoz
7ee60c366e 8025535: Unsafe typecast in java.util.stream.SortedOps
Reviewed-by: mduigou, chegar
2013-10-01 18:20:03 +02:00
Sean Coffey
8d0e77641f 8024952: ClassCastException in PlainSocketImpl.accept() when using custom socketImpl
Reviewed-by: chegar
2013-10-02 09:21:02 +01:00
Masayoshi Okutsu
824b25cc94 6902861: (cal) GregorianCalendar roll WEEK_OF_YEAR is broken for January 1 2010
Reviewed-by: peytoia
2013-10-02 15:31:35 +09:00
Vera Akulova
6d63827a99 7125471: [macosx] NofocusListDblClickTest should wait between doublr clicks
Reviewed-by: anthony, serb
2013-10-01 13:19:07 +04:00
Sergey Bylokhov
0c7604f2bc 7150100: [macosx] "0123456789" is selected in the TextField
Reviewed-by: anthony, art
2013-10-01 04:29:50 +04:00
Kumar Srinivasan
a210a6a74e 8020552: [launcher] changes to support removal of Solaris 32-bit distribution
8023495: [infra] create 64-bit solaris bits with symlinks

Reviewed-by: ihse, tbell, dholmes, darcy, alanb, erikj, sla, martin
2013-09-27 16:29:44 -07:00
Patrick Reinhart
2c516bc7b4 6870661: Setting a custom PrintService on a PrinterJob leads to a PrinterException
Reviewed-by: prr, jgodinez
2013-09-27 13:04:54 -07:00
David Chase
fdf6a159f5 8022701: Accessibility checking: InvocationTargetException is thrown instead of IllegalAccessError
Inserted code to convert specific exceptions, case-by-case, plus a test.

Reviewed-by: jrose, twisti
2013-09-27 13:32:32 -04:00
Eric McCorkle
e92da66e0b 8021398: j.l.r.Parameter.getAnnotatedType().getType() for not annotated use of type returns null
Fixed issue with type annotation reflection framework that would cause getType of AnnotatedTypes to be null if no annotations were present.

Reviewed-by: darcy, jfranck
2013-10-01 17:35:32 -04:00
Alexander Stepanov
c49c083729 8024122: [TEST] need test to cover JDK-7146572
Reviewed-by: anthony, yan
2013-09-27 14:29:27 +04:00
Lana Steuck
65dd56bc16 Merge 2013-09-26 17:21:47 -07:00
Lana Steuck
5f840f6118 Merge 2013-09-26 17:18:12 -07:00
Clemens Eisserer
00c37e4e9e 8024895: xrender MaskImage cache isn't accounting for change in alpha
Reviewed-by: prr, jchen
2013-09-26 16:30:38 -07:00
Stephen Colebourne
242f0dd3c2 8025718: Enhance error messages for parsing
Add values and types to exception messages

Reviewed-by: lancea
2013-09-26 15:19:27 -07:00
Roger Riggs
c9982055b4 8024612: java/time/tck/java/time/format/TCKDateTimeFormatters.java failed
The test should be using the Locale.Category.FORMAT to verify the test data

Reviewed-by: lancea
2013-10-09 11:02:55 -04:00
Mandy Chung
18f83d0a7c 8026027: Level.parse should return the custom Level instance instead of the mirrored Level
Reviewed-by: dfuchs, chegar
2013-10-09 06:24:42 -07:00
Phil Race
d0ef16f2c3 7092764: java.awt.font.TransformAttribute.equals(null) throws NPE
Reviewed-by: jgodinez, jchen
2013-09-26 15:06:39 -07:00
Brent Christian
587ef317c6 8025173: HashMap.put() replacing an existing key can trigger a resize()
Ensure that HashMap is not resized if we're just replacing a value

Reviewed-by: alanb, martin
2013-09-26 11:13:34 -07:00
Konstantin Shefov
c3a64bea84 8004032: [TEST_BUG] [macosx] There is no effect when double clicking on the Icon, after right clicking on the Icon and the Icon disappear
Reviewed-by: anthony, serb
2013-09-25 16:52:46 +04:00
Alexander Scherbatiy
c0720f17f6 8007155: [macosx] Disabled panel takes mouse input in JLayeredPane
Reviewed-by: serb, anthony
2013-09-25 16:17:42 +04:00
Daniel Fuchs
ddddd1d31f 8025140: TEST_BUG: java/util/logging/Logger/getGlobal tests fail due to timeout
Arbitrary timeouts in the tests @run lines where too agressive for some configurations. The tests will now run with default timeout.

Reviewed-by: alanb, mchung
2013-09-25 09:47:24 +02:00
Sergey Bylokhov
10ff8a3aa4 7172833: For default java.awt.Toolkit impl methods java.awt.Toolkit.is/setDynamicLayout() are not consistent
Reviewed-by: alexsch, anthony
2013-09-23 17:55:36 +04:00
Vera Akulova
ae556f32b9 8017180: [macosx] [TEST_BUG] alt-key doesn't work on macos for menu
Reviewed-by: alexsch, serb
2013-09-20 17:16:45 +04:00
Leonid Romanov
bf404f9ad8 7129133: [macosx] Accelerators are displayed as Meta instead of the Command symbol
Reviewed-by: anthony, serb
2013-09-19 23:46:15 +04:00
Lana Steuck
e05ff03241 Merge 2013-09-18 16:01:37 -07:00
Mike Duigou
bf70514208 8025067: Unconditionally throw NPE if null op provided to Arrays.parallelPrefix
Reviewed-by: henryjen, chegar, psandoz
2013-10-01 10:23:00 -07:00
Paul Sandoz
223c6bf379 8024408: Specifications for Collection/List/Set/SortedSet.spliterator() need to document if all the (subclass) instances are required to return SIZED spliterators
Reviewed-by: alanb
2013-10-01 12:19:20 +02:00
Konstantin Shefov
441fa0cc1d 8015588: [TEST_BUG] [macosx] Test java/awt/MenuBar/MenuBarSetFont/MenuBarSetFont.java fails on MacOSX
Reviewed-by: anthony, serb
2013-09-16 19:21:50 +04:00
Konstantin Shefov
52cf3b81e7 7020060: [TEST_BUG] java/awt/FullScreen/TranslucentWindow/TranslucentWindow.java failed
Reviewed-by: anthony, serb
2013-09-16 19:15:53 +04:00
Mark Sheppard
4d540aa581 6458027: Disabling IPv6 on a specific network interface causes problems
Added a check to test if an interface is configured for IPv6 to native code TwoStacklainDatagramSocketImpl: getMulticastInterface, setMulticastInterface

Reviewed-by: chegar, michaelm
2013-09-16 14:51:48 +01:00
Alexander Scherbatiy
5b376db4f0 8008728: [macosx] Swing. JDialog. Modal dialog goes to background
Reviewed-by: serb
2013-09-16 17:45:07 +04:00
Paul Sandoz
4df3876c56 8024837: Rename java/util/concurrent/ConcurrentHashMap/toArray.java to ToArray.java
Reviewed-by: alanb
2013-09-15 16:13:41 +02:00
Stephen Colebourne
ea9e3930af 8024834: Better return type for TemporalField resolve
Allow resolve method to return more than just ChronoLocalDate

Reviewed-by: sherman
2013-09-14 22:54:38 +01:00
Stephen Colebourne
2040c66b16 8024807: Add getChronlogy() to CLDT/CZDT
Alternative to method is clunky and hard to find

Reviewed-by: sherman
2013-09-14 22:50:40 +01:00
Stephen Colebourne
c492e4ef1f 8024835: Change until() to accept any compatible temporal
Method until(Temporal,TemporalUnit) now uses from() to convert; Enhance from() methods where necessary

Reviewed-by: sherman
2013-09-14 22:46:49 +01:00
Petr Pchelko
a7d4eaed9a 8012026: [macosx] Component.getMousePosition() does not work in an applet on MacOS
Reviewed-by: anthony, serb
2013-09-13 18:02:18 +04:00
Petr Pchelko
1a1a6829fa 8024381: The test for 8020210 does not have @bug tag
Reviewed-by: anthony, serb
2013-09-10 11:00:21 +04:00
Lana Steuck
54a198badd Merge 2013-09-06 15:09:44 -07:00
Chris Hegarty
aed9248e0b Merge 2013-09-06 13:36:33 +01:00
Chris Hegarty
18f0e54e81 Merge 2013-09-06 09:41:21 +01:00
Anton Nashatyrev
8053376ea2 8023392: Swing text components printed with spaces between chars
Reviewed-by: alexsch, alexp
2013-09-05 15:37:40 +04:00
Stephen Colebourne
61fc7dfe0c 8023762: Add ChronoPeriod interface and bind period to Chronology
Make Period ISO-only, adding a Chronology-specific period concept

Reviewed-by: sherman
2013-09-04 15:18:54 +01:00
Sergey Malenkov
22039ebd3e 7172865: PropertyDescriptor fails to work with setter method name if setter is non-void
Reviewed-by: art, alexsch
2013-09-03 21:53:14 +04:00
Alexander Scherbatiy
6ffe7bb513 8007156: [macosx] Wrong events in processKeyBinding of JTable Submit Date
Reviewed-by: leonidr
2013-09-03 17:27:20 +04:00
Anthony Scarpino
bae7582243 7122707: Security Providers need to have their version numbers updated for JDK8
Reviewed-by: xuelei
2013-09-19 11:59:14 -07:00
Joel Borggrén-Franck
279576cf17 8007072: Update Core Reflection for Type Annotations to match latest spec
8022324: j.l.Class.getAnnotatedInterfaces() for array type returns wrong value
8024915: j.l.r.Executable.getAnnotatedReceiverType() should return null for static methods

Update javadoc and implementation of reflection for type annotations to match latest spec

Reviewed-by: darcy
2013-09-30 11:18:18 +02:00
Dan Xu
512fbc2a59 8025128: File.createTempFile fails if prefix is absolute path
Use only the file name from the supplied prefix for backward compatibility

Reviewed-by: alanb, chegar
2013-09-27 17:09:25 -07:00
Paul Sandoz
ea739968d2 8023339: Refined Collection.removeIf UOE conditions
Reviewed-by: mduigou
2013-09-27 13:30:31 -07:00
Mike Duigou
e68f7e9564 8025595: Remove alt-rt.jar, used by +AggressiveOps (jdk repo portion of JDK-8024826)
Reviewed-by: alanb, chegar, dholmes, ksrini
2013-09-27 10:21:04 -07:00
Paul Sandoz
bef51c4a08 8010293: java/util/concurrent/ConcurrentHashMap/toArray.java fails intermittently
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: forax, chegar, alanb
2013-09-02 11:59:57 +02:00
Roger Riggs
e763c78a79 8023556: Update javadoc for start of Meiji era
Correct the javadoc in JapaneseEra.MEIJI to match the implementation

Reviewed-by: darcy, sherman
2013-09-14 13:55:06 -04:00
Roger Riggs
e2940a0e25 8023639: Difference between LocalTime.now(Clock.systemDefaultZone()) and LocalTime.now() executed successively is more than 100 000 000 nanoseconds for slow machines
Test timed out on a slow machine; it is not a conformance test and should be in the test subtree

Reviewed-by: darcy, sherman
2013-09-14 13:55:04 -04:00
Mike Duigou
b59dc6762e 8021591: Additional explicit null checks
Reviewed-by: psandoz, alanb
2013-09-13 11:18:44 -07:00
Mark Sheppard
767ab8c9ae 8024675: java/net/NetworkInterface/UniqueMacAddressesTest.java fails on Windows
Amended test to add active, i.e. isUp(), NetworkInterfaces to test list

Reviewed-by: alanb, chegar
2013-09-13 12:20:53 +01:00
Brent Christian
276b809ff4 8024009: Remove jdk.map.useRandomSeed system property
Removed usage of hashSeed in Hashtable & WeakHashMap, and removed tests

Reviewed-by: alanb, mduigou
2013-09-12 14:22:53 -07:00
Dmitry Nadezhin
28d455529e 8010430: Math.round has surprising behavior for odd values of ulp 1
If the effective floating point exponent is zero return the significand including the implicit 1-bit.

Reviewed-by: bpb, darcy, gls
2013-09-11 17:07:35 -07:00
Roger Riggs
04a877811a 8024618: Issues with French locale on compact1,2: expected:<janvier> but was:<January>
Tests against the data of the French locale are not valid as conformance tests and are redundant with testing of the US Locale above

Reviewed-by: alanb
2013-09-12 10:58:38 -04:00
Daniel Fuchs
f0317e41c1 8024525: Make Logger log methods call isLoggable()
This changeset makes the various Logger logging method call isLoggable() instead of inlining the level checks.

Reviewed-by: mchung, alanb
2013-09-12 17:01:39 +02:00
Henry Jen
b83654dad2 8024500: Missing API coverage for java.util.function.BiFunction andThen
Reviewed-by: mduigou, alanb
2013-09-11 11:25:14 -07:00
Roger Riggs
e49385792c Merge 2013-09-11 10:35:31 -04:00
Roger Riggs
3dc259dd94 8024164: JSR310 serialization should be described in details
The serialized-form.html should specify the stream format for interoperability

Reviewed-by: alanb
2013-09-11 10:16:21 -04:00
Chris Hegarty
9e8f2037d0 8023090: Additional debug info for java/net/NetworkInterface/Equals.java
Reviewed-by: alanb
2013-09-11 11:32:50 +01:00
Joel Borggrén-Franck
9a30d420c4 4987375: (reflect) Class.get{Declared}Method{s} does not return clone() for array types
Update spec to match long standing behavior

Reviewed-by: darcy, mchung
2013-09-11 09:45:52 +02:00
Yiming Wang
befcecbd00 8023878: (fs) TEST_BUG java/nio/file/WatchService/SensitivityModifier.java fails intermittently
Reviewed-by: alanb
2013-09-10 10:42:55 +01:00
Mark Sheppard
ab579cbd5f 8021372: NetworkInterface.getNetworkInterfaces() returns duplicate hardware address
Amended src/windows/native/java/net/NetworkInterface_winXP.c to "properly" handle Ipv6IfIndex

Reviewed-by: chegar, dsamersoff
2013-09-09 13:44:30 +01:00
Sean Mullan
38f4277489 Merge 2013-09-06 12:10:30 -04:00
Sean Mullan
23d61e9b45 8023362: Don't allow soft-fail behavior if OCSP responder returns "unauthorized"
Reviewed-by: vinnie, xuelei
2013-09-06 12:04:18 -04:00
Mark Sheppard
92c43dcb6a 8023326: [TESTBUG] java/net/CookieHandler/LocalHostCookie.java misplaced try/finally
Amended test to be more robust to set of potential exceptions thrown

Reviewed-by: chegar, khazra
2013-09-06 15:00:59 +01:00
Daniel Fuchs
33dbc2d51c 8023168: Cleanup LogManager class initialization and LogManager/LoggerContext relationship
8021003: java/util/logging/Logger/getGlobal/TestGetGlobalConcurrent.java fails intermittently
8019945: test/java/util/logging/LogManagerInstanceTest.java failing intermittently

This fix untangles the class initialization of Logger and LogManager, and also cleans up the relationship between LogManager, LoggerContext, and Logger, which were at the root cause of some intermittent test failures.

Reviewed-by: mchung, martin, plevart
2013-09-09 13:59:51 +02:00
Joel Borggrén-Franck
8007590d3b 5047859: (reflect) Class.getField can't find String[].length
Reviewed-by: darcy, mchung
2013-09-06 14:20:12 +02:00
Jaroslav Bachorik
61000f0c4b 6815130: Intermittent ThreadMXBean/Locks.java test failure
Preventing stale reads from ThreadExecutionSynchronizer.waiting flag

Reviewed-by: dholmes, mchung, dfuchs
2013-09-06 10:03:16 +02:00
Jaroslav Bachorik
ea3200b784 8004179: Few of test/java/lang/management/ThreadMXBean/* tests don't clean up the created threads
Just run those tests in "othervm" mode.

Reviewed-by: alanb, dfuchs, sjiang
2013-09-05 14:34:22 +02:00
Daniel Fuchs
a0c3d88fba 8019853: Break logging and AWT circular dependency
Break logging and AWT circular dependency, which was at the root cause for 8023258 - Logger.getLogger() after ImageIO.read() returns different logger instance

Reviewed-by: mchung, art
2013-09-04 16:22:22 +02:00
Alan Bateman
cc84e69bec 8008981: Deprecate SecurityManager checkTopLevelWindow, checkSystemClipboardAccess, checkAwtEventQueueAccess
Reviewed-by: anthony, art, mchung
2013-09-04 11:40:23 +01:00
Paul Sandoz
0fb014c2b3 8023463: Improvements to HashMap/LinkedHashMap use of bins/buckets and trees (red/black)
8012913: LinkedHashMap key/value/entry spliterators should report ORDERED

Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: mduigou, forax, bchristi, alanb
2013-09-04 09:34:25 +02:00
Alexander Scherbatiy
f8b0bf1b23 8022401: [macosx] javax/swing/text/JTextComponent/5074573/bug5074573.java fails
Reviewed-by: anthony
2013-08-30 13:28:15 +04:00
Chris Hegarty
5df790a009 Merge 2013-08-30 09:38:23 +01:00
Chris Hegarty
369c079b32 Merge 2013-08-30 09:37:29 +01:00
Roger Riggs
1e581e11ea 8024427: Missing java.time.chrono serialization tests
Add tests and cleanup existing serialization tests

Reviewed-by: sherman
2013-10-03 15:16:14 -04:00
Dan Xu
ae3b889b67 4792059: test/java/io/pathNames/GeneralSolaris.java fails on symbolic links
Exclude the possible usage of linked files or directories in the test

Reviewed-by: alanb
2013-08-29 10:43:46 -07:00
Ivan Gerasimov
06571ae862 8023130: (process) ProcessBuilder#inheritIO does not work on Windows
Reviewed-by: alanb, martin
2013-09-23 04:05:42 +01:00
Paul Sandoz
57f84d8637 8024341: j.u.regex.Pattern.splitAsStream() doesn't correspond to split() method if using an example from the spec
Reviewed-by: alanb
2013-09-20 17:11:32 -07:00
Brian Burkhalter
ca9e74c63d 8024331: j.u.Map.computeIfPresent() default/nondefault implementations don't throw NPE if the remappingFunction is null and the key is absent
Explicitly check for null remappingFunction parameter.

Reviewed-by: mduigou, forax, psandoz
2013-09-20 15:12:05 -07:00
Doug Lea
851fd0447e 8024253: ThreadLocal random can use SecureRandom for the initial seed
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Guy Steele <guy.steele@oracle.com>
Reviewed-by: psandoz, chegar, alanb
2013-09-20 11:07:06 -07:00
Paul Sandoz
0f59d418d8 8024405: Spliterators.spliterator should support CONCURRENT characteristic
Reviewed-by: martin
2013-09-19 20:41:54 -07:00
Paul Sandoz
3a559a7ea0 8025002: "".codePoints().sorted().iterator().hasNext() causes NegativeArraySizeException
Reviewed-by: henryjen, alanb
2013-09-18 10:49:34 -07:00
Peter Levart
c7759dc643 8011940: java.lang.Class.getAnnotations() always enters synchronized method
Reviewed-by: jfranck, chegar, psandoz, shade
2013-09-19 16:14:13 +02:00
Eric Wang
8290ada96c 8015762: TEST_BUG: java/nio/channels/DatagramChannel/AdaptDatagramSocket.java failing intermittently [win]
Reviewed-by: chegar, alanb
2013-09-18 15:13:10 +01:00
Alan Bateman
2785e7d00a 8024883: (se) SelectableChannel.register throws NPE if fd >= 64k (lnx)
Co-authored-by: Norman Maurer <nmaurer@redhat.com>
Reviewed-by: alanb, coffeys
2013-09-18 14:10:24 +01:00
Paul Sandoz
6c97499183 8023155: Ensure functional consistency across Random, ThreadLocalRandom, SplittableRandom
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: mduigou
2013-08-28 22:11:14 +02:00
Xueming Shen
54b7d41e69 8023713: ZipFileSystem crashes on old zip file
To handle extra data field copy correctly even the extra data does not follow the spec

Reviewed-by: alanb, martin, chegar
2013-08-28 09:46:55 -07:00
Lana Steuck
a9582521c6 Merge 2013-08-27 21:46:00 -07:00
Paul Rank
a4b39faa4f 8024896: Refactor java.time serialization tests into separate subpackage
Move serialization tests to .serial subpackage

Reviewed-by: sherman
2013-08-22 10:01:47 -07:00
Sergey Malenkov
eaece57c8d 8023536: Some regression tests have a wrong header
Reviewed-by: alexsch
2013-08-22 17:17:25 +04:00
Henry Jen
1d19a4f5df 8023528: Rename Comparator combinators to disambiguate overloading methods
Reviewed-by: mduigou, smarks
2013-08-21 20:41:35 -07:00
Xueming Shen
d912aa501e 8023647: "abc1c".matches("(\\w)+1\\1")) returns false
To correct the wrong GroupCurly group index backoff code

Reviewed-by: alanb
2013-08-27 12:54:44 -07:00