4149 Commits

Author SHA1 Message Date
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
Masayoshi Okutsu
8cb25f3af9 8031145: Re-examine closed i18n tests to see it they can be moved to the jdk repository
Reviewed-by: alanb, peytoia, naoto
2016-05-27 14:33:48 +09:00
Daniel Fuchs
c3435ed005 8146389: java/util/logging/XMLFormatterDate.java fails during year switch
Updates the test to match the changes in the XML content that were brought by JDK-8072645.

Reviewed-by: joehw
2016-05-26 19:55:00 +02:00
Alan Bateman
39e8310a9a 8156143: Module.getResourceAsStream throws unspecified SecurityException with module in custom Layer
Reviewed-by: chegar, mchung
2016-05-26 10:56:58 +01:00
Alan Bateman
bfb7fba79b 8156142: ModuleReader instances don't always throw NPE for passed null args
Reviewed-by: chegar, mchung
2016-05-25 20:12:32 +01:00
Alan Bateman
53e204dc49 8150668: Layer.defineModulesXXX with a Configuration containing java.base throws undocumented exception
Reviewed-by: chegar, mchung
2016-05-25 19:58:03 +01:00
Bhanu Prakash Gopularam
a94e9c4d1b 8156718: Need tests for IsoFields getFrom for unsupported non-Iso Temporal fields
Reviewed-by: rriggs, scolebourne
2016-05-25 09:14:55 +00:00
Hamlin Li
f86a99352f 8151904: test/java/lang/StackWalker/VerifyStackTrace.java needs to handle update releases
Reviewed-by: dfuchs, mchung
2016-05-24 18:41:31 -07:00
Vyom Tewari
af7a591d39 8016521: InetAddress should not always re-order addresses returned from name service
Reviewed-by: chegar
2016-05-24 20:15:18 +01:00
Doug Lea
27a77176a6 8153768: Miscellaneous changes imported from jsr166 CVS 2016-05
Reviewed-by: martin, psandoz, chegar, shade
2016-05-24 10:14:41 -07:00
Vyom Tewari
6bd865a6b4 8143923: java.net socket supportedOptions set depends on call order
Reviewed-by: chegar
2016-05-24 12:31:30 +01:00
Alan Bateman
fe609fd3cb 8157598: ModuleReader find returns incorrect URI when modular JAR is a multi-release JAR
Reviewed-by: chegar, mchung
2016-05-24 11:31:25 +01:00
Chris Hegarty
4d950890f2 8155086: Replace usage of -Djdk.launcher.limitmods in tests with -limitmods
Reviewed-by: alanb
2016-05-24 09:18:40 +01:00
Amy Lu
a74cd0321d 8157499: Mark several tests from jdk_net as intermittently failing
Reviewed-by: chegar
2016-05-24 11:28:29 +08:00
Michael McMahon
998f8f5911 8153142: Cannot resolve multiple values from one response header
Reviewed-by: rriggs
2016-05-23 12:57:40 +01:00
Michael McMahon
ab880cb4af 8157105: HTTP/2 client hangs in blocking mode if an invalid frame has been received
Reviewed-by: rriggs
2016-05-23 12:38:48 +01:00
Alan Bateman
ce04e9d9a2 8152650: ModuleFinder.compose should accept varargs
Reviewed-by: mchung
2016-05-21 08:01:03 +01:00
Sergey Bylokhov
a23de88885 8132973: @BeanProperty: what is the correct output in case of repeating annotations?
Reviewed-by: alexsch, avstepan
2016-05-26 16:12:12 +03:00
David Dehaven
a5e0e96acb Merge 2016-05-25 13:38:38 -07:00
Prem Balakrishnan
282908c590 8057574: inconsistent behavior for setBackground (Windows/Linux)
Reviewed-by: serb, arapte
2016-05-24 14:19:53 +05:30
Sergey Bylokhov
a73a3830ee 8155103: [TEST_BUG] @BeanProperty: unwanted "declaringClass" descriptor when annotating an enum
Reviewed-by: ssadetsky, alexsch, avstepan
2016-05-23 17:43:45 +03:00
Sergey Bylokhov
a279dc035c 8156579: Two JavaBeans tests failed
Reviewed-by: alanb
2016-05-21 02:53:37 +03:00
Prasanta Sadhukhan
5fdb08818d 6509729: javax.print.ServiceUI.printDialog Border/Margin Evaluation is bugged
Reviewed-by: prr, jdv
2016-05-19 16:32:38 +05:30
Phil Race
d4b2e45898 Merge 2016-05-18 12:04:26 -07:00
Phil Race
3546becf91 Merge 2016-05-18 09:57:35 -07:00
Paul Sandoz
0bad445941 8157152: Atomic add for VarHandle byte[]/ByteBuffer views is incorrect for endian conversion
Reviewed-by: fyuan, shade, vlivanov
2016-05-18 18:46:14 +02:00
Artem Smotrakov
5cf7ba5687 8157107: HTTP/2 client may fail with NPE if additional logging enabled
Reviewed-by: michaelm
2016-05-18 16:39:08 +01:00
Alexandre Iline
b67da697df 8156972: java/lang/reflect/Layer/LayerAndLoadersTest.java test requires jdk.compiler
Reviewed-by: alanb
2016-05-18 11:56:24 +01:00
Michael Haupt
c4976196f5 8156915: introduce MethodHandle factory for array length
Reviewed-by: sundar
2016-05-18 10:42:29 +02:00
Prasanta Sadhukhan
c0fd256a5e 6529030: Java Printing: Print range > Selection gets enabled
Reviewed-by: prr, jgodinez
2016-05-18 11:33:04 +05:30
Aleksey Shipilev
33bb9220fc 8157171: Hook up Unsafe.weakCompareAndSetVolatile to VarHandles
Reviewed-by: psandoz, redestad
2016-05-17 22:28:00 +03:00