Commit Graph

3167 Commits

Author SHA1 Message Date
Roger Riggs
ddb472a4dc 8068278: ArrayIndexOutOfBoundsException instead of DateTimeException in j.t.chrono.JapaneseChronology.eraOf()
Corrected era range check

Reviewed-by: mchung, lancea
2015-02-03 14:39:57 -05:00
Alejandro Murillo
004b407992 Merge 2015-02-03 08:45:07 -08:00
Dmitry Markov
5a65a2cc13 8064934: Incorrect Exception message from java.awt.Desktop.open()
Reviewed-by: azvegint, serb
2015-02-03 11:51:30 +04:00
Paul Sandoz
c007f0f7d4 8072030: Race condition in ThenComposeExceptionTest.java
Reviewed-by: chegar
2015-02-02 14:21:32 +01:00
Paul Sandoz
dd21d2c4db 8050820: Please add java.util.Optional.stream() to convert Optional<T> to Stream<T>
Reviewed-by: alundblad, forax, chegar, jrose
2015-02-02 14:19:12 +01:00
Alejandro Murillo
e9c6fa1317 Merge 2015-01-30 16:56:08 -08:00
Brian Burkhalter
2a8d5c46e1 6880737: (fs) FileLock constructors don't throw NPE if the channel argument is null
Throw IllegalArgumentException if the channel parameter is null

Reviewed-by: alanb
2015-01-30 12:56:12 -08:00
Katja Kantserova
45a6ed8315 8068613: Wrong number of objects pending finalization start
Repeat until expected result, instead of fail after sleep()

Reviewed-by: sla
2015-01-30 09:31:18 +01:00
Jaroslav Bachorik
2989b5405d 8071641: java/lang/management/ThreadMXBean/SynchronizationStatistics.java intermittently failed with NPE
Reviewed-by: sjiang, dfuchs
2015-01-30 22:01:32 +01:00
Brent Christian
76ace03a9e 8068578: test/java/io/Serializable/subclassGC/SubclassGC.java assumes app class loader is a URLClassLoader
Reviewed-by: alanb
2015-01-29 14:49:15 -08:00
Chris Hegarty
60fdd0dceb 8067105: Socket returned by ServerSocket.accept() is inherited by child process on Windows
Reviewed-by: alanb, igerasim
2015-01-29 20:45:30 +00:00
Yumin Qi
3f9b8313e3 Merge 2015-01-29 03:54:45 +00:00
Daniel Fuchs
b5f5424c83 8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.

Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:48:59 +01:00
David Dehaven
8a1e007ca8 Merge 2015-01-28 08:14:18 -08:00
Yumin Qi
7feb08a6b4 Merge 2015-01-27 20:03:45 -08:00
Alejandro Murillo
9c766e26d8 Merge 2015-01-27 10:11:23 -08:00
David Dehaven
ce3df66ec2 Merge 2015-01-27 09:32:45 -08:00
Masayoshi Okutsu
f6262c1abc 8065178: test/java/util/ResourceBundle/Bug6287579.java needs update for per language package support
Reviewed-by: naoto, peytoia
2015-01-27 12:59:45 +09:00
Alejandro Murillo
7f85449292 Merge 2015-01-26 17:00:39 -08:00
Serguei Spitsyn
3de0140a88 8068162: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
Enable the test: java/lang/instrument/IsModifiableClassAgent.java

Reviewed-by: coleenp, dcubed
2015-01-26 15:46:47 -08:00
Paul Sandoz
d58ef60b88 8071477: Better Spliterator implementations for String.chars() and String.codePoints()
Reviewed-by: sherman
2015-01-26 17:26:49 +00:00
Roger Riggs
aa6b19f38e 8071481: (Process) Merge UNIXProcess.java into ProcessImpl.java
Simplify source files for Unix Process implementation

Reviewed-by: plevart, chegar
2015-01-26 10:55:27 -05:00
Chris Hegarty
9e40bd4ad1 8071424: JCK test api/java_net/Socket/descriptions.html#Bind crashes on Windows
Reviewed-by: alanb
2015-01-26 13:46:08 +00:00
Alexander Zvegintsev
cfe8daa596 8071483: Possible case-folding collision for color/Color subdirectories of jdk/test/java/awt/
Reviewed-by: rriggs, serb
2015-01-26 12:37:20 +03:00
Phil Race
fda56d3c54 8064833: [macosx] Native font lookup uses family+style, not full name/postscript name
Reviewed-by: bae, serb
2015-01-25 15:53:46 -08:00
Konstantin Shefov
e70362baba 6933879: URISyntaxException when non-alphanumeric characters are present in scope_id
Reviewed-by: chegar
2015-01-23 15:42:06 +03:00
Sergey Bylokhov
d34b9b430c 7185221: [macosx] Regtest should not throw exception if a suitable display mode found
Reviewed-by: azvegint, ant
2015-01-23 13:47:46 +03:00
Alejandro Murillo
8a5ab5328c Merge 2015-01-22 22:42:33 -08:00
Jesper Wilhelmsson
ed183aea22 Merge 2015-01-22 12:26:25 +01:00
Peter Levart
eae923a8ae 8068427: Hashtable deserialization reconstitutes table with wrong capacity
Reviewed-by: mduigou, martin, chegar, dfuchs
2015-01-21 21:42:22 +01:00
David Dehaven
de2c792b35 Merge 2015-01-21 12:00:07 -08:00
Sergey Bylokhov
dedd4de23f 6459798: JDesktopPane,JFileChooser violate encapsulation by returning internal Dimensions
Reviewed-by: azvegint, alexsch
2015-01-21 17:54:35 +03:00
Michail Chernov
c15946fb1a 8067751: OOMEInReferenceHandler.java fails: Cleaner terminated abnormally
OOME with message "GC overhead limit exceeded". -XX:-UseGCOverheadLimit was added to avoid OOME in resource handler.

Reviewed-by: jmasa, jwilhelm
2015-01-20 13:29:26 -08:00
Anton Nashatyrev
84db836cfc 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
Reviewed-by: ant, kizune
2015-01-20 19:26:14 +03:00
Yumin Qi
09a7d945d4 Merge 2015-01-18 11:50:10 -08:00
Sergey Bylokhov
d4887f8b66 8066132: BufferedImage::getPropertyNames() always returns null
Reviewed-by: prr, flar
2015-01-17 20:53:35 +03:00
Jaroslav Bachorik
b5ac4fe904 8064331: JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
Reviewed-by: mullan
2015-01-16 18:19:23 +01:00
Alexander Zvegintsev
3622c75cbd 8061636: Fix for JDK-7079254 changes behavior of MouseListener, MouseMotionListener
Reviewed-by: alexsch, serb
2015-01-16 13:53:44 +03:00
Alejandro Murillo
fd925c52da Merge 2015-01-15 19:23:49 -08:00
Chris Hegarty
00b2f7005d 8042581: Intermittent failure in java/net/DatagramSocket/InheritHandle.java
Reviewed-by: alanb, chegar
2015-01-15 17:05:06 +00:00
Michail Chernov
cd582fa380 8066122: CollectionUsageThreshold.java times out when run with -XX:+ExplicitGCInvokesConcurrent
CollectionUsageThreshold.java hangs due to VM performs concurrent GC with -XX:+ExplicitGCInvokesConcurrent flag, as result - notification is not received. Excluded test execution with -XX:+ExplicitGCInvokesConcurrent.

Reviewed-by: dfazunen, tschatzl
2015-01-15 19:16:17 +04:00
Paul Sandoz
083d9a2b61 8054494: Remove sun.misc.Unsafe.monitorEnter, monitorExit and tryMonitorEnter
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: dholmes, coleenp
2015-01-15 11:18:14 +01:00
Sergey Bylokhov
f825a8256e 6475361: Attempting to remove help menu from java.awt.MenuBar throws NullPointerException
Reviewed-by: azvegint, ant
2015-01-13 17:10:28 +03:00
Sergey Bylokhov
0dfb30c6f5 6459800: Some Swing classes violate encapsulation by returning internal Insets
Reviewed-by: azvegint, alexsch
2015-01-13 16:09:21 +03:00
Alexander Zvegintsev
bc24a0ce18 8068305: [TEST_BUG] Test java/awt/Mixing/HWDisappear.java fails with GTKL&F
Reviewed-by: alexsch, serb
2015-01-13 12:44:55 +03:00
Phil Race
4998541111 Merge 2015-01-12 12:52:39 -08:00
Jaroslav Bachorik
6a4272d45c 8062450: Timeout in LowMemoryTest.java
Reviewed-by: dholmes
2015-01-12 11:01:23 +01:00
Brian Burkhalter
4417397e26 4026465: Provide more byte array constructors for BigInteger
Add two's complement and sign-magnitude constructors for byte arrays with offset and length.

Reviewed-by: darcy, alanb, scolebourne
2015-01-09 17:27:28 -08:00
Alejandro Murillo
c74ecba112 Merge 2015-01-08 17:11:49 -08:00
Sean Coffey
c20d40c269 8068507: (fc) Rename the new jdk.net.enableFastFileTransfer system property to jdk.nio.enableFastFileTransfer
Reviewed-by: alanb
2015-01-08 11:44:10 +00:00
Brian Burkhalter
29fc16ebbe 8059175: Zero BigDecimal with negative scale prints leading zeroes in String.format
Correct erroneous appending of zeroes and clean up code logic.

Reviewed-by: darcy, psandoz
2015-01-07 14:15:00 -08:00
Alejandro Murillo
800c634a8a Merge 2015-01-13 08:58:07 -08:00
Vladimir Ivanov
3b573293b8 8067344: Adjust java/lang/invoke/LFCaching/LFGarbageCollectedTest.java for recent changes in java.lang.invoke
Reviewed-by: psandoz
2015-01-13 07:57:51 -08:00
Phil Race
19292c73dd Merge 2015-01-05 13:30:23 -08:00
Chris Hegarty
916c818ec2 8054565: FilterOutputStream.close may throw IOException if called twice and underlying flush or close fails
Co-authored-by: Nathan Clement <nathan.a.clement@hotmail.com>
Reviewed-by: alanb, prappo
2015-01-04 19:32:46 +00:00
Alexander Stepanov
c44a9b6cc4 8054358: move awt automated tests from AWT_Modality to OpenJDK repository - part 7
Reviewed-by: pchelko
2014-12-30 17:26:06 +04:00
Harold Seigel
16043e410a Merge 2014-12-27 13:27:07 -05:00
Alexander Kulyakthin
53664dc976 8068242: Quarantine the test IsModifiableClassAgent.java
Quarantine the test

Reviewed-by: hseigel, jbachorik, dsamersoff
2014-12-27 07:09:32 -08:00
Sergey Bylokhov
70feca17ea 8068275: Some tests failed after JDK-8063104
Reviewed-by: azvegint, yan
2014-12-25 22:48:13 +03:00
Yumin Qi
c08e6d66cb Merge 2014-12-24 20:23:31 +00:00
Stuart Marks
457488c158 8067316: TEST_BUG: update RMI test library with better test.timeout.factor handling
Reviewed-by: lancea
2014-12-23 16:58:06 -08:00
Alejandro Murillo
45a55f064e Merge 2014-12-23 11:06:13 -08:00
Vinnie Ryan
befd7d1c25 8044445: JEP 229: Create PKCS12 Keystores by Default
Reviewed-by: mullan, weijun
2014-12-23 16:30:57 +00:00
Amanda Jiang
9589fd31c1 8065420: Eliminate internal API dependency from java/net/ResponseCache/ResponseCacheTest.java
Reviewed-by: chegar
2014-12-23 15:10:15 +00:00
Phil Race
22f59ce99e Merge 2014-12-20 10:11:14 -08:00
Yumin Qi
5e2fcdcda0 Merge 2014-12-19 22:58:32 -08:00
Alejandro Murillo
f507e301d3 Merge 2014-12-19 17:01:45 -08:00
Katja Kantserova
f1e461b61e 6977426: sun/tools tests can intermittently fail to find app's Java pid
Reviewed-by: dfuchs, jbachorik, egahlin, sjiang
2014-12-19 13:13:11 +01:00
Pavel Rappo
69df2fa9e5 8067870: Fix java.io.ObjectInputStream.PeekInputStream#skip
Reviewed-by: rriggs, alanb
2014-12-18 16:44:32 +00:00
Mandy Chung
cf23b1ea4b 8067366: Allow java.{endorsed,ext}.dirs property be set to empty string
Reviewed-by: alanb, hseigel
2014-12-17 12:29:20 -08:00
Stuart Marks
9e2cda5c02 8035117: TEST_BUG: java/rmi/server/RemoteObject/notExtending/NotExtending.java can fail with timeout
Reviewed-by: lancea
2014-12-16 13:45:20 -08:00
Alejandro Murillo
346b210c83 Merge 2014-12-16 13:10:34 -08:00
Naoto Sato
9cb99ee080 8062588: Support java.util.spi.*, java.text.spi.*, java.awt.im.spi loaded from classpath
Reviewed-by: alanb
2014-12-16 12:48:31 -08:00
Sergey Bylokhov
020e01bb92 8065373: [macosx] jdk8, jdk7u60 Regression in Graphics2D drawing of derived Fonts
Reviewed-by: bae, prr
2014-12-16 19:46:22 +00:00
Phil Race
84ddb56140 Merge 2014-12-16 09:58:02 -08:00
Phil Race
fd64998f9d Merge 2014-12-16 09:51:17 -08:00
Sergey Bylokhov
05705c949e 7077826: Unset and empty DISPLAY variable is handled differently by JDK
Reviewed-by: azvegint, ant
2014-12-16 20:23:46 +03:00
Daniel Fuchs
e580eec37c 8066612: Add a test that will call getDeclaredFields() on all classes and try to set them accessible
This test use the jrt:/ file system to find the name of all classes, then loads each of them, get their declared fields, and attempt to call setAccessible.

Reviewed-by: coffeys, dholmes, plevart
2014-12-16 17:32:56 +01:00
Phil Race
020063e1f4 Merge 2014-12-16 08:14:50 -08:00
Pavel Rappo
a21f0f99a9 8066867: Add InputStream transferTo to transfer content to an OutputStream
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Patrick Reinhart <patrick@reini.net>
Reviewed-by: chegar
2014-12-16 12:43:36 +00:00
Roger Riggs
ce6c1fa0fa 8067486: Add diagnostics for Exception: Read from closed pipe hang
Reviewed-by: lancea
2014-12-15 17:36:20 -05:00
Brian Burkhalter
871abc48e4 8025619: (fc) FileInputStream.getChannel on closed stream returns FileChannel that doesn't know that stream is closed
If the stream is closed ensure getChannel() returns a closed channel. Also, FileKey.create() should throw an IOException directly instead of wrapping it in an Error.

Reviewed-by: alanb
2014-12-15 12:09:49 -08:00
Amy Lu
3b60f51758 8067112: Update java/util/Collections/EmptyIterator.java to eliminate dependency on sun.tools.java
Reviewed-by: chegar, prappo
2014-12-13 20:22:21 +00:00
Yumin Qi
32d6037fb4 Merge 2014-12-12 20:51:03 -08:00
Alejandro Murillo
c88778bc25 Merge 2014-12-11 23:06:14 -08:00
Konstantin Shefov
cb8bd7875b 8066798: [TEST] Make java/lang/invoke/LFCaching tests use lib/testlibrary/jdk/testlibrary/TimeLimitedRunner.java to define their number of iterations
Reviewed-by: iignatyev, vlivanov
2014-12-11 15:10:35 +03:00
Alan Bateman
ccab6bc563 8066915: (fs) Files.newByteChannel opens directories for cases where subsequent reads may fail
Reviewed-by: chegar
2014-12-10 15:01:26 +00:00
Alexander Scherbatiy
32d197a928 8065627: Animated GIFs fail to display on a HiDPI display
Reviewed-by: serb, azvegint
2014-12-10 15:59:21 +04:00
Vladimir Ivanov
e0eba41e1c 8066746: MHs.explicitCastArguments does incorrect type checks for VarargsCollector
Reviewed-by: jrose, psandoz
2014-12-09 09:22:07 -08:00
Stuart Marks
b633764a63 8066835: TEST_BUG: javax/management/remote/mandatory/connection/RMIConnector_NPETest.java fails
Reviewed-by: lancea
2014-12-08 14:32:31 -08:00
Yumin Qi
3dff2ab063 Merge 2014-12-08 00:25:10 -08:00
Phil Race
fe279aa4d8 Merge 2014-12-07 09:03:07 -08:00
Kirk Shoop
9eafb6c406 8064407: (fc) FileChannel transferTo should use TransmitFile on Windows
Co-authored-by: Valeriy Kopylov <v-valkop@microsoft.com>
Reviewed-by: alanb
2014-12-07 07:10:29 +00:00
Yuri Nesterenko
c08a28b218 8063104: Change open awt regression tests to avoid sun.awt.SunToolkit.realSync, part 2
Reviewed-by: serb, alexsch
2014-12-05 14:55:08 +03:00
Daniel Fuchs
7e7e10eb42 8065991: LogManager unecessarily calls JavaAWTAccess from within a critical section
The call to JavaAWTAccess is moved outside of the critical section

Reviewed-by: mchung
2014-12-05 12:20:51 +01:00
Stuart Marks
765c10de6e 8035001: TEST_BUG: the retry logic in RMID.start() should check that the subprocess hasn't terminated
Reviewed-by: lancea
2014-12-04 18:54:37 -08:00
Vladimir Ivanov
ea89dad13c 8057020: LambdaForm caches should support eviction
Reviewed-by: psandoz, jrose, shade
2014-12-04 07:15:37 -08:00
Jaroslav Bachorik
98da47c05b 8034263: Test java/lang/management/MemoryMXBean/LowMemoryTest.java fails intermittently
Reviewed-by: sla
2014-12-04 10:34:55 +01:00
Zaiyao Liu
bf31fc249e 8048619: Implement tests for converting PKCS12 keystores
Reviewed-by: weijun
2014-12-04 16:50:31 +08:00
Phil Race
96da55b65e Merge 2014-12-03 11:52:40 -08:00
Chris Hegarty
43842f6349 Merge 2014-12-03 19:28:35 +00:00
Jaroslav Bachorik
8fd2fa2d03 8064441: java/lang/management/ThreadMXBean/Locks.java fails intermittently, blocked on wrong object
Reviewed-by: dholmes, egahlin, sspitsyn
2014-12-03 16:44:35 +01:00
Amy Lu
65904e6ad1 8066131: Update java/nio/charset/Charset/NIOCharsetAvailabilityTest.java to eliminate dependency on sun.misc.Launcher
Reviewed-by: alanb
2014-12-03 14:34:42 +00:00
Chris Hegarty
441905cdc7 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:22:58 +00:00
Alejandro Murillo
792bc020b9 Merge 2014-12-02 14:36:23 -08:00
Jan Lahoda
56d2ce25a9 8065998: Avoid use of _ as a one-character identifier
Reviewed-by: alanb, chegar, darcy
2014-12-02 15:12:40 +01:00
Stuart Marks
2f9a2c3c32 8035000: clean up ActivationLibrary.DestroyThread
Reviewed-by: lancea
2014-12-01 17:59:39 -08:00
Daniel Fuchs
3034f050f9 8065552: setAccessible(true) on fields of Class may throw a SecurityException
This fix hides the new private Class.classLoader field from reflection, rather than making it not accessible.

Reviewed-by: mchung, coffeys
2014-12-01 21:02:21 +01:00
Igor Ignatyev
7abe24d3ea 8039953: [TESTBUG] Timeout java/lang/invoke/MethodHandles/CatchExceptionTest.java
Reviewed-by: vlivanov, psandoz
2014-12-01 21:58:46 +03:00
Alan Bateman
f0b198804a 8062955: (fs spec) Files.setLastModifiedTime should specify SecurityException more clearly
8062949: (fs) Files.setLastModifiedTime(path, null) does not throw NPE

Reviewed-by: chegar
2014-11-28 14:58:10 +00:00
Sergey Bylokhov
246a6da52e 8059942: Default implementation of DrawImage.renderImageXform() should be improved for d3d/ogl
Reviewed-by: flar, prr
2014-11-28 10:42:03 +00:00
Alejandro Murillo
e7d19b374a Merge 2014-11-27 07:16:54 -08:00
Yumin Qi
114dfd5a23 Merge 2014-11-26 23:49:02 +00:00
Yumin Qi
2ae66a0f29 8038468: java/lang/instrument/ParallelTransformerLoader.sh fails with ClassCircularityError
Add check null for loader in transform to avoid when loading a class in callback handler for boot loader, CFLH set early enough to catch classes needed during class loading, i.e. sun.misc.URLClassPath$JarLoader$2 seen in the failure.

Reviewed-by: acorn, sspitsyn
2014-11-26 15:33:43 -08:00
Jesper Wilhelmsson
dcff994c52 Merge 2014-11-26 17:41:08 +01:00
Phil Race
9f11366ec6 Merge 2014-11-25 12:14:42 -08:00
Phil Race
9d88d91ecc Merge 2014-11-25 10:41:40 -08:00
Konstantin Shefov
758644082b 8059070: [TESTBUG] java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java failed - timeout
Reviewed-by: psandoz, vlivanov
2014-11-25 14:16:55 +04:00
Vladimir Ivanov
b1ad8012a0 8063135: Enable full LF sharing by default
Reviewed-by: psandoz, shade
2014-11-24 07:16:38 -08:00
Daniel Fuchs
96da5b9ce3 8060132: Handlers configured on abstract nodes in logging.properties are not always properly closed
Loggers which have been configured with a handler in the configuration file will be retained by the LogManager until reset() is called. A new configuration property is added to explicitely turn the fix off.

Reviewed-by: mchung
2014-11-24 17:02:37 +01:00
Stuart Marks
da2c303927 8056313: TEST_BUG: java/util/Timer/NameConstructors.java fails intermittently
Reviewed-by: lancea, rriggs
2014-11-21 13:32:17 -08:00
Alejandro Murillo
67933d7f11 Merge 2014-11-21 09:54:23 -08:00
Staffan Friberg
c90bc5b316 6321472: Add CRC-32C API
To add CRC-32C api and implementation

Reviewed-by: sherman
2014-11-21 09:28:53 -08:00
Alejandro Murillo
2e75649af2 Merge 2014-11-21 08:00:31 -08:00
Evgeniya Stepanova
71a33bf064 8062536: [TESTBUG] Conflicting GC combinations in jdk tests
Reviewed-by: brutisso, dholmes
2014-11-19 17:51:06 +03:00
Alexander Stepanov
0e4eb0dc8f 8054143: move awt automated tests from AWT_Modality to OpenJDK repository - part 6
Reviewed-by: pchelko
2014-11-19 14:12:59 +04:00
Alexander Stepanov
221b429a77 8054359: move awt automated tests from AWT_Modality to OpenJDK repository - part 8
Some new tests to check FileDialog modality behavior

Reviewed-by: alexsch, pchelko
2014-11-18 17:10:34 +04:00
Alexander Stepanov
ff18bab0ed 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
Some modality tests for Print dialog were added

Reviewed-by: pchelko
2014-11-18 16:32:04 +04:00
Phil Race
9a4645749f Merge 2014-11-17 12:32:27 -08:00
Claes Redestad
f50ee8896a 8058887: (fmt) Improve java/util/Formatter test coverage of group separators and width
Reviewed-by: sherman
2014-11-16 15:03:46 +01:00
Alejandro Murillo
e70f855944 Merge 2014-11-13 16:11:01 -08:00
Roger Riggs
4401923a82 8043477: java/lang/ProcessBuilder/Basic.java failed with: java.lang.AssertionError: Some tests failed
Reviewed-by: martin
2014-11-13 12:29:54 -05:00
Alexander Scherbatiy
d8d026811c 8064468: ownedWindowList access requires synchronization in Window.setAlwaysOnTop() method
Reviewed-by: serb, pchelko
2014-11-13 12:00:39 +03:00
Staffan Larsen
47ac075518 Merge 2014-11-13 08:02:38 +01:00
David Dehaven
1ce0119e15 Merge 2014-11-12 09:36:25 -08:00
David Dehaven
ba945b418e Merge 2014-11-12 09:20:12 -08:00
Eric McCorkle
935c33a50c 8062556: Add jdk tests for JDK-8058322 and JDK-8058313
Add tests for two hotspot reflection fixes.

Reviewed-by: dholmes
2014-11-10 15:06:13 -05:00
Eric McCorkle
1c54a00f75 8055063: Parameter#toString() fails w/ AIOOBE for ctr of inner class w/ generic type
Add getAllGenericParameters, which attempts to report generic parameters with synthetic parameters to the best extent possible with current classfile information.

Reviewed-by: jfranck
2014-11-10 11:23:23 -05:00
Yuri Nesterenko
41d2bc7e75 8063106: Change open swing regression tests to avoid sun.awt.SunToolkit.realSync, part 1
Reviewed-by: pchelko, serb
2014-11-10 16:37:40 +03:00
Yuri Nesterenko
043868fac7 8063102: Change open awt regression tests to avoid sun.awt.SunToolkit.realSync, part 1
Reviewed-by: pchelko, serb
2014-11-10 16:23:30 +03:00
Pooja Chopra
19e7d7eb35 8058805: [TEST_BUG]Test java/awt/TrayIcon/SecurityCheck/NoPermissionTest/NoPermissionTest.java fails
Reviewed-by: yan, alexsch
2014-11-07 14:20:56 +04:00
Phil Race
f465a5f228 8062163: java/awt/geom/AffineTransform/TestInvertMethods.java test fails
Reviewed-by: jgodinez
2014-11-06 15:10:00 -08:00
Martin Buchholz
84e99bc48e 8062771: Core reflection should use final fields whenever possible
Reviewed-by: psandoz, darcy
2014-11-06 13:18:44 -08:00
Claes Redestad
678e0c1b0d 8060130: Simplify the synchronization of defining and getting java.lang.Package
Reviewed-by: mchung, plevart, shade
2014-11-06 00:06:26 +01:00
Jaroslav Bachorik
543d65a194 8062896: TEST_BUG: java/lang/Thread/ThreadStateTest.java can't compile with change for 8058506
Reviewed-by: dholmes, sla
2014-11-05 09:49:20 +01:00
Phil Race
6a06509d40 Merge 2014-11-03 10:11:10 -08:00
Sergey Bylokhov
bd4a93871b 8062164: Incorrect color conversion, when bicubic interpolation is used
Reviewed-by: flar, prr
2014-11-01 14:40:09 +03:00
Lance Andersen
ff54f6ff54 8062558: Add javax/sql/rowset/spi tests
Reviewed-by: joehw
2014-10-31 13:21:51 -04:00
Stuart Marks
b23c39c07b 4354680: Runtime.runFinalization() silently clears interrupted flag in the calling thread
Reviewed-by: dholmes, chegar
2014-10-30 17:48:10 -07:00
Phil Race
842ce4b94e 8028539: Endless loop in native code of sun.java2d.loops.ScaledBlit
Reviewed-by: flar, jgodinez
2014-10-30 13:36:44 -07:00
Phil Race
623e2a7cce 8062497: Open up some AffineTransform tests
Reviewed-by: jgodinez
2014-10-30 11:08:27 -07:00
Mikhail Cherkasov
363ac808d5 8062021: NPE in sun/lwawt/macosx/CPlatformWindow::toFront after JDK-8060146
Reviewed-by: ant, serb
2014-10-30 00:16:43 +04:00
Richard Warburton
a065473cfc 4774077: Use covariant return types in the NIO buffer hierarchy
Reviewed-by: psandoz, alanb, mr, darcy
2014-10-29 14:10:34 +01:00
Phil Race
d52bcdadf7 Merge 2014-10-28 13:31:06 -07:00
Phil Race
eca9e72c00 Merge 2014-10-28 11:38:00 -07:00
Ivan Gerasimov
b051027d6f 8023173: FileDescriptor should respect append flag
Reviewed-by: martin, alanb, rriggs
2014-10-28 15:36:27 +03:00
Mattias Tobiasson
7abf72a2dc 8061960: java/lang/instrument/DaemonThread/TestDaemonThread.java regularly fails due to exceeded timeout
Move timeout parameter to correct place on command line

Reviewed-by: jbachorik
2014-10-28 11:45:31 +01:00
Lance Andersen
178193aa93 8062288: Minor re-org of java/sql testing tests
Reviewed-by: joehw, rriggs
2014-10-28 19:55:20 -04:00
Mandy Chung
a76f56165c 8043277: Update jdk regression tests to extend the default security policy instead of override
Reviewed-by: alanb, mullan, chegar, sla
2014-10-27 13:45:39 -07:00
Lance Andersen
1457a8cc93 8062198: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable
Reviewed-by: joehw
2014-10-27 16:57:59 -04:00
Sergey Bylokhov
302bc3438c 8059941: [D3D] The fix for JDK-8029253 should be ported to d3d pipeline
Reviewed-by: bae, prr
2014-10-23 19:59:27 +04:00
Jaroslav Bachorik
53a4f4cd62 8058506: ThreadMXBeanStateTest throws exception
Reviewed-by: egahlin, dholmes
2014-10-23 11:42:20 +02:00
Sergey Bylokhov
066947c324 8061456: [OGL] Incorrect clip is used during sw->surface blit in xor mode
Reviewed-by: bae, prr
2014-10-22 12:33:28 +04:00
Phil Race
171ef0e7a3 Merge 2014-10-20 12:04:12 -07:00
Phil Race
395720bf70 8061392: PrinterJob NPE when drawing translucent image with null user clip
Reviewed-by: bae, jgodinez
2014-10-20 11:22:58 -07:00
Alexey Ivanov
13fbfe1e6c 8059590: ArrayIndexOutOfBoundsException occurs when Container with overridden getComponents() is deserialized
Reviewed-by: serb, ant
2014-10-20 12:36:16 +04:00
Phil Race
98988ffc54 8061267: PrinterJob: Specified Page Ranges not displayed in Windows Native Print Dialog
Reviewed-by: bae, jgodinez
2014-10-17 15:55:02 -07:00
Kirk Shoop
d03eadea27 8060170: Support SIO_LOOPBACK_FAST_PATH option on Windows
Co-authored-by: Valeriy Kopylov <v-valkop@microsoft.com>
Reviewed-by: alanb
2014-10-19 11:52:53 +01:00
Michael McMahon
80b26e5882 8042622: Check for CRL results in IllegalArgumentException "white space not allowed"
Reviewed-by: chegar
2014-10-17 10:59:32 +01:00
Jamil Nimeh
823f5f273e 8032573: CertificateFactory.getInstance("X.509").generateCertificates(InputStream) does not throw CertificateException for invalid input
Reviewed-by: weijun
2014-10-15 11:43:27 -07:00
Amanda Jiang
3f4fc41640 8047031: Add SocketPermission tests for legacy socket types
Reviewed-by: chegar
2014-10-16 10:50:17 +01:00
David Dehaven
bfcb15c211 Merge 2014-10-14 14:29:21 -07:00
David Dehaven
883d16c219 Merge 2014-10-14 10:47:45 -07:00
Olivier Lagneau
7f66469951 8039915: Wrong NumberFormat.format() HALF_UP rounding when last digit exactly at rounding position greater than 5
Fixes erroneous rounding in DigitList for corner cases uncovered previously. Adds dedicated unit tests to TieRoundingTest

Reviewed-by: bpb, darcy
2014-10-14 11:39:07 -07:00
Phil Race
7d50d71fe5 8058969: Test closed/sun/java2d/cmm/StubCMMShellTest.sh fails
Reviewed-by: bae, serb
2014-10-14 09:34:45 -07:00
Phil Race
25c3ce26aa 8059848: Test java/awt/GraphicsDevice/CloneConfigsTest.java causes JVM crash in OEL 7.0
Reviewed-by: bae, serb
2014-10-13 09:09:41 -07:00
Felix Yang
b52b3773e9 8048052: Permission tests for setFactory
Add RuntimePermission tests for setFactory

Reviewed-by: weijun, mullan
2014-10-13 17:55:14 +08:00
Chris Hegarty
1a2e64b98b 8060052: FutureTask; fix underflow when timeout = Long.MIN_VALUE
Reviewed-by: martin
2014-10-11 14:45:27 +01:00
Amy Lu
9b4793ec4c 8058855: Update java.util.zip tests to work with modular image
Reviewed-by: dholmes, sherman, alanb
2014-10-11 13:24:23 +01:00
Konstantin Shefov
30f7d127ad 8058733: [TESTBUG] java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java and LFMultiThreadCachingTest.java failed on some platforms due to java.lang.VirtualMachineError
Reviewed-by: darcy, vlivanov
2014-10-10 21:28:35 +04:00
Sergey Bylokhov
9d855e2856 8029253: [macosx] Performance problems with Retina display on Mac OS X
Reviewed-by: bae, prr
2014-10-08 17:34:27 +04:00
Daniel Fuchs
9183fba213 8028788: Logger.enterring uses String concatenation in a loop
Changed code to use StringBuilder instead.

Reviewed-by: chegar, lancea
2014-10-07 14:49:45 +02:00
Konstantin Shefov
8bef42ee6a 8058695: [TESTBUG] Reinvokers with arity >253 can't be cached
Reviewed-by: iignatyev, vlivanov
2014-10-03 12:44:30 +04:00
Daniel Fuchs
7200372290 8025690: Default FileHandler constructor doesn't throw NullPointerException if pattern is empty and count > 1
Added additional check in default constructor in order to fix the oddity and make the implementation comply with the spec.

Reviewed-by: lancea
2014-10-01 18:16:45 +02:00
Mark Sheppard
4549011c7f 8058932: java/net/InetAddress/IPv4Formats.java failed because hello.foo.bar does exist
Changed hello.foo.bar to invalidhost.invalid

Reviewed-by: chegar
2014-10-01 16:36:18 +01:00
Alejandro Murillo
427a0cbe16 Merge 2014-09-30 08:39:22 -07:00
Daniel Fuchs
9087c7536e 8059269: FileHandler may throw NPE if pattern is a simple name and the lock file already exists
NPE may be thrown when Path.getParentPath() returns null. The fix is to call Path.getAbsolutePath().getParentPath() when Path.getParentPath() returns null.

Reviewed-by: alanb
2014-09-29 18:56:32 +02:00
Daniel Fuchs
0a6f6d9d89 8043306: Provide a replacement for the API that allowed to listen for LogManager configuration changes
Added two new methods to LogManager (addConfigurationListener/removeConfigurationListener) which provide an equivalent functionality with no ties to java.beans.

Reviewed-by: alanb, mchung, plevart, psandoz
2014-09-26 11:29:29 +02:00
Alejandro Murillo
9e10c63840 Merge 2014-09-26 01:40:33 -07:00
Phil Race
6a281f9f56 Merge 2014-09-25 15:31:13 -07:00
Phil Race
fee4fbec38 Merge 2014-09-25 14:18:32 -07:00
Jonathan Lu
1095cd42da 8058930: GraphicsEnvironment.getHeadlessProperty() does not work for AIX platform
Reviewed-by: serb
2014-09-25 14:33:03 +08:00
Srinivasan Raghavan
f07521a354 8058653: [TEST_BUG] Test java/awt/Graphics2D/DrawString/DrawStringCrash.java fails with OutOfMemoryError
Reviewed-by: serb, prr
2014-09-24 14:19:25 +04:00
Anton Tarasov
d0992c8071 8049346: [TESTBUG] fix the @run line of the test: jdk/test/java/awt/Focus/SortingFTP/JDK8048887.java
Reviewed-by: serb, alexsch
2014-09-23 15:52:40 +04:00
Phil Race
4f42e3fa2c Merge 2014-09-22 12:06:36 -07:00
Phil Race
686ab34a2e Merge 2014-09-19 11:19:38 -07:00
Alejandro Murillo
7268eec14e Merge 2014-09-19 08:55:47 -07:00
Konstantin Shefov
72e770ad77 8058728: TEST_BUG: Make java/lang/invoke/LFCaching/LFGarbageCollectedTest.java skip arrayElementSetter and arrayElementGetter methods
Reviewed-by: vlivanov, iignatyev, psandoz
2014-09-19 16:49:08 +04:00
Yuri Nesterenko
13c109280f 8058726: Update regtests using sun.awt.OSInfo, part 1
Reviewed-by: alexsch
2014-09-18 17:34:44 +04:00
Sandipan Razzaque
24028df237 8043740: Doubles with large exponents overflow to Infinity incorrectly
Modify test of exponent overflow to account for subsequent decrement.

Reviewed-by: darcy
2014-09-22 10:41:45 -07:00
Tobias Hartmann
37bfec7de8 8015774: Add support for multiple code heaps
Support for segmentation of the code cache. Separate code heaps are created and used to store code of different types.

Reviewed-by: kvn, iveresov, roland, anoll, egahlin, sla
2014-09-17 08:04:31 +02:00
Jason Uh
1f56f49cd0 8047223: Add algorithm parameter to EncodedKeySpec class and its two subclasses
Reviewed-by: mullan
2014-09-16 13:20:51 -07:00
Amanda Jiang
746ed2b4eb 8050281: New permission tests for JEP 140
Reviewed-by: mullan
2014-09-18 15:36:38 -04:00
Amy Lu
6f7645f43c 8058569: Update java/lang/invoke/lambda tests to eliminate dependency on sun.tools.jar.Main
Reviewed-by: dholmes, alanb
2014-09-17 23:27:59 -04:00
Brian Burkhalter
6d148f368d 8058679: More bad characters in BigIntegerTest
Remove remaining non-US-ASCII characters

Reviewed-by: alanb
2014-09-17 14:11:40 -07:00
Brian Burkhalter
0c71a5e8f4 8058664: Bad fonts in BigIntegerTest
Replace bad fonts with spaces.

Reviewed-by: alanb
2014-09-17 11:04:16 -07:00
Vladimir Ivanov
21e3c51138 8058584: Ignore java/lang/invoke/LFCaching/LFGarbageCollectedTest until 8057020 is fixed
Reviewed-by: darcy, alanb
2014-09-16 23:04:13 +04:00
Robert Gibson
8acf66df11 8058505: BigIntegerTest does not exercise Burnikel-Ziegler division
Modify divideLarge() method such that the w/z division exercises the B-Z branch.

Reviewed-by: darcy
2014-09-15 13:25:08 -07:00
Claes Redestad
d28777cff8 8058514: TEST_BUG: New tests introduced in 8058429 are TimeZone dependent
Reviewed-by: lancea
2014-09-16 00:26:58 +02:00
Claes Redestad
2aafc0ee9f 8058429: JCK test api/java_sql/Timestamp/descriptions.html start failing after 8058230
Reviewed-by: lancea
2014-09-15 21:20:46 +02:00
Robert Gibson
f5de6e9460 8057793: BigDecimal is no longer effectively immutable
Modify MutableBigInteger.divideAndRemainderBurnikelZiegler() to copy the instance (this) to a new MutableBigInteger to use as the dividend.

Reviewed-by: darcy
2014-09-15 13:05:04 -07:00
Ivan Gerasimov
2426fa797f 8054029: (fc) FileChannel.size() returns 0 for block devices on Linux
Reviewed-by: alanb
2014-09-13 20:06:15 +04:00
Lance Andersen
9f2d9ff4a6 8057826: Minor clean-up to the java.sql Date/Time/Timestamp tests
Reviewed-by: redestad, joehw
2014-09-11 17:00:08 -04:00
John Rose
da56d3f6d1 8050052: Small cleanups in java.lang.invoke code
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:47 +04:00
Vladimir Ivanov
0898161932 8049555: Move varargsArray from sun.invoke.util package to java.lang.invoke
Reviewed-by: psandoz, iignatyev
2014-09-10 19:19:47 +04:00
Claes Redestad
1dc4b5e2f8 8055251: Re-examine Integer.parseInt and Long.parseLong methods
Reviewed-by: alanb
2014-09-10 13:51:17 +01:00
Behdad Esfahbod
c29aa1d7b9 8057986: freetype code to get glyph outline does not handle initial control point properly
Co-authored-by: Igor Kopylov <ikopylov@google.com>
Reviewed-by: prr, dougfelt
2014-09-05 19:06:07 -07:00
Vladimir Ivanov
0c95b0fb5f 8060483: NPE with explicitCastArguments unboxing null
Reviewed-by: attila, lagergren
2014-10-24 08:22:17 -07:00
Daniel Fuchs
59ca72f0eb 8059767: FileHandler should allow 'long' limits and handle overflow of MeteredStream.written
FileHandler now uses 'long' for limit and MeteredStream.written. It also reads a long for limit from the configuration, and has a new constructor allowing to pass a 'long' for limit.

Reviewed-by: alanb, igerasim, mchung
2014-10-22 17:23:14 +02:00
Jaroslav Bachorik
c603f42b91 8056143: interrupted java/lang/management/MemoryMXBean/LowMemoryTest.java leaves running process
Reviewed-by: sla, dholmes
2014-10-17 10:53:30 +02:00
Stefan Karlsson
a85101b24e 8057174: MemoryMXBean tests -- TEST FAILED: chunkSize: 6291456 is less than YOUNG_GEN_SIZE: 8388608
Reviewed-by: jbachorik, jwilhelm, dfuchs
2014-09-04 13:20:27 +02:00
Andrej Golovnin
fe519e6845 5043030: (reflect) unnecessary object creation in reflection
Use valueOf() instead of new for primitive wrappers.

Reviewed-by: jfranck
2014-09-09 12:04:31 +02:00
Joel Borggrén-Franck
febacf5319 8054987: (reflect) Add sharing of annotations between instances of Executable
Reviewed-by: darcy, plevart
2014-09-09 10:48:01 +02:00
Aleksei Efimov
5e87931875 8049343: (tz) Support tzdata2014g
Reviewed-by: mfang, okutsu
2014-09-07 23:04:09 +04:00
Alan Bateman
2689839d79 8029516: (fs) WatchKey cancel unreliable on Windows
Reviewed-by: chegar
2014-09-05 12:18:31 +01:00
Lance Andersen
1300729887 8055776: Add tests to exercise SQLPermissions for DriverManager & SyncFactory
Reviewed-by: rriggs
2014-09-04 12:23:01 -04:00
Yong Jeffrey Huang
95232def75 8055222: ISO 4217 Amendment #159
Reviewed-by: naoto
2014-09-04 00:32:43 -07:00
Zaiyao Liu
0fdc2863c1 8048621: Implement basic keystore tests
Reviewed-by: xuelei
2014-09-03 06:57:40 +00:00
Raghu Nair
259c3ec2e9 8048362: Tests for doPrivileged with accomplice
Reviewed-by: vinnie
2014-09-03 02:11:16 +00:00
Phil Race
62b9ab4a81 Merge 2014-09-02 11:21:29 -07:00
Martin Buchholz
3951dda4cf 8056934: ZipInputStream does not correctly handle local header data descriptors with the optional signature missing
Fix off-by-one bug in EXTSIG handling; add docs.

Reviewed-by: sherman, alanb
2014-08-29 12:07:11 -07:00
Phil Race
d6bfab8b1d Merge 2014-09-12 13:08:35 -07:00
Konstantin Shefov
881fa79cfe 8057719: Develop new tests for LambdaForm Reduction and Caching feature
Reviewed-by: iignatyev, vlivanov, psandoz
2014-09-12 22:33:09 +04:00
Konstantin Shefov
9e30841d28 8057707: TEST library enhancement in lib/testlibrary/jsr292/com/oracle/testlibrary/jsr292/Helper.java
Reviewed-by: iignatyev, vlivanov
2014-09-12 22:33:09 +04:00
Phil Race
1b9cab9346 Merge 2014-09-12 10:33:32 -07:00
Phil Race
3454cc7623 Merge 2014-09-08 10:24:45 -07:00
Phil Race
fd17be8db7 Merge 2014-09-02 12:38:17 -07:00
Yuri Nesterenko
11492e4215 8055664: move 14 tests about setLocationRelativeTo to jdk
Reviewed-by: alexsch, azvegint
2014-08-29 14:27:43 +04:00
Clemens Eisserer
e185c7ed20 8054638: xrender: text drawn after setColor(Color.white) is actually black
Reviewed-by: bae, prr
2014-08-27 08:29:39 -07:00
Zaiyao Liu
ee35cf6516 8048617: Tests for PKCS12 read operations
Reviewed-by: weijun
2014-08-27 11:33:45 +08:00
Doug Lea
595be219a4 8068432: Inconsistent exception handling in CompletableFuture.thenCompose
Reviewed-by: psandoz, chegar, martin
2015-01-21 09:46:21 +00:00
David Dehaven
a011738cac Merge 2015-01-20 11:23:03 -08:00
Alejandro Murillo
946b0de6db Merge 2015-01-20 10:22:44 -08:00
Ivan Gerasimov
a7cd12f10a 8067951: System.loadLibrary cannot find library when path contains quoted entry
Reviewed-by: sherman, rriggs, alanb
2015-01-19 19:12:11 +03:00
Joe Darcy
9800aaa84a 8060077: Class.toGenericString specification doesn't mention array types
Reviewed-by: psandoz, jfranck
2015-01-16 14:04:27 -08:00
Phil Race
7fdf99b47b Merge 2014-08-25 10:43:59 -07:00
Martin Buchholz
619ef479f3 8055949: ByteArrayOutputStream capacity should be maximal array size permitted by VM
Try to resize to "well-known" hotspot max array size first.

Reviewed-by: alanb, mduigou
2014-08-25 10:40:55 -07:00
Michael McMahon
7c8053cd97 8055747: Move SimpleSSLContext to jdk/testlibrary
Reviewed-by: chegar
2014-08-26 10:10:58 +01:00
Jaroslav Bachorik
82dd03274a 8037082: java/lang/instrument/NativeMethodPrefixAgent.java failing
Reviewed-by: sla
2014-08-25 18:17:24 +02:00
Zaiyao Liu
f34547460c 8050370: Need new regressions tests for messageDigest with DigestIOStream
Reviewed-by: weijun
2014-08-26 15:10:29 +08:00