Commit Graph

4238 Commits

Author SHA1 Message Date
Shilpi Rastogi
33695b874c 8158510: Add test cases to validate Annotation
Reviewed-by: alanb, psandoz, mhaupt
2016-07-05 12:44:28 +02:00
Semyon Sadetsky
3c449e081f 8022810: Cannot list all the available display modes on Ubuntu linux in case of two screen devices
Reviewed-by: alexsch, serb
2016-07-05 12:37:36 +03:00
Prasanta Sadhukhan
e37a8652d8 6789262: getPageFormat doesn't apply PrintRequestAttributeSet specified
Reviewed-by: prr, jdv
2016-07-04 17:10:29 +05:30
Michael Haupt
a06c5e0f57 8143211: provide bytecode intrinsics for loop and try/finally executors
Reviewed-by: psandoz, redestad, vlivanov
2016-07-04 10:08:18 +02:00
Dmitry Markov
b77537f200 8148984: [macosx] Chinese Comma cannot be entered using Pinyin Input Method on OS X
Reviewed-by: alexp
2016-07-04 11:04:18 +03:00
Phil Race
985762b983 Merge 2016-07-01 13:00:53 -07:00
Brian Burkhalter
70e069ea5d 8160687: (fs) Cannot tell which WatchService test is not deleting temp directories "work*"
Change name of "work" temp directory to "TestName"

Reviewed-by: rriggs
2016-07-01 12:54:18 -07:00
Prem Balakrishnan
dac2ddb197 8158478: X11 keysym XK_topt maps to the wrong Unicode character
Reviewed-by: serb, arapte
2016-07-01 16:16:59 +05:30
Alejandro Murillo
3689909db0 Merge 2016-07-01 16:50:37 -07:00
Mikhail Cherkasov
31b9ea3ba7 8160650: Couple awt and swing tests have wrong require jtreg arguments
Reviewed-by: serb
2016-06-30 22:27:28 +03:00
Semyon Sadetsky
e040960f7e 8160623: [PIT] Exception running java/awt/event/KeyEvent/KeyChar/KeyCharTest.java
Reviewed-by: yan, prr
2016-06-30 20:34:26 +03:00
Pavel Rappo
27036a761f 8160218: HPack decoder fails when processing header in multiple ByteBuffers
Reviewed-by: michaelm
2016-06-29 10:19:48 +01:00
Ambarish Rapte
9bbfcdc6da 8151588: Press the button first two times, the 'First' and 'Next' didn't show
Reviewed-by: ssadetsky, rchamyal
2016-06-29 12:22:38 +05:30
Ambarish Rapte
9584a67f30 8158616: [TEST_BUG] There is only "Fail" button on the description dialog
Reviewed-by: ssadetsky
2016-06-29 11:51:37 +05:30
Vladimir Kozlov
b7a4c8d92a Merge 2016-06-24 15:06:50 -07:00
Paul Sandoz
3f0273a3c4 8154737: Rename VarHandle.compareAndExchangeVolatile to VarHandle.compareAndExchange
Reviewed-by: shade
2016-06-23 13:46:48 +02: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
Phil Race
ec03057889 Merge 2016-06-27 10:01:23 -07:00
Dmitry Markov
349451667b 8154816: Caps Lock doesn't work as expected when using Pinyin Simplified input method
Reviewed-by: ssadetsky, alexp
2016-06-27 11:31:21 +03: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
Phil Race
62f4383578 4497648: TextLayout equals method is not implemented
Reviewed-by: serb, psadhukhan
2016-06-23 16:54:19 -07:00
Prasanta Sadhukhan
1d8080cca9 6601097: Margins are not reset to hardware margins when width/height is 0 or -ve alongwith x, y
Reviewed-by: prr, jdv
2016-06-23 16:46:13 +05:30
Manajit Halder
76cbe40b08 8155740: [macosx] robot.keyPress and robot.keyRelease do not generate key event for Alt-Graph key VK_ALT_GRAPH
Reviewed-by: ssadetsky, serb
2016-06-22 16:10:36 +05:30
Semyon Sadetsky
1357181c55 8139189: Review request for 8139189: VK_OEM_102 dead key detected as VK_UNDEFINED
Reviewed-by: alexsch
2016-06-22 12:36:18 +03:00
Semyon Sadetsky
c5d53536bd 8075516: Deleting a file from either the open or save java.awt.FileDialog hangs
Reviewed-by: alexsch, serb
2016-06-22 12:26:30 +03: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
Paul Sandoz
734dbe4089 8158039: VarHandle float/double field/array access should support CAS/set/add atomics
Reviewed-by: shade, vlivanov, darcy
2016-06-20 17:57:19 +02:00
Phil Race
8884792ee0 Merge 2016-06-20 13:10:54 -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
Prasanta Sadhukhan
d6d355ab07 6966350: Empty pages when printing on Lexmark E352dn PS3 with "1200 IQ" setting
Reviewed-by: prr, jdv
2016-06-17 16:52:38 +05:30
Aleksey Shipilev
e663206d07 8157726: VarHandles/Unsafe should support sub-word atomic ops
Reviewed-by: psandoz, vlivanov, lagergren
2016-06-15 11:20:15 +03: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
Prasanta Sadhukhan
987c089f6b 8159134: [PIT][TEST_BUG] failed to run java/awt/print/PrinterJob/PrintDlgSelectionAttribTest.java
Reviewed-by: yan
2016-06-10 15:28:49 +05:30
Prasanta Sadhukhan
4f9b85c627 8158758: [TEST_BUG] test/java/awt/print/PrinterJob/LandscapeStackOverflow.java fails on timeout
Reviewed-by: yan
2016-06-10 15:20:59 +05:30
Dmitry Markov
e66c3d1596 8025130: [macosx] Frame setLocationByPlatform has no effect under Mac OS X
Reviewed-by: ssadetsky, alexp
2016-06-09 14:21:42 +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
Mandy Chung
74c27aab0f 8157892: StackFrame::getFileName returns null when a source file exists for native methods
8157977: getByteCodeIndex method from StackFrame does not return negative number when StackFrame is a native frame

Reviewed-by: dfuchs, bchristi
2016-06-02 16:39:14 -07:00
Xueming Shen
98e2f679cf 8158482: regex UNICODE_CHARACTER_CLASS flag cannot be disabled with an embedded flag expression
Reviewed-by: bpb
2016-06-02 14:03:50 -07:00
Rajan Halade
5223193974 8158560: Mark java/rmi/transport/dgcDeadLock/DGCDeadLock.java as intermittently faiing
Reviewed-by: smarks
2016-06-02 12:25:17 -07:00
Prasanta Sadhukhan
e110eecba2 6842011: StackOverflowError printing landscape with scale and transform
Reviewed-by: prr, flar
2016-06-02 15:20:31 +05:30
David Dehaven
1733b64041 Merge 2016-06-01 15:27:51 -07:00
Joe Darcy
e48c0f85b2 8158430: Push tests for JDK-5040830
Reviewed-by: psandoz
2016-06-01 11:22:06 -07:00
Ramanand Patil
78bb28e4af 8151876: (tz) Support tzdata2016d
Reviewed-by: okutsu, coffeys
2016-06-01 14:33:44 +01:00
Stuart Marks
246a39a5b1 8157777: DeadCachedConnection doesn't wait for registry to die
Reviewed-by: darcy
2016-05-31 17:54:41 -07:00
Amanda Jiang
989d0b0b7c 8156059: Update/Develop new tests for JEP 287: SHA-3 Hash Algorithms
Update existing MessageDigest tests with SHA-3 Hash Algorithms and add one test case to check supported providers

Reviewed-by: valeriep, rhalade
2016-05-31 22:41:56 +00:00
Semyon Sadetsky
989fe674ba 8139218: Dialog that opens and closes quickly changes focus in original focusowner
Reviewed-by: alexsch
2016-05-31 15:57:01 +03:00
Nishit Jain
02f77987fa 8072099: Format "ha" is unable to parse hours 10-12
Reviewed-by: okutsu, peytoia
2016-05-31 16:19:32 +09:00
Rachna Goel
48873ebc3f 8145136: Upgrade CLDR locale data
Reviewed-by: naoto, okutsu, peytoia
2016-05-31 13:00:48 +09:00
Felix Yang
991c9b0593 8157816: Mark 4 httpclient tests as intermittently failing
Reviewed-by: chegar
2016-05-30 17:49:04 -07:00
Alan Bateman
a5e1465831 8066258: Re-examine com.sun.nio.file to see if it should be a supported API
Reviewed-by: chegar
2016-05-30 17:38:05 +01:00
Semyon Sadetsky
26a8aa6704 8157163: AWT FileDialog does not inherit icon image from parent Frame
Reviewed-by: alexsch, serb
2016-05-30 11:08:27 +03:00
Masayoshi Okutsu
212d6de09b 8039565: Remove test exclusion for java/util/ResourceBundle/RestrictedBundleTest.java
Reviewed-by: peytoia
2016-05-30 14:58:59 +09:00
Felix Yang
8fe1e0ad30 8078812: Test RMI with client and servers as modules
Reviewed-by: smarks
2016-05-29 18:22:21 -07:00
Sergey Bylokhov
a34bbc2ae4 8156043: Unstable behavior of PropertyDescriptor's getWriteMethod() in case of overloaded setters
Reviewed-by: alexsch, ssadetsky
2016-05-29 02:34:28 +03:00
Sergey Bylokhov
1bae87cde9 8028486: java/awt/Window/WindowsLeak/WindowsLeak.java fails
Reviewed-by: ant, prr
2016-05-29 02:10:14 +03: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
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
Hiroshi Ito
c5ef4d69b9 8158365: List.spliterator should optimize for RandomAccess lists
Reviewed-by: psandoz
2016-05-23 23:12:05 +08:00
Daniel Fuchs
1aceedb6a9 8056285: java/util/logging/CheckLockLocationTest.java java.lang.RuntimeException: Test failed: should have been able to create FileHandler for %t/writable-dir/log.log in writable directory
Added some instrumentation to the test to help a better diagnosis

Reviewed-by: mchung
2016-07-11 11:32:40 +01:00
Brian Burkhalter
465af0b962 8157287: java/nio/file/FileStore/Basic.java failed with "java.nio.file.AccessDeniedException : /zones/zoneone/root "
Ignore AccessDeniedException when testing space attributes.

Reviewed-by: alanb
2016-07-08 16:16:45 -07: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
Dmitry Markov
e28bb07a3d 8080729: [macosx] java 7 and 8 JDialogs on multiscreen jump to parent frame on focus
Reviewed-by: ant, denis
2016-05-13 14:25:29 +03:00
Phil Race
413ba627fd Merge 2016-05-12 11:03:07 -07:00
Michael McMahon
6ce3711133 8156801: java/net/httpclient/security/Driver.java failed with RuntimeException: Non zero return value
Reviewed-by: chegar
2016-05-12 16:06:17 +01:00
Roger Riggs
82ae26a9a8 8155978: Remove HTTP proxy implementation and tests from RMI
Reviewed-by: smarks
2016-05-11 14:01:29 -04:00
Daniel Fuchs
172839f24f 8156153: java/lang/System/LoggerFinder/jdk/DefaultLoggerBridgeTest/DefaultLoggerBridgeTest.java fails with java.lang.RuntimeException
Runs each scenario in its own VM to avoid unwanted interaction and start from a clean slate.

Reviewed-by: mchung
2016-05-11 19:23:58 +02:00
Alexandre Iline
114e7f30f7 8156695: Fix @modules in tests in java/lang/management
As part of JDK-8155993, tests are updated to declare dependencies on jdk.management.

Reviewed-by: mchung
2016-05-10 14:51:29 -07:00
Bhanu Prakash Gopularam
f2dabbdb6a 8062804: IsoFields WEEK_BASED_YEAR and QUARTER_OF_YEAR too lenient
Addded the necessary chck in IsoFields WEEK_BASED_YEAR and QUARTER_OF_YEAR

Reviewed-by: rriggs, scolebourne
2016-05-11 10:28:23 +00:00
Alexandre Iline
e7e64ceea3 8151914: java/util/jar/JarFile/MultiReleaseJar* tests do not declare module dependences
Reviewed-by: chegar
2016-05-10 13:48:07 -07:00
Xueming Shen
b45ea8903e 6328855: String: Matches hangs at short and easy Strings containing \r \n
6192895: java.util.regex.Matcher: Performance issue
6345469: java.util.regex.Matcher utilizes 100% of the CPU
6988218: RegEx matcher loops
6693451: RegEx matcher goes into infinite delay
7006761: Matcher.matches() has infinite loop
8140212: Slow performance of Matcher.find
8151481: j.u.regex.Pattern cleanup
6609854: Regex does not match correctly for negative nested character classes
4916384: CANON_EQ supports only combining character sequences with non-spacing marks
4867170: Pattern doesn't work with composite character in CANON_EQ mode
6995635: CANON_EQ pattern flag is buggy
6728861: ExceptionInInitializerError is caught when the pattern has precomposed character
6736245: A character in Composition Exclusion Table does not match itself
7080302: the normalization in java regex pattern may have flaw

Reviewed-by: rriggs, okutsu, alanb
2016-05-10 21:19:25 -07:00
Weijun Wang
772322c6fa 8156709: Cannot call setSeed on NativePRNG on Mac if EGD is /dev/urandom
Reviewed-by: wetmore
2016-05-11 08:39:36 +08:00
Jaroslav Kamenik
553aa43136 8155795: Optimize Integer/Long.reverse by using reverseBytes
Reviewed-by: redestad, shade
2016-05-10 13:28:00 +02:00
Hamlin Li
26ba99921f 8156002: java/nio/channels/SocketChannel/AdaptSocket.java Fails in Mesos on OSX
Reviewed-by: dfuchs
2016-05-10 15:12:04 +08:00
Pavel Rappo
b962e07463 8087113: Websocket API and implementation
Reviewed-by: chegar
2016-05-09 23:33:09 +01:00
Mandy Chung
36b0cdb85a 8153912: Reconsider StackFrame::getFileName and StackFrame::getLineNumber
Add StackFrame::getByteCodeIndex method. Revised getFileName and getLineNumber method.

Reviewed-by: dfuchs, bchristi
2016-05-09 09:35:57 -07:00
Phil Race
7dd38808b9 Merge 2016-05-09 08:50:20 -07:00
Amy Lu
6f57005359 8156512: Mark several tests from java/nio as intermittently failing
Reviewed-by: alanb
2016-05-09 18:06:57 +08:00
Michael McMahon
1eae872553 8155888: java/net/httpclient/QuickResponses.java intermittently failed with java.util.ConcurrentModificationException
Reviewed-by: chegar
2016-05-09 10:28:24 +01:00
Nishit Jain
880dc078b3 8154295: Currency iso code is int and hence looses the preceeding zero
Reviewed-by: naoto, okutsu, peytoia
2016-05-09 17:46:28 +09:00
Nadeesh TV
4900a83203 8079628: java.time: DateTimeFormatter containing "DD" fails on 3-digit day-of-year value`
Change the definition of 'DD' to match with CLDR

Reviewed-by: rriggs, scolebourne
2016-05-08 07:46:19 +00:00