Commit Graph

3225 Commits

Author SHA1 Message Date
Alejandro Murillo
f245610f7f Merge 2015-03-10 14:20:06 -07:00
Alejandro Murillo
8b283998c2 Merge 2015-03-10 14:09:19 -07:00
Roger Riggs
367a429ff4 8058464: (process spec) ProcessBuilder.redirectXXX throws unspecified NPE
Add a class level spec for null arguments throwing NPE in ProcessBuilder

Reviewed-by: martin, alanb
2015-03-10 16:44:45 -04:00
Brian Burkhalter
bd61d670c3 8073445: (fs) FileSystem.getPathMatcher(...) should check syntax component without regard to case
Change String equals() to equalsIgnoreCase() where needed.

Reviewed-by: alanb
2015-03-04 15:05:41 -08:00
Zaiyao Liu
7b95618234 8050371: More MessageDigest tests
Reviewed-by: xuelei
2015-03-04 08:10:23 +00:00
Amanda Jiang
a1f3c2d2fe 8048360: Test signed jar files
Reviewed-by: weijun
2015-03-04 10:12:25 +08:00
Phil Race
9f78b4347e Merge 2015-03-03 08:49:13 -08:00
Paul Sandoz
0405de7fca 8071479: Stream and lambdafication improvements to j.u.regex.Matcher
Reviewed-by: smarks, briangoetz, sherman
2015-03-03 12:30:48 +01:00
Daniel Fuchs
9b5f69fa24 8074032: Instant.ofEpochMilli(millis).toEpochMilli() can throw arithmetic overflow in toEpochMilli()
Instant.toEpochMilli() now takes into account the sign of the 'seconds' field.

Reviewed-by: rriggs, scolebourne
2015-03-02 14:46:10 +01:00
Christian Tornqvist
b520218d57 Merge 2015-03-02 05:32:14 -08:00
Claes Redestad
c8e99e3610 8073497: Lazy conversion of ZipEntry time
Reviewed-by: sherman, plevart
2015-02-28 13:17:13 +01:00
Brian Burkhalter
03088bb6e6 8071599: (so) Socket adapter sendUrgentData throws IllegalBlockingMode when channel configured non-blocking
Remove restriction to blocking case

Reviewed-by: alanb, chegar
2015-02-27 14:36:03 -08:00
Vladimir Ivanov
284a867adc 8073644: Assertion in LambdaFormEditor.bindArgumentType is too strict
Reviewed-by: psandoz
2015-02-27 18:03:21 +03:00
Paul Sandoz
95b2455d16 8071600: Add a flat-mapping collector
Reviewed-by: smarks, chegar, briangoetz
2015-02-27 09:58:25 +01:00
Lev Priima
ff45a0b5b0 8073354: TimSortStackSize2.java: test cleanup: make test run with single argument
Reviewed-by: dholmes
2015-02-26 18:50:02 -05:00
Xueming Shen
7f950ef63d 8073924: Update test/java/nio/charset/Charset/NIOCharsetAvailability.java to work with module system
To use module's runtime filesystem to iterate the class files

Reviewed-by: alanb
2015-02-26 14:40:43 -08:00
Sean Coffey
79240eab9b 8071447: IBM1166 Locale Request for Kazakh characters
Reviewed-by: sherman
2015-02-26 09:36:30 +00:00
Daniel Fuchs
fc084beb84 8072645: java.util.logging should use java.time to get more precise time stamps
J.u.logging uses j.t.Instant to store LogRecord time stamps. XMLFormatter format is updated to allow for a new optional <nanos> element containing a nano second adjustment. SimpleFormatter passes a ZonedDateTime object to String.format. LogRecord getMillis/setMillis are deprecated, replaced by getInstant/setInstant.

Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: scolebourne, plevart, rriggs
2015-02-25 18:41:07 +01:00
Joel Borggrén-Franck
cdf8c27ddb 8014678: Spurious AccessControlException thrown in java.lang.Class.getEnclosingMethod()
Reviewed-by: ahgross, mchung, psandoz
2015-02-25 14:30:02 +01:00
Sean Coffey
6d78b91ac9 7178362: Socket impls should ignore unsupported proxy types rather than throwing
Reviewed-by: chegar
2015-02-25 11:44:53 +00:00
Serguei Spitsyn
a3c0889315 8046246: the constantPoolCacheOopDesc::adjust_method_entries() used in RedefineClasses does not scale
Add new test java/lang/instrument/ManyMethodsBenchmarkAgent.java

Reviewed-by: coleenp, dcubed
2015-02-25 01:02:04 -08:00
Daniel Fuchs
2390a77789 8073394: Clock.systemUTC() should return a constant
Clock.systemUTC() now returns SystemClock.UTC

Reviewed-by: scolebourne, rriggs, plevart, lancea
2015-02-24 21:51:45 +01:00
Jeremy Manson
d1225ad485 6588467: Add isDaemon() and getPriority() to ThreadInfo
Reviewed-by: mchung, sla, dholmes, martin
2015-02-24 09:46:29 +01:00
Phil Race
9ec44e8c16 Merge 2015-02-23 10:47:32 -08:00
Chris Hegarty
b7d0702188 8064924: Update java.net.URL to work with modules
Reviewed-by: alanb, plevart, psandoz
2015-02-23 15:48:20 +00:00
Claes Redestad
16989e7b17 8068790: ZipEntry/JarEntry.setCreation/LastAccessTime(null) don't throw NPE as specified
Reviewed-by: coffeys, sherman
2015-02-21 13:46:24 +01:00
Aleksey Shipilev
e0e6ce31fd 8073479: Replace obj.getClass hacks with Objects.requireNonNull
Reviewed-by: dfuchs, plevart, vlivanov
2015-02-20 18:32:10 +03:00
Mandy Chung
db4c181844 8072656: test/java/lang/reflect/Proxy/ClassRestrictions.java assumes app class loader be URLClassLoader
Reviewed-by: lancea, alanb
2015-02-18 18:14:41 -08:00
Alejandro Murillo
a68e87751a Merge 2015-02-18 09:14:48 -08:00
David Dehaven
d747007634 Merge 2015-02-17 11:50:06 -08:00
David Dehaven
c627fa5807 Merge 2015-02-17 11:44:51 -08:00
Staffan Larsen
f9c63b42ed 8025636: Hide lambda proxy frames in stacktraces
Reviewed-by: jrose, forax, jfranck, vlivanov
2015-02-17 10:09:26 +01:00
Lev Priima
a1d6f0cbcd 8073124: Tune test and document TimSort runs length stack size increase
Reviewed-by: dholmes
2015-02-16 19:16:50 -05:00
Xueming Shen
1eb1419d72 8073152: Update Standard/ExtendedCharsets to work with module system
To reorganize the standard and extendec charset configuration during build time

Reviewed-by: alanb
2015-02-16 14:53:59 -08:00
Sergey Bylokhov
18975e3676 8039269: images/cursors should not be in ${java.home}/lib
Reviewed-by: mchung, alanb, erikj
2015-02-16 20:01:17 +03:00
Alejandro Murillo
5621c4a866 Merge 2015-02-16 08:47:40 -08:00
Prasanta Sadhukhan
f4fa68a2a7 8072678: Wrong exception messages in java.awt.color.ICC_ColorSpace
Reviewed-by: prr, serb
2015-02-14 21:05:41 +03:00
Volker Simonis
137f134743 8072770: [TESTBUG] Some Introspector tests fail with a Java heap bigger than 4GB
Reviewed-by: serb
2015-02-13 19:14:44 +01:00
Paul Sandoz
a12ad15110 8069325: Pattern.splitAsStream does not return input if it is empty and there is no match
Reviewed-by: sherman
2015-02-13 11:13:30 +01:00
Paul Sandoz
4b2af9acf9 8071670: java.util.Optional: please add a way to specify if-else behavior
Reviewed-by: dfuchs, lowasser
2015-02-13 11:13:27 +01:00
Brian Burkhalter
68ef8f6035 8068373: (prefs) FileSystemPreferences writes \0 to XML storage, causing loss of all preferences
Disallow entries whose key or value contains the null control character '\u0000' from being stored in the preferences node.

Reviewed-by: psandoz, rriggs
2015-02-12 12:56:48 -08:00
Lev Priima
892b06056c 8072909: TimSort fails with ArrayIndexOutOfBoundsException on worst case long arrays
Reviewed-by: rriggs, dholmes
2015-02-12 10:34:35 -05:00
Jaroslav Bachorik
103110ad85 8069286: Unexpected count of notification in LowMemoryTest
Reviewed-by: mchung
2015-02-12 08:33:47 +01:00
Brian Burkhalter
14b8722c45 8066842: java.math.BigDecimal.divide(BigDecimal, RoundingMode) produces incorrect result
Replace divWord() with non-truncating alternatives

Reviewed-by: psandoz, darcy
2015-02-11 17:20:39 -08:00
Johannes Scheerer
b856eeaa98 8072611: (process) ProcessBuilder redirecting output to file should work with long file names (win)
Reviewed-by: rriggs, simonis
2015-02-10 10:44:38 +01:00
Alejandro Murillo
805200fc3e Merge 2015-02-10 10:09:33 -08:00
Paul Sandoz
7c67f47c4d 8050819: Please add java.util.Stream.ofNullable(T object)
Reviewed-by: alanb, smarks
2015-02-10 11:18:51 +01:00
David Dehaven
8737b37ffc Merge 2015-02-09 09:52:48 -08:00
Roger Riggs
8d8f34b9a6 8067800: Unexpected DateTimeException in the java.time.chrono.HijrahChronology.isLeapYear
Check the year range consistently with other Hijrah date years

Reviewed-by: lancea, scolebourne
2015-02-06 17:29:11 -05:00
Brian Burkhalter
980fb58833 8072495: (fs) Path.relativize() gives incorrect result for empty path on Windows
Correct handling of empty path in Windows version of relativize()

Reviewed-by: alanb, dfuchs
2015-02-06 08:05:44 -08:00
Alejandro Murillo
b49ef0ce12 Merge 2015-02-05 14:57:53 -08:00
Christian Tornqvist
f95f9bd5d1 Merge 2015-02-04 18:23:09 -08:00
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
Roger Riggs
cacb730235 8086208: java/lang/ProcessHandle/OnExitTest.java: IllegalThreadStateException: process hasn't exited
Reviewed-by: martin, dholmes
2015-06-17 16:03:49 -04:00
Sean Mullan
1534835fb7 Merge 2015-06-17 15:48:28 -04:00
Daniel Fuchs
bb207a1cc1 8072692: Improve performance of SecurityManager.checkPackageAccess
Reviewed-by: mullan, weijun
2015-06-17 15:47:12 -04:00
Konstantin Shefov
2f5dc153c2 8062904: TEST_BUG: Tests java/lang/invoke/LFCaching fail when run with -Xcomp option
Reviewed-by: vlivanov
2015-06-17 20:19:51 +03:00
Konstantin Shefov
b07bdeb8bd 8067005: Several java/lang/invoke tests fail due to exhausted code cache
Reviewed-by: vlivanov
2015-06-17 20:17:25 +03:00
Brian Burkhalter
0bc308ad38 8087304: (ch) java/nio/channels/DatagramChannel/EmptyBuffer.java received 4 times while expected 3
Only count datagrams received from the client within the test.

Reviewed-by: alanb, chegar
2015-06-16 14:38:51 -07: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