Commit Graph

3622 Commits

Author SHA1 Message Date
Naoto Sato
b9a10bbf8d 8133044: [TESTBUG] CLDRDisplayNameTest uses deprecated API, fails
Reviewed-by: okutsu
2015-08-06 18:20:11 -07:00
Alejandro Murillo
aa37ecbc21 Merge 2015-08-06 13:00:45 -07:00
Brian Burkhalter
ba6e733ede 8129633: (fs) Investigate removing the GNOME-based FileTypeDetector from the Linux and Solaris implementations
Remove the GNOME VFS detector leaving the libgio detector in place.

Reviewed-by: chegar
2015-08-06 12:35:59 -07:00
Roger Riggs
e2f7de320c 8133022: Instant.toEpochMilli() silently overflows
Reviewed-by: lancea, chegar, simonis, dfuchs, igerasim
2015-08-06 14:35:04 -04:00
Sergey Bylokhov
c595f6461c 4379403: Need to disable the "magic AWT dump key" (CTRL+SHIFT+F1)
Reviewed-by: alexsch, azvegint
2015-08-06 19:52:02 +03:00
Mikhail Cherkasov
5896a1bf4a 8081787: [macosx] MalformedURLException is thrown during reading data for application/x-java-url;class=java.net.URL flavor
Reviewed-by: alexsch, serb
2015-08-13 15:29:03 +03:00
Yuri Nesterenko
565373e1bc 8132958: [TEST_BUG] Part 1: update client tests failing after changes in setAccessible(true) routine
Reviewed-by: alexsch, serb
2015-08-13 14:20:36 +03:00
David Dehaven
d3d5d40154 Merge 2015-08-12 09:36:43 -07:00
Alexander Zvegintsev
23438be9c4 8014212: Robot captures black screen
Reviewed-by: alexsch, serb
2015-08-11 16:32:13 +03:00
Daniel Fuchs
6af81451d1 8132550: java/util/logging/LoggingDeadlock2.java times out
LogManager must also use the configurationLock when reading its primordial configuration.

Reviewed-by: joehw
2015-08-06 16:36:47 +02:00
Prasanta Sadhukhan
924b4ad5ff 8080287: The image of BufferedImage.TYPE_INT_ARGB and BufferedImage.TYPE_INT_ARGB_PRE is blank
Reviewed-by: prr, flar
2015-08-06 11:36:52 +03:00
Jamil Nimeh
e7f31340a0 8046321: OCSP Stapling for TLS
Initial feature commit for OCSP stapling in JSSE

Reviewed-by: xuelei, mullan
2015-08-05 12:19:38 -07:00
Alexander Stepanov
fed9b961cb 8132566: [TESTBUG] add regression test for inherited classes with the new bean annotations
Reviewed-by: alexsch
2015-08-05 19:11:27 +03:00
Kim Barrett
8bfa163a68 8132306: java/lang/ref/ReferenceEnqueue.java fails with "RuntimeException: Error: poll() returned null; expected ref object"
Carefully order ref.queue and queue list updates to address races.

Reviewed-by: dholmes, dfuchs, plevart
2015-08-04 17:26:14 -04:00
David Dehaven
1942bcfa90 Merge 2015-08-04 11:31:19 -07:00
Alejandro Murillo
5a76b5c4e6 Merge 2015-08-04 10:59:31 -07:00
Alexander Stepanov
de09603863 8131055: bean annotations: add a test checking if a user-defined BeanInfo is top-priority as compared with the annotations
Reviewed-by: alexsch, serb
2015-08-04 14:03:49 +03:00
Alexander Zvegintsev
861ba88c86 8130400: Test java/awt/image/DrawImage/IncorrectClipXorModeSurface2Surface.java fails with ClassCastException
Reviewed-by: prr, serb
2015-08-04 12:34:08 +03:00
Naoto Sato
9166dacb21 8129881: JDK-8008577 breaks Nashorn test
8130845: Change to CLDR Locale data in JDK 9 b71 causes SimpleDateFormat parsing errors
8132125: German (Switzerland) formatting broken if CLDR Locale Data is used

Reviewed-by: tbell, okutsu
2015-08-03 21:47:50 -07:00
David Dehaven
726f626bd7 Merge 2015-08-03 16:33:06 -07:00
Iris Clark
959eee3901 Merge 2015-08-03 09:26:18 -07:00
Olivier Lagneau
e4c4b49bdf 8130339: Add tracing info to LowMemoryTest.java to help 8130339 diagnosis
Run test with traces even when timeout occurs.

Reviewed-by: jbachorik, sspitsyn
2015-08-03 15:31:29 +02:00
Jiangli Zhou
47e90bb79c Merge 2015-07-31 16:00:29 -04:00
Alejandro Murillo
972e5ce0a3 Merge 2015-07-31 10:15:03 -07:00
Brian Burkhalter
8c92994887 8132795: Bug ID accidentally omitted from top level regression test in fix for JDK-8065556
Add 8065556 to list of IDs in the @bug tag list.

Reviewed-by: alanb
2015-07-31 07:48:34 -07:00
Brian Burkhalter
8a369f2f2c 8073078: java/nio/file/FileStore/Basic.java sensitive to NFS configuration
Ignore NoSuchFileExceptions as the store might have been deleted subsequent to creation of the FileStore iterator which is not dynamic.

Reviewed-by: alanb
2015-07-31 07:15:59 -07:00
Vinnie Ryan
c1cd222df9 8130850: Support loading a keystore with a custom KeyStore.LoadStoreParameter class
Reviewed-by: mullan
2015-07-31 14:29:25 +01:00
Yuri Nesterenko
791267a096 6544871: java/awt/event/KeyEvent/KeyTyped/CtrlASCII.html fails from jdk b09 on windows
Reviewed-by: serb
2015-07-31 13:13:30 +03:00
Stuart Marks
791c9bdc4d 8132745: minor cleanup of java/util/Scanner/ScanTest.java
Reviewed-by: darcy, sherman
2015-07-30 22:21:56 -07:00
Dmitry Samersoff
47bdec1c0e 8059036: Implement Diagnostic Commands for heap and finalizerinfo
Implement Diagnostic Commands for heap and finalizerinfo

Reviewed-by: sla, plevart, mchung
2015-07-30 16:29:13 +03:00
Alexander Scherbatiy
dfc226cfb6 8132123: MultiResolutionCachedImage unnecessarily creates base image to get its size
Reviewed-by: serb
2015-07-30 12:40:45 +04:00
Dmitry Cherepanov
85c4b3c082 Merge 2015-07-29 11:33:02 +04:00
Dmitry Cherepanov
9fb2a2c094 Merge 2015-07-29 09:47:54 +04:00
Semyon Sadetsky
17903d1583 8025815: Child FileDialog of modal dialog does not get focus on Gnome
Reviewed-by: azvegint, serb
2015-07-28 20:55:45 +03:00
Volker Simonis
29a79fc1a3 8132374: AIX: fix value of os.version property
Reviewed-by: alanb, rriggs
2015-07-27 19:50:14 +02:00
Brian Burkhalter
7cd090f230 8065556: (bf) Buffer.position and other methods should include detail in IAE
Add messages to IAEs which have none.

Reviewed-by: alanb
2015-07-24 11:52:30 -07:00
Jaroslav Bachorik
aa572f2749 Merge 2015-07-24 20:45:30 +02:00
Iris Clark
636d3c2d95 Merge 2015-07-23 13:19:54 -07:00
Konstantin Shefov
fdc7b2e85f 8130006: java/lang/invoke/MethodHandles/CatchExceptionTest Fails
Reviewed-by: psandoz
2015-07-23 16:46:54 +03:00
Xueming Shen
3d82fdcaad 8130914: java/util/zip/TestExtraTime.java fails with "java.lang.RuntimeException: setTime should make getLastModifiedTime return the specified instant: 3078282244456 got: 3078282244455"
Fixed the 32-bit overflow.

Reviewed-by: rriggs
2015-07-22 21:11:38 -07:00
Yong Jeffrey Huang
7e1ed8f785 8129361: ISO 4217 amendment 160
Reviewed-by: naoto
2015-07-29 23:36:51 -07:00
Stuart Marks
572e30db49 8132206: move ScanTest.java into OpenJDK
Reviewed-by: psandoz, sherman
2015-07-29 15:21:12 -07:00
Naoto Sato
0dfdc19faa 8027607: (rb) Provide UTF-8 based properties resource bundles
Reviewed-by: okutsu, sherman
2015-07-29 13:36:53 -07:00
Xueming Shen
47dbbc7b72 8075526: Need a way to read and write ZipEntry timestamp using local date/time without tz conversion
To add a pair of set/getTimeLocal()

Reviewed-by: ksrini, rriggs
2015-07-22 21:43:33 +00:00
Katja Kantserova
b66a26f3b1 8132094: Mark intermittently failuring core-svc tests
Reviewed-by: jbachorik, sspitsyn
2015-07-22 09:51:40 +02:00
Jaroslav Bachorik
d5644aff56 8132059: com/sun/jdi/BreakpointTest.java fails with java.lang.IllegalArgumentException: Bad line number
Reviewed-by: dcubed
2015-07-21 18:38:09 +02:00
Tristan Yan
7f9414bc11 8068761: Test java/nio/channels/ServerSocketChannel/AdaptServerSocket.java failed with SocketTimeoutException
Reviewed-by: rriggs
2015-07-21 14:15:59 -04:00
Semyon Sadetsky
1564b678e7 8130390: Applet fails to launch on virtual desktop
Reviewed-by: azvegint, serb
2015-07-21 09:35:04 +03:00
Joe Darcy
6e48caf250 8081734: ConcurrentHashMap/ConcurrentAssociateTest.java, times out 90% of time on sparc with 256 cpu
Reviewed-by: chegar
2015-07-20 15:13:50 -07:00
Iris Clark
89a565ccd0 Merge 2015-07-20 11:01:24 -07:00
Iris Clark
3542628ec7 8130696: Security Providers need to have their version numbers updated for JDK 9
Reviewed-by: ascarpino, mullan, valeriep, weijun, wetmore
2015-07-20 09:40:49 -07:00
Sean Mullan
981dbca21a 8131486: SecureClassLoader key for ProtectionDomain cache also needs to take into account certificates
Reviewed-by: weijun
2015-07-20 09:03:03 -04:00
Katja Kantserova
29a5a845e9 8075658: Mark intermittently failuring core-svc tests
Reviewed-by: jbachorik, olagneau, darcy
2015-07-20 13:14:47 +02:00
Dmitry Cherepanov
5cea10f338 Merge 2015-07-20 10:21:01 +04:00
Sergey Bylokhov
8e0627b61b 8066404: The case is failed automatically and thrown the "java.lang.IllegalStateException" exception
Reviewed-by: alexsch
2015-07-18 15:10:44 +03:00
Sergey Bylokhov
e8292406d9 8130937: Several methods in BeanProperty return null instead of boolean value
Reviewed-by: alexsch
2015-07-18 15:09:28 +03:00
Yuri Nesterenko
7b228fdfec 8131673: [TEST_BUG] add @modules to some OS X-specific regtests
Reviewed-by: serb, azvegint
2015-07-17 11:45:34 +03:00
Amy Lu
1aa0bf7daf 8131140: Mark some tests from WhileOpStatefulTest.java and WhileOpTest.java as serialization hostile
Reviewed-by: psandoz
2015-07-16 10:21:21 +02:00
Brian Burkhalter
0ee4830a94 8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
Refine documentation of allocate*(), wrap(), slice(), duplicate(), asReadOnlyBuffer(), and as{Type}Buffer() to explcitly state the byte order of the created buffer.

Reviewed-by: alanb
2015-07-15 10:43:07 -07:00
Vinnie Ryan
44db4a2bcb 8131359: Correct the JTREG tags in java/security/KeyStore/PKCS12/MetadataStoreLoadTest.java test
Reviewed-by: mullan
2015-07-15 18:42:12 +01:00
David Dehaven
572a316307 Merge 2015-07-15 10:00:15 -07:00
Felix Yang
ea58ca6a25 8130394: DatagramChannel tests need to be hardended to ignore stray datagrams
The patch updates tests to ignore stray datagrams, or at least print more information to ease troubleshooting.

Reviewed-by: rriggs
2015-07-15 08:42:24 -07:00
Bhanu Prakash Gopularam
13a6fbe6c0 8048830: Implement tests for new functionality provided in JEP 166
Reviewed-by: vinnie
2015-07-15 15:07:58 +01:00
Pooja Chopra
a7e436f3df 8080953: [TEST_BUG]Test java/awt/FontClass/DebugFonts.java fails due to wrongly typed bugid
Reviewed-by: azvegint, serb
2015-07-15 14:05:09 +03:00
Pooja Chopra
515dca5c8b 8080932: [TEST_BUG] Test java/awt/BasicStroke/DashStrokeTest.java fails with Bad script error due to improper @run notation
Reviewed-by: azvegint, alexsch
2015-07-15 14:02:24 +03:00
Mandy Chung
8bc30fb3c8 8104574: Update tests to prepare for system class loader not be URLClassLoader
Reviewed-by: chegar
2015-07-15 12:10:03 +08:00
Roger Riggs
9bb445c368 Merge 2015-07-14 22:21:52 -04:00
Roger Riggs
e8d341671b 8130877: (process) java/lang/ProcessHandle/TreeTest test3 failure - Destroyed process.isAlive
Update test to check for children after processes are destroyed

Reviewed-by: darcy
2015-07-14 22:21:02 -04:00
Yuka Kamiya
64b36f8f63 8032446: Support Unicode 7.0.0 in JDK 9
8130889: Missing "@since 1.8" tags in j.l.Character.java

Reviewed-by: naoto, okutsu
2015-07-15 11:05:51 +09:00
Alejandro Murillo
1d7da049eb Merge 2015-07-14 16:29:08 -07:00
David Dehaven
267d60654e Merge 2015-07-14 15:18:26 -07:00
Ivan Gerasimov
9b9fde193f 6854417: TESTBUG: java/util/regex/RegExTest.java fails intermittently
Reviewed-by: sherman
2015-07-14 02:03:35 +03:00
Alejandro Murillo
867e029083 Merge 2015-07-09 22:46:18 -07:00
Rob McKenna
0f4fb659ea 8133015: InetAddress.isReachable(tmout) returning wrong value on Windows for IPv6
Reviewed-by: michaelm
2015-08-21 20:41:21 +01:00
David Dehaven
79324abda0 Merge 2015-07-07 12:26:59 -07:00
Daniel D. Daugherty
10219ee9a2 Merge 2015-07-03 07:13:24 -07:00
Sergey Bylokhov
ffbfb8f10b 7188942: Remove support of pbuffers in OGL Java2d pipeline
Reviewed-by: prr, flar
2015-07-03 16:39:45 +03:00
Yuri Nesterenko
a26c73956c 8130125: [TEST_BUG] add @modules to the several client tests unaffected by the automated bulk update
Reviewed-by: serb, alexsch
2015-07-03 17:37:40 +03:00
Artem Smotrakov
aa2d62b688 8129444: socksProxyVersion system property ignored for Socket(Proxy)
Reviewed-by: chegar
2015-07-03 08:00:33 +01:00
Daniel D. Daugherty
bee43f05d7 Merge 2015-07-02 14:39:54 -07:00
Phil Race
322bf5d364 Merge 2015-06-30 10:37:48 -07:00
Phil Race
d3ecdcca36 Merge 2015-06-30 08:51:16 -07:00
Stefan Sarne
32c0d8bc46 6896810: TEST_BUG: java/lang/ref/SoftReference/Pin.java fails with OOME during System.out.println
Reviewed-by: stefank, dholmes, chegar, sjohanss
2015-06-30 17:16:40 +02:00
Amy Lu
512986a71c 8129759: Mark two tests from DistinctOpTest.java and SliceOpTest.java as serialization hostile
Reviewed-by: psandoz
2015-06-30 10:00:46 +02:00
Martin Buchholz
57996d703c 6260652: (coll) Arrays.asList(x).toArray().getClass() should be Object[].class
Return Arrays.copyOf(a, a.length, Object[].class)

Reviewed-by: igerasim, psandoz
2015-06-29 15:02:35 -07:00
Roger Riggs
99f867bded 8098852: java/lang/ProcessHandle/InfoTest.java failed: total cpu time expected < 10s more
Correct javachild to spin until cputime increases by amount; cleanup InfoTest

Reviewed-by: darcy
2015-07-09 09:55:36 -04:00
Roger Riggs
74427b9101 8130296: [TESTBUG] java/lang/ProcessHandle/OnExitTest - Unaccounted for children expected [0] but found [1]
Ignore extra processes that are not created by the test and cleanup any remaining child processes

Reviewed-by: darcy
2015-07-08 21:54:32 -04:00
Daniel Fuchs
16318cebe6 8130649: java/util/logging/LoggingDeadlock2.java times out
Added additional traces and thread dump diagnosis for the child process

Reviewed-by: lancea
2015-07-08 11:58:14 +02:00
Roger Riggs
4b7514c9fd 8085981: java/lang/ProcessHandle/OnExitTest.java: AssertionError: Child onExit not called
A race condition caused an erroneous fault

Reviewed-by: darcy
2015-07-07 21:25:05 -04:00
Roger Riggs
21ed89bc5d 8085980: java/lang/ProcessHandle/TreeTest.java: AssertionError: Wrong number of spawned children expected [1] but found [2]
Modify to expect only the spawned children; enhance debug output

Reviewed-by: darcy
2015-07-07 16:54:52 -04:00
Brian Burkhalter
6d59eaa98c 8042983: test/java/math/BigInteger/ExtremeShiftingTests.java needs too much heap
Use @requires tag to suppress the test on limited memory systems.

Reviewed-by: darcy
2015-06-29 14:49:47 -07:00
Mandy Chung
1465e16631 8130007: Update security tests to use Security.getProvider to get security provider
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Reviewed-by: mullan
2015-06-29 11:38:36 -07:00
Peter Levart
24d0d5af7c 8042377: BufferedWriter and FilteredOutputStream.close throw IAE if flush and close throw equal exceptions
Explcitly handle IOExceptions in FilteredOutputStream.close() instead of using try-with-resources approach.

Reviewed-by: chegar, alanb
2015-06-29 08:39:29 -07:00
Sergey Bylokhov
33c5b92bc6 8080405: Exception in thread "AWT-EventQueue-1" java.security.AccessControlException
Reviewed-by: prr, chegar, art
2015-06-29 01:27:08 +03:00
Valerie Peng
5109058c5d 7191662: JCE providers should be located via ServiceLoader
Enhanced to use ServiceLoader and switched provider to Provider.Service model.

Reviewed-by: mullan, alanb, mchung
2015-06-26 21:34:34 +00:00
Valerie Peng
f3ff947746 8087157: PKCS11 provider not instantiated with security manager
Updated java.policy file with sun.misc pkg access permission for SunPKCS11 provider.

Reviewed-by: mullan
2015-06-25 17:53:52 +00:00
Jean-Francois Denise
30cacaa5c9 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:24:39 +02:00
Naoto Sato
a693ebca66 8008577: Use CLDR Locale Data by Default
Reviewed-by: erikj, okutsu
2015-06-24 16:42:11 -07:00
Xueming Shen
b46a6500b0 8129544: ArrayIndexOutOfBoundsException when decoding corrupt Base64 string
To take input bytes as unsigned before check range

Reviewed-by: alanb
2015-06-24 11:15:23 -07:00
Paul Sandoz
f219ffb2f2 8072773: (fs) Files.lines needs a better splitting implementation for stream source
Reviewed-by: alanb
2015-06-24 12:05:30 +02:00
Brian Burkhalter
118a8cf98a 8129510: java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java should exclude testing the Teredo tunneling interface on Windows
Suppress testing the Teredo tunneling interface on Windows.

Reviewed-by: chegar
2015-06-23 09:46:22 -07:00
Konstantin Shefov
d7ff33fd1b 8129532: LFMultiThreadCachingTest.java failed with ConcurrentModificationException
Reviewed-by: vlivanov
2015-06-23 16:36:04 +03:00
Yuri Nesterenko
bdc20e1849 8076468: Add @modules to tests in jdk_desktop test group
Reviewed-by: yan, alexsch
2015-06-23 11:59:27 +03:00
Paul Sandoz
3a0e0c86d3 8129120: Terminal operation properties should not be back-propagated to upstream operations
Reviewed-by: briangoetz, chegar
2015-06-23 09:49:55 +02:00
Brian Burkhalter
c0b2c2b0e6 8129499: Structure of java/rmi/activation/rmidViaInheritedChannel tests masks exception
Check for rmid == null before dereferencing the variable.

Reviewed-by: rriggs, chegar
2015-06-22 13:30:21 -07:00
Phil Race
f6492e9394 Merge 2015-06-22 13:28:57 -07:00
Alexander Zvegintsev
c8358923f7 8129116: Deadlock with multimonitor fullscreen windows
Reviewed-by: alexsch, serb
2015-06-22 15:43:40 +03:00
Brian Burkhalter
9966dd8518 8081293: java/nio/file/Files/CopyAndMove.java failed with java.nio.file.FileAlreadyExistsException intermittently
Print seed used to initialize Random and add ability to specify seed.

Reviewed-by: alanb, chegar
2015-06-19 09:35:10 -07:00
Brian Burkhalter
906d12aa2d 8079539: java/util/prefs/CodePointZeroPrefsTest.java fails with "java.util.prefs.BackingStoreException: Couldn't get file lock."
Add @run tag with property -Djava.util.prefs.userRoot=.

Reviewed-by: alanb
2015-06-18 17:20:42 -07:00
Paul Sandoz
5744f4fc30 8071597: Add Stream dropWhile and takeWhile operations
Reviewed-by: briangoetz, smarks, chegar, forax
2015-06-09 07:10:03 +01:00
Pavel Rappo
91a4a6b0ce 8064925: URLConnection::getContent needs to be updated to work with modules
Reviewed-by: chegar, alanb
2015-07-10 16:40:12 +01:00
Paul Sandoz
e56c76e9f7 8081678: Add Stream returning methods to classes where there currently exist only Enumeration returning methods
Reviewed-by: lancea, alanb, chegar, dfuchs, mullan, smarks
2015-06-09 07:10:02 +01:00
Joe Darcy
efa84f658a 8081547: Prepare client libs regression tests for running in a concurrent, headless jtreg environment
Reviewed-by: alanb
2015-06-30 17:48:06 -07:00
Alejandro Murillo
f55c892a65 Merge 2015-06-30 11:20:43 -07:00
Brian Burkhalter
bfe32f271f 8129632: (fs) Files.probeContentType returns null on Mac OS X
Append a Uniform Type Identifier-based FileType Detector for Mac OS X

Reviewed-by: alanb
2015-06-30 10:47:54 -07:00
Yuri Nesterenko
cadfa093b6 8081306: [TEST_BUG] remove imports of the internal API from some regression tests
Reviewed-by: serb
2015-06-18 11:05:33 +03:00
Phil Race
fd974c3567 Merge 2015-06-16 13:00:37 -07:00
Phil Race
ded46b191f Merge 2015-06-16 10:52:39 -07:00
Doug Lea
975075a8c8 8085978: LinkedTransferQueue<T>.spliterator can report LTQ.Node object, not T
Reviewed-by: psandoz, martin
2015-06-16 13:13:05 +02:00
Sean Mullan
0338c81dbd 6826789: SecureClassLoader should not use CodeSource URLs as HashMap keys
Reviewed-by: weijun
2015-06-12 12:50:41 -04:00
Sergey Bylokhov
0357758744 7178683: [macosx] The default directory for open dialog is different for FileDialogOpenDirTest.html
Reviewed-by: azvegint, ant
2015-06-12 15:01:10 +03:00
Amy Lu
3f8d76f352 8085879: Mark intermittently failing: java/util/Arrays/ParallelPrefix.java
Reviewed-by: darcy
2015-06-12 14:28:21 +08:00
Srikanth Adayapalam
3132301b74 8054304: Clarify treatment of bounds in j.l.r.Annotated{WildcardType,TypeVariable}
Reflection APIs should return unannotated Object as the upper bound when there is no explicit upper bound.

Reviewed-by: darcy
2015-06-12 10:58:31 +05:30
Roger Riggs
8979cb0b2d 8086117: java/lang/Runtime/exec/LotsOfOutput.java still fails intermittently with Process consumes memory
Reviewed-by: chegar
2015-06-10 07:52:43 -04:00
Sean Mullan
d107e7ec6c Merge 2015-06-09 09:19:43 -04:00
Sean Mullan
e37ef5fefc 8056179: Store permissions in concurrent collections in PermissionCollection subclasses
8065942: Store PermissionCollection entries in a ConcurrentHashMap instead of a HashMap in Permissions class

Reviewed-by: weijun
2015-06-09 09:18:07 -04:00
Semyon Sadetsky
032cef6ff8 8017487: filechooser in Windows-Libraries folder: columns are mixed up
Reviewed-by: serb, ant
2015-06-09 14:11:11 +03:00
Sunny Chan
36d62dcbb1 8080945: Improve the performance of primitive Arrays.sort for certain patterns of array elements
Co-authored-by: Mohammad Rezaei <mohammad.rezaei@gs.com>
Reviewed-by: psandoz
2015-06-09 07:05:48 +01:00
Phil Race
259cdd9d8f Merge 2015-06-08 11:31:09 -07:00
Alejandro Murillo
84e8aa917e Merge 2015-06-08 11:11:48 -07:00
Aleksei Efimov
a6488e0152 8080774: DateFormat for Singapore/English locale (en_SG) is M/d/yy instead of d/M/yy
Reviewed-by: naoto
2015-06-08 16:17:37 +03:00
Konstantin Shefov
8f99c7eca7 8068416: LFGarbageCollectedTest.java fails with OOME: "GC overhead limit exceeded"
Reviewed-by: vlivanov
2015-06-05 13:14:36 +03:00
Stuart Marks
bc90fc9b01 8072726: add adapter to convert Enumeration to Iterator
Reviewed-by: redestad, forax, chegar, dfuchs, psandoz, rriggs, briangoetz
2015-06-04 18:28:14 -07:00
Alejandro Murillo
f77dadee42 Merge 2015-06-04 15:38:00 -07:00
Chris Hegarty
52d42bb03a 8085858: Better failure output for test/java/util/Arrays/ParallelPrefix.java
Reviewed-by: psandoz, igerasim
2015-06-04 19:28:45 +01:00
Sean Coffey
4ae5f74173 8072384: Setting IP_TOS on java.net sockets not working on unix
Reviewed-by: michaelm
2015-06-04 18:16:25 +01:00
Chris Hegarty
46b53cd5cf 8080835: Add blocking bulk read to java.io.InputStream
Reviewed-by: alanb, rriggs, prappo
2015-06-04 10:27:06 +01:00
Chris Hegarty
810d1992d2 8079778: Add intermittent tag to java/rmi/activation/rmidViaInheritedChannel/RmidViaInheritedChannel.java
Reviewed-by: chegar, msheppar
2015-06-04 10:24:31 +01:00
Peter Levart
1c2084bafb 8079063: ZoneOffsetTransitionRule.of should throw IAE for non-zero nanoseconds
Reviewed-by: rriggs, scolebourne
2015-06-04 10:58:17 +02:00
Roger Riggs
c3d9e6c08d Merge 2015-06-04 03:38:56 +02:00
David Dehaven
6f766feacd Merge 2015-06-03 18:26:06 -07:00
David Dehaven
22fa775a7e Merge 2015-06-03 18:11:45 -07:00
Roger Riggs
afb73945a3 8067808: java/lang/ProcessBuilder/Basic.java failed on Assertion
Change to use javaChild reporting its pid not portable

Reviewed-by: igerasim
2015-06-03 18:18:05 -04:00
Roger Riggs
b440bfb8eb 8081567: java/lang/ProcessHandle/InfoTest.java failed Cannot run program "whoami"
Replace use of whoami with checking the user against a file created

Reviewed-by: igerasim
2015-06-03 18:17:04 -04:00
Sergey Bylokhov
44033ae9bd 8076312: The behavior of the javax.swing.SwingContainer.delegate contradicts spec
Reviewed-by: alexsch, malenkov
2015-06-03 23:17:52 +03:00
Ivan Gerasimov
f35750c5d6 8058779: Faster implementation of String.replace(CharSequence, CharSequence)
Reviewed-by: sherman, plevart, forax, psandoz
2015-06-03 19:26:58 +03:00
Chris Hegarty
e11aec59a2 8071474: Better failure atomicity for default read object
Reviewed-by: plevart, coffeys
2015-06-03 15:30:44 +01:00
Mikhail Cherkasov
a5eab1ce93 8077409: Drawing deviates when validate() is invoked on java.awt.ScrollPane
Reviewed-by: bae
2015-06-03 15:21:35 +03:00
Sergey Bylokhov
6a907dfc02 8079084: Behavior of BeanProperty.enumerationValues() contradicts spec
Reviewed-by: alexsch, malenkov
2015-06-02 19:27:06 +03:00
Roger Riggs
ea68abc64e 8081566: java/lang/ProcessHandle/InfoTest.java failed on case sensitive command
Reviewed-by: lancea, alanb
2015-06-01 10:29:06 -04:00
Roger Riggs
b4ff25ecc8 8081536: (process) remove unreliable ScaleTest from ProcessHandle tests
Reviewed-by: darcy
2015-05-29 15:17:07 -04:00
Roger Riggs
103d99baf1 8077350: JEP 102 Process API Updates Implementation
Reviewed-by: chegar, plevart, psandoz, darcy, martin, alanb
2015-05-29 14:04:12 -04:00
Ivan Gerasimov
97f5b473ec 8081027: Create a common test to check adequacy of initial size of static HashMap/ArrayList fields
Reviewed-by: martin
2015-05-29 19:20:22 +03:00
Daniel D. Daugherty
3c5478da5a Merge 2015-05-28 15:03:57 -07:00
Anton Nashatyrev
4dc4dd721e 8041470: JButtons stay pressed after they have lost focus if you use the mouse wheel
Reviewed-by: azvegint, alexp
2015-05-28 21:17:49 +03:00
Mandy Chung
53a97cbeb3 8081347: Add @modules to jdk_core tests
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Andreas Eriksson
e6e9202e93 8080428: [TESTBUG] java/lang/invoke/8022701/MHIllegalAccess.java - FAIL: Unexpected wrapped exception java.lang.BootstrapMethodError
Reviewed-by: vlivanov
2015-05-28 12:11:33 +02:00
Roger Riggs
7b960a2e59 8081022: java/time/test/java/time/format/TestZoneTextPrinterParser.java fails by timeout on slow device
Reduce number of iterations to 8 instead of 50

Reviewed-by: naoto
2015-05-27 15:57:10 -04:00
Mark Sheppard
48a0b96187 8077377: java/net/MulticastSocket/SetOutgoingIf.java fails intermittently with NullPointerException
Ignore "stray" packets received from non test interface

Reviewed-by: alanb, chegar
2015-05-27 13:23:40 +01:00
Mark Sheppard
03c24ff25b 8041677: java/net/MulticastSocket/TestInterfaces failed on Oracle VM Virtual Ethernet Adapter
Ignore Teredo interface in test

Reviewed-by: alanb, chegar
2015-05-27 13:04:32 +01:00
David Dehaven
41bdaeb5a2 Merge 2015-05-26 15:18:09 -07:00
Joe Wang
4411bdd3cc 8078427: More supportive home environment
Reviewed-by: dfuchs, lancea, skoivu
2015-05-26 10:39:22 -07:00
Alejandro Murillo
fa672c31d0 Merge 2015-05-26 09:22:39 -07:00
Semyon Sadetsky
243208ab2e 8003399: JFileChooser gives wrong path to selected file when saving to Libraries folder on Windows 7
Reviewed-by: serb, ant
2015-05-25 16:10:12 +03:00
Artem Smotrakov
6b7bbd4884 8050374: More Signature tests
Reviewed-by: valeriep
2015-05-25 11:47:41 +03:00
Sergey Bylokhov
44af11b7a3 8061831: [OGL] "java.lang.InternalError: not implemented yet" during the blit of VI to VI in xor mode
Reviewed-by: flar, bae
2015-05-23 15:13:40 +03:00
Sergey Bylokhov
13711e78f0 8071306: GUI perfomance are very slow compared java 1.6.0_45
Reviewed-by: azvegint, ant
2015-05-22 19:27:33 +03:00
Shobhit Gupta
318383493e 8079440: [TESTBUG] @run is missing in java/awt/TrayIcon/8072769/bug8072769.java
Reviewed-by: alexsch, azvegint
2015-05-22 16:13:00 +03:00
Alejandro Murillo
d312bbb6ed Merge 2015-05-21 17:11:55 -07:00
Vinnie Ryan
6deb69ac50 8072578: ProbeKeystores.java creates files in test.src
Reviewed-by: weijun
2015-05-21 17:42:15 +01:00
Roger Riggs
b7d8c57908 8078582: java/lang/Runtime/exec/LotsOfOutput.java fails intermittently with Process consumes memory
Small allocations may bump total memory, raise THRESHOLD to 2Mb

Reviewed-by: martin
2015-05-20 11:17:09 -04:00
Igor Ignatyev
8f509d71e6 8055269: java/lang/invoke/MethodHandles/CatchExceptionTest.java fails intermittently
Reviewed-by: vlivanov
2015-05-19 20:04:29 +03:00
Brian Burkhalter
a6ad9cd49a 8080629: (fs) Re-enable ability to fsync() on directories even though read()s on those directories may fail
Revert fix applied to resolve JDK-8066915.

Reviewed-by: alanb
2015-05-19 07:12:10 -07:00
Ivan Gerasimov
43b2601a96 8080535: (ch) Expected size of Character.UnicodeBlock.map is not optimal
Reviewed-by: martin, chegar
2015-05-18 19:15:50 +03:00
Peter Levart
30bcd97f81 8077846: improve locking strategy for readConfiguration(), reset(), and initializeGlobalHandlers()
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Reviewed-by: dholmes, alanb, mchung
2015-05-17 10:38:36 +02:00
Alexander Scherbatiy
2e68b719a3 8080137: Dragged events for extra mouse buttons (4, 5, 6) are not generated on JSplitPane
Reviewed-by: serb, azvegint
2015-05-22 15:27:28 +04:00
Alexander Scherbatiy
83dcd68033 8065739: [macosx] Frame warps to lower left of screen when
7124365: [macosx] setMaximizedBounds() should be implemented

Reviewed-by: serb, azvegint
2015-05-22 15:19:05 +04:00
Valerie Peng
d296137c20 8038084: CertStore needs a way to add new CertStore types
Removed internal helper classes and reflection usage for LDAP CertStore.

Reviewed-by: mullan
2015-05-15 01:14:25 +00:00
Stuart Marks
9af3729cc7 8078463: TEST_BUG: optimize java/util/Map/Collisions.java
Reviewed-by: martin, chegar, dfuchs
2015-05-14 13:52:05 -07:00
Jaroslav Bachorik
3e2a1f00e5 8078143: java/lang/management/ThreadMXBean/AllThreadIds.java fails intermittently
Reviewed-by: dholmes, martin
2015-05-14 11:41:11 +02:00
Phil Race
7fa117f7bb Merge 2015-05-13 14:25:22 -07:00
Phil Race
95cc940989 Merge 2015-05-13 08:37:34 -07:00
Prasanta Sadhukhan
5c80a9e763 8077584: Value of java.awt.font.OpenType.TAG_OPBD is incorrect
Reviewed-by: serb, prr
2015-05-12 20:30:48 +03:00
Sean Mullan
5dbc7756f6 8075706: Policy implementation does not allow policy.provider to be on the class path
Reviewed-by: alanb, mchung
2015-05-12 13:13:06 -04:00
Pavel Rappo
431c16c78d 8029689: (spec) Reader.read(char[], int, int) throws unspecified IndexOutOfBoundsException
Reviewed-by: chegar, lancea
2015-05-12 13:59:31 +01:00
Alexander Scherbatiy
e52bc6a831 8079255: [macosx] Test closed/java/awt/Robot/RobotWheelTest/RobotWheelTest fails for Mac only
Reviewed-by: serb
2015-05-12 16:43:32 +04:00
Daniel Fuchs
04f236baec 8079773: java/util/logging/LogManager/TestLoggerNames.java
Fixed a race condition in the test which was responsible of the intermittent failure.

Reviewed-by: mchung
2015-05-12 14:32:50 +02:00
Paul Sandoz
0e7987c721 8078645: removeIf(filter) in ConcurrentHashMap removes entries for which filter is false
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: martin, dholmes
2015-05-12 10:50:40 +02:00
Petr Pchelko
eea06f70fc 8035568: [macosx] Cursor management unification
Reviewed-by: anthony, serb
2015-05-09 02:08:15 +03:00
Sergey Bylokhov
ad5afe4557 8015900: [TEST_BUG] ScrollbarMouseWheelTest failed on ubuntu 12 with unity and unity 2D
Reviewed-by: azvegint, yan
2015-05-08 20:43:46 +03:00
Semyon Sadetsky
8c26397da5 6980209: Make tracking SecondaryLoop.enter/exit methods easier
Reviewed-by: serb, ant
2015-05-08 15:37:38 +03:00
Chris Hegarty
008fee0591 8079782: RandomFactory should be in the jdk.testlibrary package
Reviewed-by: bpb
2015-05-08 11:02:33 +01:00
Amy Lu
94dbab9120 8079651: (dc) Promiscuous.java fails with NumberFormatException due to network interference
Reviewed-by: alanb, chegar
2015-05-08 10:22:18 +01:00
Brian Burkhalter
c0d7208b4b 8065109: (fs spec) Files.newBufferedWriter doesn't specify SecurityException for DELETE_ON_CLOSE option
Add to specification of newBufferedWriter() and write() methods that the DELETE_ON_CLOSE option triggers invoking checkDelete().

Reviewed-by: alanb
2015-05-07 16:12:10 -07:00
Ivan Gerasimov
b22333b25b 8139373: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout
Reviewed-by: chegar
2015-10-21 22:49:14 +03:00
Roger Riggs
4758ab0627 8138963: java.lang.Objects new method to default to non-null
Add java.util.Object.nonNullElse and nonNullElseGet

Reviewed-by: dfuchs, jrose, psandoz, smarks, igerasim, chegar
2015-10-21 14:18:49 -04:00
Phil Race
3625506033 Merge 2015-10-20 10:33:41 -07:00
Nadeesh TV
85378470d9 8134928: java.time.Instant.truncatedTo(TemporalUnit unit) is truncating up if the year < 1970
Reviewed-by: rriggs, scolebourne
2015-10-20 13:10:28 -04:00
Phil Race
c77b678b26 Merge 2015-10-20 08:24:37 -07:00
Yuka Kamiya
0c9cabae96 8072600: Unicode 8 support
Reviewed-by: okutsu
2015-10-20 19:34:04 +09:00
Katja Kantserova
549731dc2f 8078896: Add @modules as needed to the jdk_svc tests
Reviewed-by: alanb, mchung
2015-05-07 09:11:49 +02:00
Joe Darcy
709770f935 8079544: Mark java/util/regex/RegExTest.java as failing intermittently
Reviewed-by: sherman
2015-05-06 16:00:15 -07:00
Joe Darcy
3830136846 8079419: Update to RegEx test to use random number library
Reviewed-by: sherman
2015-05-05 15:34:22 -07:00
Phil Race
b8cf472fe8 Merge 2015-05-05 13:29:31 -07:00
Alejandro Murillo
c185e9a5bf Merge 2015-05-01 03:56:04 -07:00
Brian Burkhalter
30e8183ee8 8078672: Print and allow setting by Java property seeds used to initialize Random instances in java.lang numerics tests
Add ability to initial the random number generator from the system property "seed" and print to STDOUT the seed value actually used.

Reviewed-by: darcy
2015-04-29 16:34:49 -07:00
Naoto Sato
ae93bb2873 8075545: Add permission check for locale service provider implementations
Reviewed-by: mchung, alanb
2015-04-29 11:03:56 -07:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Phil Race
b61e85156e 8076979: DebugFonts.java fails with stackoverflow error
Reviewed-by: serb, jgodinez
2015-04-29 10:25:49 -07:00
Phil Race
60bb43ad32 Merge 2015-04-29 08:52:47 -07:00
Laurent Bourgès
e41e267848 8078464: Path2D storage growth algorithms should be less linear
Reviewed-by: flar
2015-04-28 14:23:03 -07:00
Brian Burkhalter
6929be6fff 8075156: (prefs) get*() and remove() should disallow the use of the null control character '\u0000' as key
Extend disallowing null control character key to remove()

Reviewed-by: rriggs, alanb
2015-04-28 11:10:45 -07:00
Alexander Scherbatiy
6dd76600b3 8044444: The output's 'Page-n' footer does not show completely
Reviewed-by: prr, serb
2015-04-28 19:32:50 +04:00
Roger Riggs
41b36c4295 8078826: Add diagnostic info for java/lang/Runtime/exec/LotsOfOutput.java fails intermittently
Add debugging output for diagnose intermittent failure

Reviewed-by: chegar, joehw
2015-04-28 09:28:24 -04:00
Sergey Bylokhov
aca583b3e9 8077267: Typo in the test on JavaBean
Reviewed-by: alexsch, malenkov
2015-04-28 16:24:04 +03:00
Roger Riggs
642e0ac6f1 8078369: [testbug] java/time/tck/java/time/TCKOffsetTime[now] fails on slow devices
Increase the tolerance between successive calls to now() to 20sec

Reviewed-by: scolebourne, sherman, dfuchs
2015-04-27 16:31:47 -04:00
Phil Race
96700da961 Merge 2015-04-27 09:17:39 -07:00
Doug Lea
37fbfc1a3d 8078490: Missed submissions in ForkJoinPool
Reviewed-by: psandoz, shade, martin, chegar
2015-04-24 15:39:41 +02:00
Anton Nashatyrev
2c3844609c 8078165: [macosx] NPE when attempting to get image from toolkit
Reviewed-by: serb, alexp
2015-04-23 17:33:19 +03:00
Sergey Bylokhov
e75b6c9ab8 6829245: Reg test: java/awt/Component/isLightweightCrash/StubPeerCrash.java fails
Reviewed-by: azvegint, alexsch
2015-04-23 16:54:54 +03:00
Alexander Scherbatiy
849e09bade 8069361: SunGraphics2D.getDefaultTransform() does not include scale factor
Reviewed-by: flar, prr, serb
2015-04-22 13:46:03 +04:00
Pooja Chopra
04c0e090c9 8078082: [TEST_BUG] java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java fails
Reviewed-by: serb, alexsch
2015-04-21 20:11:59 +03:00
Chris Hegarty
e028ed3a21 8075139: Restore java.protocol.handler.pkgs to work as a fallback for migration
Reviewed-by: alanb, psandoz
2015-04-21 14:23:58 +01:00
Calvin Cheung
cd6c611521 Merge 2015-04-17 14:37:44 -07:00
Sergey Bylokhov
6634445355 8074757: Remove java.awt.Toolkit methods which return peer types
Reviewed-by: alanb, prr, ant
2015-04-17 17:01:24 +03:00
Sergey Bylokhov
677097c128 8074763: Remove API references to java.awt.dnd.peer
Reviewed-by: alanb, ant, prr
2015-04-17 16:57:30 +03:00
Sergey Bylokhov
b9aead1b2c 8074028: Remove API references to java.awt.peer
Reviewed-by: alanb, ant, yan, prr
2015-04-17 16:54:13 +03:00
Phil Race
971438ead7 8075942: ArrayIndexOutOfBoundsException in sun.java2d.pisces.Dasher.goTo
Reviewed-by: flar, lbourges
2015-04-17 12:32:46 -07:00
Shanliang Jiang
b705686a86 8042901: Allow com.sun.management to be in a different module to java.lang.management
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 09:40:02 +02:00
Vladimir Kozlov
652a289f75 Merge 2015-04-16 14:06:33 -07:00
Naoto Sato
5b2c289414 8076287: Performance degradation observed with TimeZone Benchmark
Reviewed-by: okutsu
2015-04-16 08:25:19 -07:00
Phil Race
041bb07b95 Merge 2015-04-15 14:28:43 -07:00
Jaroslav Bachorik
1c76dd4fbc 8077327: ThreadStackTrace.java throws exception: BlockedThread expected to have BLOCKED but got RUNNABLE
Reviewed-by: sspitsyn, dfuchs
2015-04-15 09:38:45 +02:00
David Dehaven
2ec458e126 Merge 2015-04-14 12:10:01 -07:00
David Dehaven
8130b5c80f Merge 2015-04-14 10:15:54 -07:00
Vladimir Ivanov
4097393258 8057919: Class.getSimpleName() should work for non-JLS compliant class names
Reviewed-by: dholmes, jrose
2015-04-14 18:03:12 +03:00
Hendrik Schreiber
31ec6e06ef 8076106: [macosx] Drag image of TransferHandler does not honor MultiResolutionImage
Reviewed-by: serb, alexsch
2015-04-14 14:47:40 +04:00
Dmitry Markov
b29fb12ad4 8073453: Focus doesn't move when pressing Shift + Tab keys
Reviewed-by: alexsch, ant
2015-04-14 15:24:10 +04:00
Xueming Shen
a0fedc8556 8077640: DateTimeFormatter does not parse/accept the era.toString() result from MinguoEra/ThaiBuddhistEra
To parse and accept the era.toString() for era parsing in lenient/smart mode

Reviewed-by: rriggs
2015-04-13 11:15:41 -07:00
Jaroslav Bachorik
77b5a0e6c0 8076050: java/lang/management/ThreadMXBean/ThreadMXBeanStateTest.java fails intermittently
Reviewed-by: sla
2015-04-13 09:43:12 +02:00
Pooja Chopra
2fd5531d45 8076151: [TESTBUG] Test java/awt/FontClass/CreateFont/fileaccess/FontFile.java fails
Reviewed-by: alexsch, azvegint
2015-04-10 11:35:49 +03:00
Chris Hegarty
7e6f12e6e9 8076442: Cannot fully read BitSet.stream() if bit Integer.MAX_VALUE is set
Reviewed-by: alanb, henryjen
2015-04-07 10:33:08 +01:00
Xueming Shen
2de64493a2 8076641: getNextEntry throws ArrayIndexOutOfBoundsException when unzipping file
To add extra sanity check for entry extra data

Reviewed-by: alanb
2015-04-06 13:41:10 -07:00
Phil Race
475ef86eea Merge 2015-04-06 10:35:59 -07:00
Semyon Sadetsky
5197d1c01a 8072769: System tray icon title freezes java
Reviewed-by: serb, alexsch
2015-04-06 19:09:18 +04:00
Calvin Cheung
99f902972c Merge 2015-04-03 13:46:22 -07:00
Chris Hegarty
1392515988 8076644: MulticastSendReceiveTests.java fails with NumberFormatException due to network interference
Reviewed-by: alanb
2015-04-03 16:09:49 +01:00
Daniel D. Daugherty
f4060f076d Merge 2015-05-16 13:22:40 -07:00
Jaroslav Bachorik
15fffb90d7 8046869: Several java/lang/instrument/PremainClass/* tests fail due to timeout
Reviewed-by: sla
2015-05-13 10:17:38 +02:00
Jaroslav Bachorik
4d07222b01 8074368: ThreadMXBean.getThreadInfo() corrupts memory when called with empty array for thread ids
Reviewed-by: mchung
2015-04-03 15:39:38 +02:00
Brent Christian
6c5d70bfbc 8071667: HashMap.computeIfAbsent() adds entry that HashMap.get() does not find
Throw ConcurrentModificationException from computeIfAbsent() & friends

Reviewed-by: chegar, psandoz
2015-04-02 12:33:03 -07:00
Sergey Bylokhov
e1bdbfa0e0 8074500: java.awt.Checkbox.setState() call causes ItemEvent to be filed
Reviewed-by: alexsch, azvegint
2015-04-02 19:53:53 +03:00
Daniel Fuchs
ce950c0798 7113878: LogManager - namedLoggers should be ConcurrentHashMap instead of Hashtable
NamedLoggers is now a ConcurrentHashMap. findLogger is updated to take benefit of the change.

Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: dholmes, lancea, martin, mchung, plevart
2015-04-02 16:24:46 +02:00
Daniel Fuchs
679db144e5 8075810: LogManager.readConfiguration may throw undocumented IllegalArgumentException
LogManager.readConfiguration will wrap the IllegalArgumentException thrown by Properties.load inside an IOException.

Reviewed-by: lancea, mchung, rriggs
2015-04-02 11:42:07 +02:00
Laurent Bourgès
8377d7ebd6 8076419: Path2D copy constructors and clone method propagate size of arrays from source path
Reviewed-by: flar, prr
2015-04-01 11:23:47 -07:00
David Dehaven
b91f622563 Merge 2015-03-31 16:23:01 -07:00
David Dehaven
b30c48a154 Merge 2015-03-31 16:17:17 -07:00
Martin Buchholz
a194da7ffb 8076105: java/util/zip/EntryCount64k.java failing after push for JDK-8073158
Fix Windows newline problem; write enclosing class file for MacOSX

Reviewed-by: sherman, alanb
2015-03-30 09:46:05 -07:00
Anton Nashatyrev
68aa2c14c2 8071668: [macosx] Clipboard does not work with 3rd parties Clipboard Managers
Reviewed-by: ant, serb
2015-03-30 18:41:51 +03:00
Masayoshi Okutsu
90e30c53bc 8075548: SimpleDateFormat formatting of "LLLL" in English is incorrect; should be identical to "MMMM"
Reviewed-by: naoto
2015-03-30 16:31:18 +09:00
Harold Seigel
e86e812a29 Merge 2015-03-29 09:21:15 -04:00
Katja Kantserova
2d4a9917d5 8075820: java/lang/management/ThreadMXBean/FindDeadlocks.java should be unquarantined
Reviewed-by: jbachorik, sspitsyn
2015-03-25 12:39:48 +01:00
Alexander Scherbatiy
a5bc56dcec 8075244: [macosx] The fix for JDK-8043869 should be reworked
Reviewed-by: prr, serb, ant
2015-03-25 12:37:36 +04:00
David Dehaven
6eb7a3db58 Merge 2015-03-24 11:00:32 -07:00
Lev Priima
2b63b5d1d7 8075071: [TEST_BUG] TimSortStackSize2.java: OOME: Java heap space: MaxHeap shrinked by MaxRAMFraction
Reviewed-by: dholmes
2015-03-24 03:46:57 -04:00
Roger Riggs
a056457b52 8067796: (process) Process.waitFor(timeout, unit) doesn't throw NPE if timeout is less than, or equal to zero when unit == null
Implement checking for NPE in Process implementation before other conditions

Reviewed-by: martin, chegar
2015-03-23 10:13:32 -04:00
Joe Darcy
07cd371738 8075670: Remove intermittent keyword from some tests
Reviewed-by: alanb
2015-03-23 09:45:32 -07:00
Zaiyao Liu
35c411ea7e 8048618: Tests for PKCS12 write operations
Reviewed-by: weijun
2015-03-23 15:37:03 +08:00
Brian Burkhalter
1eb4f850a6 8075655: NIO test generation scripts have incorrect path to Spp.java
Correct the path to Spp.java

Reviewed-by: rriggs
2015-03-20 15:25:07 -07:00
Daniel D. Daugherty
4fd6cf3759 Merge 2015-03-20 15:21:51 -07:00
Brian Burkhalter
d7419560c2 8075362: j.u.Properties.load() methods have misaligned @throws clauses
Add spaces to align the @throws clauses, and rename Basic.java test and its @summary clause.

Reviewed-by: rriggs
2015-03-20 10:37:03 -07:00
Serguei Spitsyn
40807f0a8e 8067662: "java.lang.NullPointerException: Method name is null" from StackTraceElement.<init>
Update java/lang/instrument/RedefineMethodInBacktrace.sh test to cover the hotspot fix

Reviewed-by: coleenp, dcubed
2015-03-20 01:59:08 -07:00
Joe Darcy
2596979bfe 8075565: Define @intermittent jtreg keyword and mark intermittently failing jdk tests
Reviewed-by: lancea
2015-03-19 18:38:26 -07:00
Yuri Nesterenko
7b4b132f80 8074807: Fix some tests unnecessary using internal API
Reviewed-by: azvegint, alexsch
2015-03-18 10:30:22 +03:00
Naoto Sato
ca08065c34 8074350: Support ISO 4217 "Current funds codes" table (A.2)
8074351: Support for currencies with the 4 digits (or more) minor unit

Reviewed-by: okutsu
2015-03-17 16:04:26 -07:00
Phil Race
391adb65e0 Merge 2015-03-17 14:38:54 -07:00
Phil Race
9dbd9dd373 Merge 2015-03-17 12:30:53 -07:00
Xueming Shen
f3a2e4480d 8074678: JCK test java_util/regex/MatchResult/index.html starts failing after JDK-8071479
To add non-match sanity check

Reviewed-by: psandoz
2015-03-17 09:54:36 -07:00
Alejandro Murillo
d898b500d9 Merge 2015-03-16 14:27:36 -07:00
Amy Lu
b8770ac035 8075111: Mark testFlatMappingClose (from CollectorsTest) as serialization hostile
Reviewed-by: psandoz
2015-03-16 10:24:16 +01:00
Aggelos Biboudis
cb566c6ce5 8067969: Optimize Stream.count for SIZED Streams
Reviewed-by: psandoz, chegar
2015-03-16 10:19:49 +01:00
Brian Burkhalter
6290291b27 8075110: (prefs) CodePointZeroPrefsTest fails on certain platforms
Contrain test to the Linux and Solaris OS families

Reviewed-by: darcy
2015-03-13 15:03:42 -07:00
Brian Burkhalter
17f8ee8cf0 8073214: javadoc of Properties methods should specify NullPointerExceptions
Add test for null parameter and corresponding throws clause to load() methods

Reviewed-by: darcy
2015-03-13 14:54:40 -07:00
Alejandro Murillo
d9955b1c00 Merge 2015-03-12 19:51:36 -07:00
Sergey Bylokhov
3c9eab317a 8074668: [macosx] Mac 10.10: Application run with splash screen has focus issues
Reviewed-by: prr, ant, alexsch
2015-03-12 08:57:51 -07:00
Phil Race
cac7e38c8d Merge 2015-03-11 08:30:40 -07:00
Nakul Natu
741e72173c 8066436: Minimize can cause window to disappear on osx
Reviewed-by: serb, azvegint
2015-03-10 21:48:37 +03:00
Jaroslav Bachorik
1c5857f8dd 6712222: Race condition in java/lang/management/ThreadMXBean/AllThreadIds.java
Reviewed-by: dholmes, dfuchs
2015-03-10 09:37:56 +01:00
Phil Race
6cd9e14e45 Merge 2015-03-09 09:49:31 -07:00
Xueming Shen
011b337a51 8074406: DateTimeFormatter.appendZoneOrOffsetId() fails to resolve a ZoneOffset for OffsetDateTime
To support resolve OffsetDateTime from DTF.appendZoneOrOffset()

Reviewed-by: rriggs
2015-03-07 10:11:03 -08:00
Brian Burkhalter
f9a9e68c05 8074460: Always print seeds used in [Splittable]Random instances in java.math tests
Create a utility class which creates a pseudorandom number generator (PRNG) and retains the seed. Use this class in java.math tests which use a PRNG. Always print the seed value before the PRNG is used.

Reviewed-by: darcy
2015-03-06 16:00:58 -08:00
Alejandro Murillo
90a9d497fa Merge 2015-03-06 04:58:53 -08:00
Chris Hegarty
9e0c46f629 8005226: java/rmi/transport/pinClientSocketFactory/PinClientSocketFactory.java fails intermittently
Reviewed-by: rriggs, smarks
2015-03-05 17:04:47 +00:00
Chris Hegarty
0ade1fd974 8068260: java/io/Serializable/clearHandleTable/ClearHandleTable.java timed out
Reviewed-by: rriggs, smarks
2015-03-05 09:38:45 +00:00
Yuri Nesterenko
0803af98c7 8074092: Newly introduced unnecessary dependencies on internal API in client regtests
Reviewed-by: serb, azvegint
2015-03-05 11:07:48 +03:00
Martin Buchholz
8ab93c84ec 8073158: zip files with total entry count 0xFFFF need not be ZIP64 files
Minor rewrite of crufty zip implementation in parse_manifest.c

Reviewed-by: sherman
2015-03-25 15:36:43 -07:00
Paul Sandoz
b220e6cb1d 8075307: Pipeline calculating inconsistent flag state for parallel stateful ops
Reviewed-by: smarks
2015-03-25 10:50:08 +00:00
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