4098 Commits

Author SHA1 Message Date
Pavel Rappo
27036a761f 8160218: HPack decoder fails when processing header in multiple ByteBuffers
Reviewed-by: michaelm
2016-06-29 10:19:48 +01:00
Paul Sandoz
7dd146f072 8160439: Replace asserts in VarHandle.AccessMode with tests
Reviewed-by: vlivanov, rriggs, martin
2016-06-29 08:30:49 +02:00
Xueming Shen
c19f3e0db2 6233323: ZipEntry.isDirectory() may return false incorrectly
8144977: Class.getResourceAsStream("directory") in JAR returns broken InputStream

Reviewed-by: rriggs
2016-06-28 15:36:15 -07:00
Ramanand Patil
78f385b79a 8153955: increase java.util.logging.FileHandler MAX_LOCKS limit
This patch adds a new configurable property "java.util.logging.FileHandler.maxLocks" to java.util.logging.FileHandler which can be defined in the logging configuration file and makes it possible to configure the maximum number of concurrent log file locks a FileHandler can handle. If not overridden, the default value of maxLocks (100) remains unchanged.

Reviewed-by: dfuchs, coffeys
2016-06-27 11:52:49 +05:30
Amy Lu
e926c77845 8156536: Remove intermittent key from TreeTest.java and move back to tier1
Reviewed-by: darcy
2016-06-28 14:39:09 +08:00
Xueming Shen
6223e843f9 8160312: ArrayIndexOutOfBoundsException when comparing strings case insensitive
Reviewed-by: rriggs
2016-06-27 13:57:24 -07:00
Chris Hegarty
c53f3cbcbe 8154017: Shutdown hooks are racing against shutdown sequence, if System.exit()-calling thread is interrupted
Reviewed-by: alanb, dholmes, shade
2016-06-24 06:47:32 +01:00
Xueming Shen
e922fb0afb 8159545: closed/java/io/Console/TestConsole.java failed with exit code 1
Reviewed-by: rriggs
2016-06-22 11:31:07 -07:00
Vyom Tewari
b75020a9b0 8071660: URLPermission not handling empty method lists correctly
Reviewed-by: chegar, dfuchs, prappo, rriggs
2016-06-22 09:01:34 +01:00
Naoto Sato
e18eaa2e9b 8159548: Formatter returns unexpected strings if locale is null
Reviewed-by: sherman
2016-06-21 15:15:05 -07:00
Pavel Rappo
e0c6d91241 8156742: Miscellaneous WebSocket API improvements
Reviewed-by: chegar, rriggs
2016-06-21 18:51:18 +01:00
Vyom Tewari
6ae11043e9 8114860: Behavior of java.net.URLPermission.getActions() contradicts spec
Reviewed-by: chegar, prappo
2016-06-21 16:52:16 +01:00
Vyom Tewari
47ade5bbb9 8144008: Setting NO_PROXY on HTTP URL connections does not stop proxying
Reviewed-by: chegar, rriggs
2016-06-21 14:00:59 +01:00
Hamlin Li
efac3d44f2 8159879: Some typo and minor test bugs in ava/lang/module/ModuleReferenceTest.java and ConfigurationTest.java
Reviewed-by: alanb
2016-06-20 18:30:57 -07:00
Hamlin Li
2ac6a74d79 8159762: Some minor test bugs in java/lang/module/ModuleDescriptorTest.java
Reviewed-by: alanb
2016-06-18 16:50:19 -07:00
Roger Riggs
2fce52789b 8155808: Process.getInputStream().skip() method is faulty
For Process input streams, implement skip as read

Reviewed-by: prappo, dfuchs
2016-06-17 15:57:28 -04:00
Alan Bateman
40abbd6d10 8140449: (fs) Paths.get("x").relativize("") return ..\ on Windows
Reviewed-by: chegar, rriggs
2016-06-17 17:17:21 +01:00
Goetz Lindenmaier
4f7d655557 8159690: [TESTBUG] Mark headful tests with @key headful
Reviewed-by: simonis, alexsch
2016-06-14 10:44:59 +02:00
Nishit Jain
868cd939e6 8159420: The LanguageRange.parse() method is throwing IllegalArgumentException in Turkish Locale
Reviewed-by: naoto, okutsu, peytoia
2016-06-17 21:42:38 +09:00
Alan Bateman
8547893efe 8158456: ModuleDescriptor.read does not verify dependence on java.base in module-info.class
8159248: ModuleFinder.of not clear that FindException thrown if module descriptor cannot be derived for automatic module

Reviewed-by: chegar, mchung
2016-06-17 08:41:39 +01:00
Joe Darcy
b2795ca463 8071859: AnnotationInvocationHandler.equals(Object) return true when apply to annotation
Reviewed-by: mchung, chegar
2016-06-16 13:00:34 -07:00
Doug Lea
559140e18e 8066070: PriorityQueue corrupted when adding non-Comparable
Reviewed-by: martin, chegar
2016-06-01 19:03:15 -07:00
David Dehaven
a513e6fe8a Merge 2016-06-15 12:47:50 -07:00
Mandy Chung
99b0f7996c 8068764: java/lang/ClassLoader/ExtDirs.java failed with java.lang.IllegalThreadStateException with fastdebug
Reviewed-by: alanb
2016-06-15 11:56:09 -07:00
Alexandre Iline
431772cea7 8158855: Fix remaining module dependences in java/lang
Reviewed-by: alanb, mchung, amlu
2016-06-15 10:25:25 -07:00
Naoto Sato
a94f94cce1 8043387: java/time/test/java/util/TestFormatter.java failed
Reviewed-by: sherman
2016-06-15 09:24:16 -07:00
David Dehaven
2579e92c1f Merge 2016-06-15 09:24:05 -07:00
Xueming Shen
5aad7937b7 8139414: java.util.Scanner hasNext() returns true, next() throws NoSuchElementException
8072582: Scanner delimits incorrectly when delimiter spans a buffer boundary

Reviewed-by: smarks
2016-06-14 16:56:27 -07:00
Nishit Jain
3db5ac3931 8135061: java.util.Locale#lookup throws java.lang.StringIndexOutOfBoundsException for range having '-' as second character
Reviewed-by: okutsu, peytoia
2016-06-14 12:29:49 +09:00
Valerie Peng
d9d53c3850 8157489: AppleProvider in java.base/macosx/classes/module-info.java.extra
Remove the line for ServiceLoader lookup

Reviewed-by: mchung
2016-06-13 21:49:37 +00:00
Bhanu Prakash Gopularam
b9e8313df2 8062758: Update java/security/Security/ClassLoaderDeadlock/Deadlock2.sh with the removal of -Djava.ext.dirs
Removing test as java.ext.dirs not supported

Reviewed-by: mchung, mullan
2016-06-12 23:19:34 -07:00
Pavel Rappo
763be5ec14 8159039: sun/net/httpclient/hpack/HeaderTableTest.java fails on some locales
Reviewed-by: chegar
2016-06-13 15:48:17 +01:00
Daniel Fuchs
4c69f47805 8153666: Optimize Formatter.formatMessage
This patch brings a small optimization that removes needless synchronization in Formatter.formatMessage. It also fixes the code that decides whether to call MessageFormat, and brings a small clarification to the API documentation on the conditions when that will happen.

Reviewed-by: rriggs, martin
2016-06-13 08:20:34 +01:00
John Jiang
c5b3a7c036 8151913: Fix module dependencies in java/net tests
Module dependency declaration for java/net/* tests

Reviewed-by: alanb
2016-06-12 21:55:20 -07:00
Joe Darcy
0530bceffc 5041778: (ann) AnnotationFormatError if "default" Class type not found
Reviewed-by: jfranck
2016-06-12 12:14:52 -07:00
Weijun Wang
ec53a43962 8158534: DrbgParameters strength parameter is underspecified if < -1
Reviewed-by: xuelei
2016-06-12 10:48:19 +08:00
Nishit Jain
acac4bb550 8040211: Update LSR datafile for BCP 47
Reviewed-by: okutsu, peytoia
2016-06-10 20:25:51 +09:00
Shilpi Rastogi
41fa7638dd 8147585: Annotations with lambda expressions has parameter result in wrong behavior
Reviewed-by: psandoz, darcy, jfranck, vlivanov, mhaupt
2016-06-09 09:33:37 +02:00
Pavel Rappo
7c857909cf 8156693: Improve usability of CompletableFuture use in WebSocket API
Reviewed-by: rriggs
2016-06-08 15:19:58 +01:00
Aleksey Shipilev
41b6361f34 8158851: MH.publicLookup() init circularity, triggered by custom SecurityManager with String concat and -limitmods java.base
Reviewed-by: alanb, redestad, jlaskey
2016-06-08 11:14:45 +03:00
Robin Stevens
3dee2d33a4 8158178: java.awt.SplashScreen.getSize() returns incorrect size for high dpi splash screens
Reviewed-by: alexsch
2016-06-07 20:15:01 +04:00
Semyon Sadetsky
e6dcf30b2a 8156121: "Fail forward" fails for GTK3 if no GTK2 available
Reviewed-by: prr
2016-06-07 11:40:28 +03:00
Prasanta Sadhukhan
db4963b1d3 8158520: [TEST_BUG] java/awt/PrintJob/PrinterException.java fails on timeout
Reviewed-by: serb
2016-06-07 11:02:21 +05:30
David Dehaven
d37fd207e1 Merge 2016-06-06 13:16:45 -07:00
Naoto Sato
ffd210aefb 8146156: Inconsistent default locale in string formatter methods
Reviewed-by: sherman
2016-06-06 10:52:21 -07:00
Sergey Bylokhov
70ba9caaab 8146313: The java.beans.Statement.invoke() method handles 3-arg Class.forName incorrectly
Reviewed-by: prr, ahgross, alexsch
2016-06-06 18:28:46 +03:00
Shilpi Rastogi
389fc2ae25 8158171: MethodHandles.dropArgumentsToMatch(...) non-documented IAE
Reviewed-by: sundar, mhaupt
2016-06-06 09:13:35 +02:00
Brent Christian
3af1187ad7 8152893: StackWalker#getCallerClass is not filtering hidden/ reflection frames when walker is configured to show hidden /reflection frames
Reviewed-by: mchung
2016-06-03 17:01:23 -07:00
Mandy Chung
10a92943ae 8158604: test/java/util/ResourceBundle/modules/appbasic missing @test
Reviewed-by: alanb, okutsu
2016-06-03 12:26:45 -07:00
Chris Hegarty
05e9b6b110 8158525: Update a few java/net tests to use the loopback address instead of the host address
Reviewed-by: rriggs
2016-06-03 13:45:30 +01:00