Commit Graph

3925 Commits

Author SHA1 Message Date
Felix Yang
2a4a941922 8196668: revisit test SunPackageAccess and GrantedSunPackageAccess
Reviewed-by: mchung
2018-03-28 21:57:03 -07:00
Martin Buchholz
4546512c19 8200310: Avoid charset lookup machinery in java.nio.charset.StandardCharsets
Reviewed-by: sherman, ulfzibis
2018-03-28 21:14:06 -07:00
Martin Buchholz
6f37b4cbce 8200116: ConstructInflaterOutput, ConstructDeflaterInput still spamming test logs
End() should always expect to be called eventually

Reviewed-by: sherman, ulfzibis
2018-03-28 21:13:55 -07:00
Brian Burkhalter
6670f60a21 8180410: ByteArrayOutputStream should not throw IOExceptions
Add ByteArrayOutputStream.writeBytes()

Reviewed-by: rriggs, smarks
2018-03-23 15:05:43 -07:00
Dan Zhou
27d6abca83 8202771: Migrate Unicode character tests to JDK Repo
Reviewed-by: naoto
2018-05-23 14:21:14 +08:00
Doug Lea
96814f7a28 8201386: Miscellaneous changes imported from jsr166 CVS 2018-05
Reviewed-by: martin, psandoz
2018-05-22 21:50:45 -07:00
Doug Lea
e4046542ba 8202685: Optimize ArrayList subList replaceAll
Reviewed-by: martin, psandoz, igerasim, redestad, dholmes, smarks, jrose, plevart
2018-05-22 21:46:51 -07:00
Brian Burkhalter
c9e23b5e71 8202076: test/jdk/java/io/File/WinSpecialFiles.java on windows with VS2017
If all other means to obtain the file length fail, fall back to FindFirstFile

Reviewed-by: igerasim, alanb
2018-05-22 16:19:31 -07:00
Jim Laskey
60de3c902e 8200380: String::lines
Reviewed-by: sundar, sherman, rriggs, psandoz
2018-05-22 12:04:05 -03:00
Claes Redestad
55ba3cad8b 8203352: Improve java implementation of Integer/Long.numberOfLeadingZeros
Co-authored-by: Ivan Gerasimov <ivan.gerasimov@oracle.com>
Reviewed-by: martin, igerasim
2018-05-22 14:44:18 +02:00
Valerie Peng
9e8d9fe1ee 8146293: Add support for RSASSA-PSS Signature algorithm
Add RSASSA-PSS key and signature support to SunRsaSign provider

Reviewed-by: wetmore
2018-05-21 23:40:52 +00:00
Jim Laskey
a455811dca 8200436: String::isBlank
Reviewed-by: sundar
2018-05-18 08:43:49 -03:00
Tobias Hartmann
55233a42f3 8199777: Deprecate -XX:+AggressiveOpts
Deprecate -XX:+AggressiveOpts and remove it from testing.

Reviewed-by: kvn, dholmes, shade
2018-03-22 08:39:51 +01:00
Alan Bateman
24b5afda01 8205533: Class.getPackage() fails with InternalError if class is defined to the bootstrap class loader but module is not in the boot layer
Reviewed-by: mchung
2018-06-24 16:25:47 +01:00
David Holmes
95bf19563b 8010319: Implementation of JEP 181: Nest-Based Access Control
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Roger Riggs
49396d51e9 8202292: java/io/FileOutputStream/UnreferencedFOSClosesFd.java fails with "raw fd count wrong"
Reviewed-by: bpb, mchung
2018-06-22 16:06:43 -04:00
Michael McMahon
1d79d38007 8204233: Add configurable option for enhanced socket IOException messages
Reviewed-by: alanb, chegar
2018-06-22 18:10:20 +01:00
Peter Levart
6ec2cfcc49 8202788: Explicitly reclaim cached thread-local direct buffers at thread exit
Add internal TerminatingThreadLocal and use it to free cached thread-local direct buffers and nio-fs native buffers

Reviewed-by: tonyp, alanb
2018-06-22 17:56:55 +02:00
Jesper Wilhelmsson
1155614f99 Merge 2018-03-20 04:36:44 +01:00
Brian Burkhalter
68cf42d465 8180451: ByteArrayInputStream should override readAllBytes, readNBytes, and transferTo
Reviewed-by: bchristi, rriggs, psandoz
2018-03-23 10:09:45 -07:00
Phil Race
cb1ef28563 Merge 2018-03-23 10:02:55 -07:00
Roger Riggs
299b4b7b44 8199756: Simplify language, country, script, and variant property initialization
Reviewed-by: mchung, naoto, alanb
2018-03-23 11:53:11 -04:00
Phil Race
3d9f35c4f5 Merge 2018-03-23 08:49:58 -07:00
Alan Bateman
3bb85f5fc5 8199791: (se) More Selector cleanup
Reviewed-by: redestad, bpb
2018-03-23 14:18:18 +00:00
Brian Burkhalter
37f1b2b1e3 8198753: (dc) DatagramChannel throws unspecified exceptions
Reviewed-by: alanb
2018-03-22 12:29:52 -07:00
Phil Race
f004bcc467 Merge 2018-03-22 11:34:38 -07:00
Paul Sandoz
a2ea38d2c9 8199773: (bf) XXXBuffer:compareTo method is not working as expected
Reviewed-by: alanb
2018-03-22 09:07:08 -07:00
Nishit Jain
8314e06ebc 8196399: Formatting a decimal using locale-specific grouping separators causes ArithmeticException (division by zero)
8199672: ClassCastException is thrown by java.util.Formatter when an NumberFormatProvider SPI is used

Reviewed-by: naoto
2018-03-22 12:59:58 +05:30
Manajit Halder
989515036d 7158623: Should an unfocusable maximized Frame be resizable
Reviewed-by: prr, sveerabhadra
2018-03-21 12:08:16 +05:30
Phil Race
1d92a4dd47 Merge 2018-03-19 10:46:31 -07:00
Patrick Reinhart
4c7f1ac52c 8196298: Add null Reader and Writer
Reviewed-by: bpb, forax, smarks, alanb, rriggs
2018-03-19 09:58:41 -04:00
Krishna Addepalli
00465d6e60 8152974: AWT hang occurrs when sequenced events arrive out of sequence
Reviewed-by: serb, prr, ssadetsky
2018-03-19 12:29:23 +05:30
Roger Riggs
ef24e174a4 8193584: (testbug) TestSocketFactory fails intermittently with ConcurrentModificationException
Reviewed-by: bpb, lancea
2018-03-16 16:17:17 -04:00
Alexandre Iline
771a76dd9e Merge 2018-03-16 03:17:12 -07:00
Alexandre Iline
88af1f11ee 8199616: Fix @module declarations in tier1 tests
Reviewed-by: mchung, alanb
2018-03-16 03:15:35 -07:00
Hamlin Li
d76f461144 8199215: Re-examine getFreePort method in test infrastructure library
Reviewed-by: alanb
2018-03-16 18:15:31 +08:00
Joe Wang
e5a5c2a832 8183554: Add constructors with Charset parameter for FileReader and FileWriter
Reviewed-by: alanb, rriggs, smarks
2018-03-15 14:54:10 -07:00
David Lloyd
acb3103b8f 8188240: Reflection Proxy should skip static methods
Reviewed-by: mchung, sundar, shade, plevart
2018-03-15 12:07:59 +01:00
Claes Redestad
8994d5ad0e 8199647: java/util/Locale/SoftKeys.java fails with OutOfMemoryError again
Reviewed-by: psandoz
2018-03-15 10:41:57 +01:00
Phil Race
f52ea8839e Merge 2018-03-13 09:57:44 -07:00
Ben Walsh
de3604ea0c 8199462: Use Reference.reachabilityFence in direct ByteBuffer methods
Reviewed-by: psandoz, vlivanov, plevart
2018-03-12 16:09:18 -07:00
Phil Race
0cfa66ddce Merge 2018-03-12 09:37:49 -07:00
Claes Redestad
54b1510aa7 8199009: test/jdk/java/util/Locale/SoftKeys.java fails with OutOfMemoryError
Reviewed-by: psandoz, naoto
2018-03-10 02:58:39 +01:00
Sergey Bylokhov
5c55118223 8198406: Test TestAATMorxFont is unstable
Reviewed-by: prr, pnarayanan
2018-03-09 14:42:46 -08:00
Phil Race
ff223cc1ee Merge 2018-03-08 10:18:28 -08:00
Shashidhara Veerabhadraiah
72628783c5 8195738: scroll poistion in ScrollPane is reset after calling validate()
Reviewed-by: serb, ssadetsky
2018-03-08 14:31:54 +05:30
Roger Riggs
8dd0b1f061 8192939: Remove Finalize methods from FileInputStream and FileOutputStream
Reviewed-by: alanb, iris, mchung
2018-10-16 10:55:28 -04:00
Brian Burkhalter
4fe37df932 8212212: (bf) Incorrect path to stream preprocessor source in java.nio Buffer test scripts
Reviewed-by: alanb
2018-10-16 07:49:08 -07:00
Manajit Halder
dd5043a7d6 8190767: if JFrame is maximized on OS X, all new JFrames will be maximized by default
Reviewed-by: serb, kaddepalli
2018-03-07 14:54:46 +05:30
Prem Balakrishnan
b46b19cb58 8160767: [TEST_BUG] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java
Reviewed-by: prr, ssadetsky
2018-03-07 17:05:28 +05:30
Prem Balakrishnan
8bb3dc6619 8196435: Regression automated Test 'java/awt/Mouse/GetMousePositionTest/GetMousePositionWithOverlay.java' fails
Reviewed-by: mhalder, ssadetsky, serb
2018-03-07 16:52:19 +05:30
Alan Bateman
889a041f22 8198928: (so) SocketChannel connect may deadlock if closed at around same time that connect fails
Reviewed-by: bpb, mli
2018-03-07 07:13:55 +00:00
Phil Race
ea6bd4c0ec Merge 2018-03-05 13:11:21 -08:00
Naoto Sato
3d4edcc571 4993841: (str) java.lang.Character should have a toString(int) method
Reviewed-by: martin, rriggs, sherman, smarks
2018-03-05 08:50:47 -08:00
Brian Burkhalter
a131e1668f 8198834: (ch) Enable java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java on linux-x64
Move to using centralized native build and remove obsolete .so files

Reviewed-by: alanb, erikj
2018-03-05 08:27:42 -08:00
Jesper Wilhelmsson
6a37cbc50c Merge 2018-03-02 21:00:12 +01:00
Prahalad Kumar Narayanan
f3ae7d1bd9 8198613: Test cases result in failure or timeout when run with OpenGL backend
Reviewed-by: serb, jdv
2018-03-02 14:39:29 +05:30
Felix Yang
77d0099725 8198821: fix test methods access for test java/text/Normalizer/NormalizerAPITest.java
Reviewed-by: naoto
2018-03-02 00:33:00 -08:00
Martin Buchholz
fa4abe66dd 8198810: URLClassLoader does not specify behavior when URL array contains null
Reviewed-by: alanb, darcy, dholmes
2018-03-01 19:01:34 -08:00
Phil Race
d381c82162 Merge 2018-03-01 08:52:52 -08:00
Joe Wang
5a7aff9897 8137326: Methods for comparing CharSequence, StringBuilder, and StringBuffer
Reviewed-by: rriggs, smarks, sherman, tvaleev
2018-03-01 15:31:04 -08:00
Philipp Kunz
5db337db24 6372077: JarFile.getManifest() should handle manifest attribute name 70 bytes
Reviewed-by: alanb, sherman
2018-03-01 15:50:26 -05:00
Jim Laskey
b4d4d8f66c 8197594: String#repeat
Reviewed-by: smarks, psandoz, plevart, rriggs, redestad
2018-03-01 15:45:51 -04:00
Mandy Chung
3414903aba 8198253: ThreadInfo.from(CompositeData) incorrectly accepts CompositeData with missing JDK 6 attributes
Reviewed-by: dfuchs, jmanson
2018-02-28 17:11:57 -08:00
Jesper Wilhelmsson
3dfe4d61b3 Merge 2018-03-01 01:47:46 +01:00
Krishna Addepalli
c5df5c1f0b 8197808: Test java/awt/Dialog/MakeWindowAlwaysOnTop/MakeWindowAlwaysOnTop.java fails on Windows
Reviewed-by: ssadetsky, prr, serb
2018-02-28 14:29:37 +05:30
Igor Ignatyev
d078a3f091 8190679: java/util/Arrays/TimSortStackSize2.java fails with "Initial heap size set to a larger value than the maximum heap size"
Reviewed-by: dholmes
2018-02-27 21:29:08 -08:00
Alan Snyder
69af907cee 8196322: [macosx] When the screen menu bar is used, clearing the default menu bar should permit AWT shutdown
Reviewed-by: serb
2018-02-27 21:53:06 +00:00
Phil Race
d2e6289c0b Merge 2018-02-26 10:36:34 -08:00
Jesper Wilhelmsson
1739105160 Merge 2018-02-25 04:59:43 +01:00
Chris Yin
3918ed17a5 8196759: Move two java/text/Normalizer tests into OpenJDK
Reviewed-by: naoto
2018-02-27 23:11:26 -08:00
Leonid Mesnik
2471caab08 8197901: Crash during GC when logging level is debug
Reviewed-by: dholmes, coleenp
2018-02-23 13:55:49 -08:00
Shashidhara Veerabhadraiah
f0499d1caa 8129569: [TEST_BUG] Test java/awt/Frame/MaximizedToUnmaximized/MaximizedToUnmaximized.java fails
Reviewed-by: serb, ssadetsky
2018-02-23 09:59:16 +05:30
Jayathirth D V
13999ec96e 8197926: java/awt/dnd/ImageTransferTest/ImageTransferTest.java doesnt close the windows in HiDPI setting
Reviewed-by: prr, serb, psadhukhan
2018-02-22 13:25:43 +05:30
Sergey Bylokhov
7cb9e5821e 8198333: ProblemList should be updated for headless mode
Reviewed-by: psadhukhan, prr
2018-02-21 12:49:00 -08:00
Phil Race
42dc61aad0 Merge 2018-02-16 13:49:07 -08:00
Sergey Bylokhov
7578044e71 8196196: Headful tests should not be run in headless mode
Reviewed-by: prr
2018-02-16 12:24:38 -08:00
Nishit Jain
3f5b571b5a 8060094: java/util/Formatter/Basic.java failed in tr locale
Reviewed-by: naoto
2018-02-26 11:16:24 +05:30
Jesper Wilhelmsson
aa9cf33c1e Merge 2018-02-19 04:50:50 +01:00
Alan Bateman
8f56ea639d 8196830: publicLookup().findVirtual should not return method handle to AccessibleObject.setAccessible
Reviewed-by: mchung, psandoz
2018-02-24 08:26:53 +00:00
Mandy Chung
4bb064c62d 8198249: Remove deprecated Runtime::runFinalizersOnExit and System::runFinalizersOnExit
Reviewed-by: dholmes, alanb, smarks
2018-02-23 12:10:56 -08:00
Roger Riggs
cfe9ad4608 8189330: Cleanup FileDescriptor implementation
Reviewed-by: bpb
2018-02-23 14:26:29 -05:00
Nishit Jain
cff8ccbcf7 8190904: Incorrect currency instance returned by java.util.Currency.getInstance()
Reviewed-by: naoto
2018-02-22 11:52:01 +05:30
Yumin Qi
4ea684bf31 8194154: System property user.dir should not be changed
Cached user.dir so getCanonicalPath uses the cached value.

Reviewed-by: alanb, bpb, rriggs
2018-02-21 14:23:45 -08:00
Paul Sandoz
2ab07cc314 8197944: Condy tests fails on Windows
Reviewed-by: dholmes
2018-03-13 15:29:55 -07:00
Paul Sandoz
4954362d29 8199342: The constant pool forgets it has a Dynamic entry if there are overpass methods
Reviewed-by: lfoltan, acorn
2018-03-08 14:33:57 -08:00
Ekaterina Pavlova
4b55c80b4d 8198924: [Graal] java/lang/StackWalker/LocalsAndOperands.java timeouts with Graal
Reviewed-by: bchristi, mchung
2018-03-12 13:54:55 -07:00
Jesper Wilhelmsson
51ab999e0e Merge 2018-02-13 23:38:34 +01:00
Martin Doerr
eb3ec99500 8196786: [PPC64+s390] ConstantDynamic support
Reviewed-by: psandoz, dsamersoff
2018-02-13 17:38:03 +01:00
Brian Burkhalter
a7b3a19ec4 8191416: (bf) DirectByteBuffer extends MappedByteBuffer, confuses instanceof tests
Change force(), load(), and isLoaded() not to throw UOE if there is no file mapping

Reviewed-by: alanb, rriggs, forax
2018-02-12 08:19:23 -08:00
Doug Lea
f9b19eb874 8195590: Miscellaneous changes imported from jsr166 CVS 2018-02
Reviewed-by: martin, psandoz, dholmes
2018-02-10 09:23:41 -08:00
Doug Lea
b6c2b234ef 8190324: ThreadPoolExecutor should not specify a dependency on finalization
Reviewed-by: martin, psandoz, alanb, rriggs, dholmes
2018-02-10 09:17:53 -08:00
Lance Andersen
987c3a2d87 8190378: Removal of CORBA and Java EE modules
Reviewed-by: rriggs, alanb, mchung, erikj, goetz
2018-02-10 07:06:16 -05:00
Jesper Wilhelmsson
9beff15bed Merge 2018-02-10 09:25:35 +01:00
Ivan Gerasimov
7d7c653abf 8197462: Inconsistent exception messages for invalid capturing group names
8179608: Error in comment in Pattern.java

Reviewed-by: sherman
2018-02-12 21:06:06 -08:00
Jesper Wilhelmsson
8f1e5bc574 Merge 2018-03-02 21:00:12 +01:00
Paul Sandoz
c9757ad448 8196960: Exceptions in ConstantBootstrapsTest.java on SPARC
Reviewed-by: lfoltan
2018-02-07 12:37:30 -08:00
Mandy Chung
9caf4aeb12 8168682: jdk/test/java/lang/ClassLoader/forNameLeak/ClassForNameLeak.java fails with -Xcomp
Reviewed-by: bchristi
2018-02-12 11:40:19 -08:00
Jesper Wilhelmsson
d7dd9d1027 Merge 2018-02-05 23:12:03 +01:00
Martin Buchholz
b3597efef7 8196768: RootLoggerHandlers fails when source tree is read-only
Reviewed-by: dfuchs
2018-02-05 20:20:35 -08:00
Claes Redestad
9f0da6d94f 8196869: Optimize Locale creation
Reviewed-by: psandoz, plevart, naoto
2018-02-08 18:45:30 +01:00
Jesper Wilhelmsson
44ab590f44 Merge 2018-02-05 23:12:03 +01:00
Tobias Hartmann
e5131d5ceb 8195695: NativeLibraryTest.java fails w/ 'Expected unloaded=1 but got=0'
Exclude test from Graal testing.

Reviewed-by: kvn, dholmes, mchung
2018-02-05 07:20:26 +01:00
Amy Lu
2bf1bf3afb 8195981: Move some tests to OpenJDK for jdk_lang test group
Reviewed-by: alanb, mchung
2018-02-05 11:12:09 +08:00
Ivan Gerasimov
831b32b2a9 8196740: Character.digit(int,int) returns wrong value for out of range radix
Reviewed-by: redestad
2018-02-03 21:12:37 -08:00
Brian Burkhalter
073cfe14a5 8166253: (ch) FileLock object can get GC'd and result in unexpected release of file lock
Reviewed-by: alanb, dfuchs, mli, rriggs
2018-02-02 13:44:26 -08:00
Roger Riggs
0b8689b331 8195059: Update java.net Socket and DatagramSocket implementations to use Cleaner
Reviewed-by: chegar, plevart
2018-02-02 14:17:07 -05:00
Phil Race
7052a83930 Merge 2018-02-02 09:04:45 -08:00
Lana Steuck
414e05f6d7 Merge 2018-02-02 01:52:03 +00:00
Paul Sandoz
00b3f917ac 8195694: ConstantBootstraps.invoke does not preserve variable arity
Reviewed-by: jrose
2018-02-01 14:19:04 -08:00
Brian Burkhalter
697c3fc073 8139206: Add InputStream readNBytes(int len)
Reviewed-by: alanb, chegar, plevart, apetcher, rriggs, weijun
2018-02-01 09:40:38 -08:00
Ramanand Patil
317bef9a41 8195837: (tz) Upgrade time-zone data to tzdata2018c
Reviewed-by: coffeys, naoto
2018-01-31 22:55:12 -08:00
Paul Sandoz
2b3d492b43 8196533: Update CondyNestedTest.java to compile jcod file
Reviewed-by: mchung
2018-01-31 17:43:46 -08:00
Jesper Wilhelmsson
c2735a15d7 Merge 2018-02-01 02:05:35 +01:00
Joe Darcy
0b40438ae8 8194070: Update various tests to pass under JDK 11
Reviewed-by: alanb, sherman, psandoz
2018-01-31 11:25:34 -08:00
Paul Sandoz
4b5ffe70d9 8187742: Minimal set of bootstrap methods for constant dynamic
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: jrose, forax
2018-01-31 11:20:36 -08:00
Xueming Shen
2f7bcc872f 8176379: java.util.Base64 mime encoder behaves incorrectly if initialized with a line length of size 1-3
Reviewed-by: rriggs, alanb, psandoz
2018-01-31 10:34:59 -08:00
Sergei Tsypanov
bbb4bcd69d 8196207: Inefficient ArrayList.subList().toArray()
Reviewed-by: martin, psandoz, jrose, redestad
2018-01-30 11:08:50 -08:00
Joe Darcy
35a7cc10b7 8196414: Update ProviderVersionCheck.java to pass on updated JDK versions
Reviewed-by: mullan
2018-01-30 10:42:13 -08:00
Paul Sandoz
30df14bd0a 8195970: Crash passing null to a VarHandle
Reviewed-by: mchung, alanb
2018-01-26 09:35:15 -08:00
Phil Race
aa1aec4b56 Merge 2018-01-30 09:03:47 -08:00
Ivan Gerasimov
b9ecb2e95b 8194412: Adding 256 units of IsoFields.QUARTER_YEARS broken
Reviewed-by: scolebourne, rriggs
2018-01-29 10:48:13 -08:00
Daniel Fuchs
e6c7f041f9 8195096: Exception printed on console with custom LogManager on starting Apache Tomcat
Make sure that loadLoggerHandler for ".handler" is called only from within addLogger

Reviewed-by: mchung
2018-01-26 14:15:09 +00:00
Vyom Tewari
78de84bc1e 8194676: NullPointerException is thrown if ipaddress is not set
Reviewed-by: chegar, rriggs
2018-01-25 16:22:52 +05:30
Amy Lu
6d4be03205 8157903: (prop) move Properties tests into OpenJDK
Reviewed-by: mchung
2018-01-25 14:12:43 +08:00
Paul Sandoz
1a23a6264e 8194238: Trying exceptions in MethodHandles
Reviewed-by: jrose, vlivanov, ahgross
2018-01-24 16:44:31 -08:00
Paul Sandoz
9b54e6d766 8194233: Improve support for array handles
Reviewed-by: jrose, vlivanov, ahgross, rhalade
2018-01-22 13:27:28 -08:00
Michal Vala
8275c3907b 6990210: [TEST_BUG] EventDispatchThread/HandleExceptionOnEDT/HandleExceptionOnEDT.java fails on gnome
Reviewed-by: serb
2018-01-22 08:00:43 -08:00
Ivan Gerasimov
97c8fdb2dd 8175075: Add 3DES to the default disabled algorithm security property
Reviewed-by: xuelei, mullan, rhalade
2018-01-19 11:24:39 -08:00
Phil Race
eb5804b42e Merge 2018-01-19 09:32:10 -08:00
Weijun Wang
da18d08006 8207318: KeyStore#getInstance(File, LoadStoreParameter) does not load the keystore
Reviewed-by: mullan
2018-07-17 22:22:00 +08:00
Jayathirth D V
ef6b063751 8176795: Wrong color drawn when painting translucent colors on volatile images using XRender
Reviewed-by: prr, ceisserer, pnarayanan
2018-01-18 11:22:28 +05:30
Phil Race
73afc1dc4b Merge 2018-01-17 09:08:44 -08:00
Prahalad Narayanan
15ecb4705f 8194489: Incorrect size computation at BandedSampleModel.createDataBuffer()
Reviewed-by: bpb, jdv
2018-01-16 10:49:49 +05:30
Hamlin Li
1de9d061ec 8194284: java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.java fails with java.lang.RuntimeException: CheckRegisterInLog got exception timeout 6480000ms out of range
Reviewed-by: dholmes, rriggs
2018-01-19 15:21:49 +08:00
Lana Steuck
8f528fba93 Merge 2018-01-18 18:58:46 +00:00
Goetz Lindenmaier
0480f69dd5 8194869: [TESTBUG][aix, s390] Adapt tests to platforms
Reviewed-by: mbaesken, simonis, dholmes, serb
2018-01-18 10:26:39 +01:00
Brent Christian
f61a078bd2 8194879: Runtime.Version parses string which does not conform to spec without throwing IAE
Reviewed-by: alanb, iris, rriggs
2018-01-17 16:15:15 -08:00
Mandy Chung
869f9e2ed0 8194554: filterArguments runs multiple filters in the wrong order
Reviewed-by: psandoz, jrose
2018-01-17 15:17:50 -08:00
Doug Lea
d771fc3a6b 8193300: Miscellaneous changes imported from jsr166 CVS 2018-01
Reviewed-by: martin
2018-01-16 18:28:39 -08:00
Doug Lea
c19d18871c 8191483: AbstractQueuedSynchronizer cancel/cancel race
Reviewed-by: martin
2018-01-16 18:24:32 -08:00
Lana Steuck
aad1a3592c Merge 2018-01-16 22:24:20 +00:00
Leo Jiang
707eb1f2c2 8187946: Support ISO 4217 Amendments 163 and 164
Reviewed-by: naoto
2018-01-14 21:46:14 -08:00
Daniel Fuchs
424048c75f 8195138: The asynchronous Http1HeaderParser doesn't handle all line folds correctly
Reviewed-by: chegar
2018-01-16 19:19:03 +00:00
Roger Riggs
99853dbf51 8194929: Unreferenced FileDescriptors not closed
Reviewed-by: alanb
2018-01-16 10:48:58 -05:00
Xueming Shen
b69a95d78d 8194667: Regex: Serialization doesn't work with match flags
Reviewed-by: rriggs
2018-01-12 14:05:42 -08:00
Jesper Wilhelmsson
f4c6bc0030 Merge 2018-02-10 09:25:35 +01:00
Dmitry Samersoff
ac524f2837 8190428: Minimal Dynamic Constant support for AArch64
AArch64 specific code for 8186046

Reviewed-by: aph, psandoz
2018-02-10 09:48:51 +00:00
Phil Race
3e132d770d Merge 2018-01-08 08:53:14 -08:00
Brian Burkhalter
49beab63c8 4358774: Add null InputStream and OutputStream
Reviewed-by: alanb, prappo, reinhapa, rriggs
2018-01-12 11:06:24 -08:00
Naoto Sato
c025944b69 8194148: bcp47u/SymbolsTests.java and FormatTests.java fail on th_TH locale
Reviewed-by: rriggs
2018-01-11 12:47:28 -08:00
Claes Redestad
de4aa804af 8134459: java/util/stream/test/org/openjdk/tests/java/util/stream/WhileOpTest.java timed out
Reviewed-by: psandoz, rriggs
2018-01-10 00:08:46 +01:00
Lana Steuck
c8c8cd7238 Merge 2018-01-04 04:22:28 +00:00
Shashidhara Veerabhadraiah
eb094d01fb 8193468: [PIT][TEST BUG]: java/awt/FileDialog/MoveToTrashTest.java fails on Linux
Reviewed-by: aghaisas, serb
2018-01-03 15:37:35 +05:30
Brian Burkhalter
1209c4bcb3 8193832: Performance of InputStream.readAllBytes() could be improved
Read into a list of fixed-size buffers which are gathered at the end

Reviewed-by: alanb, chegar, plevart, jrose, psandoz
2017-12-22 14:00:03 -08:00
Shashidhara Veerabhadraiah
6d1ca0d85a 8190192: Double click on the title bar no longer repositions the window
Reviewed-by: serb, prr
2017-12-22 11:00:06 +05:30
Chris Hegarty
2c4e89d7a2 8194883: Unhandleable Push Promises should be cancelled
Reviewed-by: dfuchs
2018-01-13 16:47:11 +00:00
Amy Lu
fc48aa8618 8194959: Correct test tag to move bugid from @test to @bug
Reviewed-by: sundar
2018-01-12 14:09:50 +08:00
Paul Sandoz
e1e9023545 8075939: Stream.flatMap() causes breaking of short-circuiting of terminal operations
Reviewed-by: forax, smarks
2017-12-21 13:52:20 -08:00
Paul Sandoz
e6680338c5 8193856: takeWhile produces incorrect result with elements produced by flatMap
Reviewed-by: smarks
2017-12-20 11:40:45 -08:00
Chris Hegarty
7302c9c8c5 8193365: Improve interoperability between HTTP Client's BodyPublisher/BodySubscriber and Flow.Subscriber/Publisher
Reviewed-by: dfuchs
2017-12-21 16:58:51 +00:00
Chris Hegarty
7acb09ea5e 8195823: Buffers given to response body subscribers should not contain unprocessed HTTP data
Reviewed-by: dfuchs, michaelm
2018-01-23 12:23:55 +00:00
Sean Mullan
d3bd8b3ecc 8194307: KeyStore#getInstance with custom LoadStoreParameter succeeds with invalid password
Reviewed-by: weijun, vinnie
2018-01-19 09:49:35 -05:00
Jesper Wilhelmsson
8650bbcf47 Merge 2017-12-20 20:55:07 +01:00
Chris Hegarty
fc13efa1f3 8193698: Null handling in BodyPublisher, BodyHandler, and BodySubscriber convenience static factory methods
Reviewed-by: dfuchs
2017-12-18 10:21:38 +00:00
Michael McMahon
2ef82abdb6 8192966: HttpClient should reuse TCP connection for h2c connections
Reviewed-by: dfuchs
2017-12-19 15:48:49 +00:00
Mandy Chung
64cef020e7 8193780: (ref) Remove the undocumented "jdk.lang.ref.disableClearBeforeEnqueue" system property
Reviewed-by: alanb
2017-12-21 15:04:45 -08:00
Paul Sandoz
fb9db6b02d 8193085: Vectorize the nio Buffer equals and compareTo implementations
Reviewed-by: alanb
2017-12-20 09:14:52 -08:00
Paul Sandoz
038b5f571c 8191913: Bump classfile version number to 55
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Reviewed-by: dholmes, darcy
2017-12-20 09:14:06 -08:00
Stuart Marks
feffd15dc2 8140281: add no-arg Optional.orElseThrow() as preferred alternative to get()
Reviewed-by: alanb, bpb, forax, darcy
2017-12-13 18:47:20 -08:00
Mark Reinhold
0214135fde 8192833: JEP 322: Time-Based Release Versioning
Reviewed-by: erikj, ihse, iris, mchung, psandoz, tbell
2017-12-13 17:28:24 -08:00
Claes Redestad
9aff9cb645 8193128: Reduce number of implementation classes returned by List/Set/Map.of()
8191418: List.of().indexOf(null) doesn't throw NullPointerException

Reviewed-by: smarks, jrose, martin, plevart
2017-12-09 03:33:39 +01:00
Jesper Wilhelmsson
e81038299e Merge 2017-12-08 23:43:25 +01:00
Phil Race
4b727d4f18 Merge 2017-12-13 10:25:38 -08:00
Daniel Fuchs
c8868455fe 8193370: Provide more user friendly defaults for HTTP/2 client settings
Reviewed-by: chegar
2017-12-13 16:16:17 +00:00
Prahalad Narayanan
c0e7592e4e 8188083: NullPointerExcpn-java.awt.image.FilteredImageSource.startProduction JDK-8079607
Reviewed-by: serb, prr, jdv
2017-12-12 14:05:21 +05:30
Shashidhara Veerabhadraiah
72e094dcd4 8146537: TrayIcon Action Listener doesnt work in WIndows 10
Reviewed-by: serb, ssadetsky
2017-12-12 12:43:05 +05:30
Shashidhara Veerabhadraiah
f7d6d96595 8190515: java.awt.Desktop.moveToTrash(File) prompts on Windows 7 but not on Mac
Reviewed-by: serb, prr
2017-12-12 12:31:49 +05:30
Phil Race
ee9c644643 Merge 2017-12-11 10:08:51 -08:00
Semyon Sadetsky
c748c4426d 8177758: Regression in java.awt.FileDialog
Reviewed-by: sveerabhadra, serb
2017-12-08 12:55:21 -08:00
Doug Lea
71a866fe0c 8192944: Miscellaneous changes imported from jsr166 CVS 2017-12-08
Reviewed-by: martin, psandoz, chegar
2017-12-08 15:30:53 -08:00
Jesper Wilhelmsson
7c3a956755 Merge 2017-12-07 10:18:31 +01:00
Nishit Jain
7362d58294 8190278: ClassCastException is thrown by java.util.Scanner when a NumberFormatProvider is used
Reviewed-by: naoto, rriggs
2017-12-13 12:43:38 +05:30
Joe Wang
4f080a83af 8183743: Umbrella: add overloads that take a Charset parameter
Reviewed-by: alanb, rriggs
2017-12-12 11:10:12 -08:00
Naoto Sato
f065141ddc 8176841: Additional Unicode Language-Tag Extensions
8189134: New system properties for the default Locale extensions
8190918: Retrieve the region specific data regardless of language in locale
8191349: Add a new method in j.t.f.DateTimeFormatter to reflect Unicode extensions

Reviewed-by: scolebourne, lancea, rriggs, rgoel, nishjain
2017-12-12 10:21:58 -08:00
Paul Sandoz
72e7a31529 8171826: Comparator.reverseOrder(c) mishandles singleton comparators
Reviewed-by: rriggs
2017-12-12 09:33:35 -08:00
Dora Zhou
2b38340ad7 8210408: Refactor java.util.ResourceBundle:i18n shell tests to plain java tests
Reviewed-by: naoto
2018-11-15 21:53:30 -08:00
Michael McMahon
1b34ea35c9 8213616: URLPermission with query or fragment behaves incorrectly
Reviewed-by: chegar, dfuchs
2018-11-15 11:26:46 +00:00
Martin Balao
7c14ebfcd0 8204142: AWT hang occurs when sequenced events arrive out of sequence in multiple AppContexts
Improvements on the synchronization of SequencedEvent events from different AppContexts

Reviewed-by: serb
2018-11-09 10:34:19 -03:00
Michael McMahon
028f2e14b3 8213189: Make restricted headers in HTTP Client configurable and remove Date by default
Reviewed-by: dfuchs
2018-11-14 14:23:21 +00:00
Jesper Wilhelmsson
f1985b2e7e Merge 2017-12-13 23:06:59 +01:00
Vladimir Kozlov
c11f132abe 8191788: add jdk.internal.vm.compiler to --limit-modules if -Djvmci.Compiler=graal is in the command line
Skip tests which use --limit-modules when Graal is used as JIT compiler.

Reviewed-by: alanb, mchung, dholmes, ccheung, dnsimon
2017-12-13 11:59:55 -08:00
Jesper Wilhelmsson
42d9cdb7a0 Merge 2017-12-08 23:43:25 +01:00
Daniel Fuchs
a87551990a 8191033: Regression in logging.properties: specifying .handlers= for root logger (instead of handlers=) no longer works
The behavior observed for Java 8 is restored

Reviewed-by: martin, mchung
2017-12-08 11:50:39 +00:00
Brian Burkhalter
dd07ad1703 8191872: (fs) UnixNativeDispatcher conditionally compiles in support for high precision timestamps
Remove POSIX conditional compilation and correct stat64 times for macOS

Reviewed-by: alanb, simonis
2017-12-07 08:56:04 -08:00
Alan Bateman
800f9ab58a 8191867: Module attribute in 54.0+ class file cannot contains a requires java.base with ACC_TRANSITIVE or ACC_STATIC_PHASE
Reviewed-by: psandoz, mchung
2017-12-07 16:45:19 +00:00
Phil Race
796aeef46b Merge 2017-12-04 10:12:46 -08:00
Vyom Tewari
d55fdd6c56 8190843: can not set/get extendedOptions to ServerSocket
Reviewed-by: chegar, rriggs
2017-12-04 13:24:00 +05:30
Peter Levart
238ca2e781 8191216: SimpleTimeZone.clone() has a data race on cache fields
Reviewed-by: alanb, naoto
2017-12-12 00:30:57 +01:00
Xueming Shen
3b0e59e8d8 8185582: Update Zip implementation to use Cleaner, not finalizers
Reviewed-by: plevart, rriggs, mchung
2017-12-11 11:45:02 -08:00
Martin Buchholz
ed69a7db9c 8192935: Fix EnumSet's SerializationProxy javadoc
Reviewed-by: smarks, rriggs
2017-12-03 13:06:51 -08:00
Igor Ignatyev
643da5ac9c 8181118: update java/time tests to use RandomFactory from the top level testlibrary
Reviewed-by: rriggs
2017-12-08 11:03:37 -08:00
Daniel Fuchs
eb62b5e51e 8187073: The java.util.logging.Level.findLevel() will not correctly find a Level by it's int value
Reviewed-by: rriggs
2017-12-08 17:40:57 +00:00
Anton Litvinov
0b2a269330 8181659: Create an alternative fix for JDK-8167102, whose fix was backed out
Reviewed-by: prr, serb
2017-12-03 13:21:41 +00:00
Doug Lea
8a51910f8e 8191069: Miscellaneous changes imported from jsr166 CVS 2017-12
Reviewed-by: martin, psandoz
2017-12-02 10:13:18 -08:00
Doug Lea
850b92fa04 8187947: A race condition in SubmissionPublisher
Reviewed-by: martin, psandoz
2017-12-02 10:08:55 -08:00
Doug Lea
eac77274e8 8191937: Lost interrupt in AbstractQueuedSynchronizer when tryAcquire methods throw
Reviewed-by: martin, psandoz
2017-12-02 10:03:41 -08:00
Xueming Shen
fad5094503 8191918: tomcat gzip-compressed response bodies appear to be broken in update 151
Reviewed-by: psandoz
2017-12-01 22:04:03 -08:00
Patrick Reinhart
5eafe731b0 8191706: Add Reader::transferTo(Writer)
Reviewed-by: alanb, bpb, briangoetz
2017-12-06 14:39:15 -08:00
Chris Hegarty
37811b7460 8191494: Refresh incubating HTTP Client
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Michael McMahon <michael.x.mcmahon@oracle.com>
Co-authored-by: Pavel Rappo <pavel.rappo@oracle.com>
Reviewed-by: chegar, dfuchs, michaelm
2017-12-06 11:11:59 -08:00
Sergey Bylokhov
d8efdbc4a2 8183518: Premature deprecation of Event/InputEvent/KeyEvent in Java 9
Reviewed-by: prr, psadhukhan
2017-12-01 17:44:07 -08:00
Paul Sandoz
3e26f1114d 8186961: Class.getFields() does not return fields of previously visited super interfaces/classes
Reviewed-by: mchung, redestad
2017-12-01 17:06:09 -08:00
Roger Riggs
f29e21abb1 8080225: FileInput/OutputStream/FileChannel cleanup should be improved
Reviewed-by: mchung, plevart, bpb
2017-12-01 16:40:08 -05:00
Roger Riggs
2321c5b86c 8189331: java/io/Serializable/maskSyntheticModifier/MaskSyntheticModifierTest.java failed incorrect serialVersionUID
Reviewed-by: lancea
2017-11-30 16:38:31 -05:00
Tobias Hartmann
23424e9e0a 8191360: Lookup of critical JNI method causes duplicate library loading with leaking handler
Unload shared library after lookup to avoid keeping it live.

Reviewed-by: vlivanov, dholmes
2017-12-05 08:27:54 +01:00
Sean Mullan
4da03ba907 8186535: Remove deprecated pre-1.2 SecurityManager methods and fields
Reviewed-by: alanb, coleenp, hseigel, mchung
2017-11-30 07:54:28 -05:00
Calvin Cheung
6feaa2cb69 8191653: Test failures in BootAppendTests - missing jdk.internal.vm.compiler module
Backout the fix for 8190975

Reviewed-by: iklam, kvn
2017-11-22 16:08:39 -08:00
Jesper Wilhelmsson
bc00f6b9b6 Merge 2017-11-25 04:36:43 +01:00
Xueming Shen
97cddabb17 8189611: JarFile versioned stream and real name support
Reviewed-by: psandoz, alanb, mchung, martin
2017-11-29 15:01:16 -08:00
Paul Sandoz
012e103e91 8187237: Need to define the behaviour for 0 and 1 argument method type in StringConcatFactory.makeConcat
8186737: Lookup argument for StringConcatFactory.makeConcat & makeConcatWithConstants cannot have privileges less than PRIVATE

Reviewed-by: mchung
2017-11-29 12:39:59 -08:00
Manajit Halder
5b80b8d7d1 8158366: [macosx] Regression: closed/java/awt/dnd/RecognizedActionTest/RecognizedActionTest.html fails
Reviewed-by: serb, pkbalakr, aghaisas
2017-11-28 17:30:43 +05:30
Phil Race
dcaa7f90ba Merge 2017-11-27 10:35:05 -08:00
Nishit Jain
abef0ce5b3 8191404: Upgrading JDK with latest available LSR data from IANA
Reviewed-by: naoto
2017-11-23 13:21:50 +05:30
Semyon Sadetsky
48508135fe 8189204: Possible NPE in Component::getLocationOnScreen()
Reviewed-by: serb, prr
2017-11-22 13:52:48 -08:00
Alexandre Iline
30b907936b 8191736: replace javah w/ javac in jdk tests
Reviewed-by: serb, jjg
2017-11-22 02:07:08 -08:00
Ekaterina Pavlova
d7f5a6e86e 8190975: [Graal] Tests which run with "--limit-modules java.base" could fail when Graal is used as JIT
Reviewed-by: dholmes, alanb
2017-11-20 14:02:10 -08:00
Mandy Chung
52693f1ca5 8157246: MHs.arrayLength, arrayElementGetter/Setter, arrayConstructor need to specify invocation-time behavior
Reviewed-by: psandoz, rriggs
2017-11-17 08:12:02 -06:00
Michael Dardis
3160d8e270 8190987: Package.getImplementationVersion returns null even if implementation version is non-null
Reviewed-by: mchung, rriggs
2017-11-16 22:51:15 -06:00
Phil Race
fca05b5e6e Merge 2017-11-16 10:45:42 -08:00
Jesper Wilhelmsson
88d610826b Merge 2017-11-16 01:11:32 +01:00
Claes Redestad
433bf8ab65 8184777: Factor out species generation logic from BoundMethodHandle
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: vlivanov
2017-11-16 00:58:50 +01:00
Phil Race
f50b03376b 8186306: Remove pisces from Java2D sources + build
Reviewed-by: serb, neugens
2017-11-14 11:47:49 -08:00
Jesper Wilhelmsson
fdee542113 Merge 2017-11-11 01:21:09 +01:00
Doug Lea
5d5334f305 8189764: Miscellaneous changes imported from jsr166 CVS 2017-11
Reviewed-by: martin, psandoz, dholmes
2017-11-09 16:14:45 -08:00
Doug Lea
e2cbace23d 8189387: ConcurrentLinkedDeque linearizability continued ..
Reviewed-by: martin, psandoz, dholmes
2017-11-09 16:10:46 -08:00
Doug Lea
42ad4ec2dd 8179314: CountedCompleterTest.testForkHelpQuiesce fails with expected:<21> but was:<13>
Reviewed-by: martin, psandoz, dholmes
2017-11-09 16:07:21 -08:00
Doug Lea
f2eb80c063 8190747: ExecutorService/Invoke.java fails intermittently
Reviewed-by: martin, psandoz, dholmes
2017-11-09 16:03:37 -08:00
Brian Burkhalter
1ca74d0d2e 8191025: (ch) Scattering reads to a subsequence of buffers ignores length
Use length parameter instead of the buffer array length

Reviewed-by: rriggs, alanb
2017-11-09 13:30:03 -08:00
Daniel Fuchs
ccdb0ef8e2 8189953: FileHandler constructor throws NoSuchFileException with absolute path
Reviewed-by: mchung
2017-11-09 20:51:37 +00:00
Ramanand Patil
6c99853a4c 8190258: (tz) Support tzdata2017c
8190259: test tck.java.time.zone.TCKZoneRules is broken by tzdata2017c

Reviewed-by: naoto, martin
2017-11-09 14:38:54 +05:30
Phil Race
19a8373625 Merge 2017-11-08 12:27:40 -08:00
Paul Sandoz
cc59ccb7d4 8190974: Parallel stream execution within a custom ForkJoinPool should obey the parallelism
Reviewed-by: martin, tvaleev
2017-11-08 10:27:10 -08:00
Roger Riggs
0e776aa080 8190884: java/lang/Runtime/exec/LotsOfOutput fails intermittently
Reviewed-by: lancea, mchung
2017-11-08 09:18:15 -05:00
Sergey Bylokhov
8fedbd9383 8019816: [TEST_BUG][macosx] closed/java/awt/BasicStroke/DashZeroWidth.java not on EDT
Reviewed-by: prr, azvegint
2017-11-07 14:36:52 -08:00
Chris Hegarty
049184f334 Merge 2018-04-17 18:18:53 +01:00
Chris Hegarty
a3b61fd4c7 8197564: HTTP Client implementation
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Michael McMahon <michael.x.mcmahon@oracle.com>
Co-authored-by: Pavel Rappo <pavel.rappo@oracle.com>
Reviewed-by: chegar, dfuchs, michaelm, prappo
2018-04-17 08:54:17 -07:00
Vivek Theeyarath
97979a53a1 8184692: add Pattern.asMatchPredicate
Reviewed-by: psandoz, rriggs
2018-04-16 11:21:32 -07:00
Alan Bateman
45fb75c85a 8201474: (so) Socket adaptor connect(InetAddress, timeout) succeeds when connection fails
Reviewed-by: bpb
2018-04-14 08:41:42 +01:00
Naoto Sato
1d0e7680e8 8201507: Generate alias entries in j.t.f.ZoneName from tzdb at build time
Reviewed-by: erikj, rriggs
2018-04-13 10:23:01 -07:00
Martin Buchholz
6a099cc68b 8190816: PropertiesTest.sh fails to make $WRITABLEJDK writable
Reviewed-by: naoto, rgoel
2017-11-07 10:02:48 -08:00
Mandy Chung
25032bad54 8164512: Replace ClassLoader use of finalizer with phantom reference to unload native library
Reviewed-by: alanb, bchristi, kbarrett, dholmes, plevart
2017-11-06 17:48:00 -08:00
Roger Riggs
46d230c9cc 8187281: Remove intermittent from OnExitTest
Reviewed-by: lancea
2017-11-06 17:35:40 -05:00
Alan Bateman
7e9984c112 8182742: ClassLoader.getResourceXXX throws NPE when ClassLoader created by defineModulesWithXXX
Reviewed-by: redestad, mchung
2017-12-06 08:36:09 +00:00
Nishit Jain
fa64310889 8187551: MessageFormat.setFormat(int, Format) AIOOBE not thrown when documented
Reviewed-by: naoto, rriggs
2017-12-06 11:21:04 +05:30
Brent Christian
1a819fcd7a 8187222: ClassLoader.getSystemClassLoader not clear if recursive initialization leads to ISE or unspecified error
Reviewed-by: alanb, mchung
2017-12-05 09:44:32 -08:00
Goetz Lindenmaier
9da6eea9fe 8191678: [TESTBUG] Add keyword headful in java/awt and javax tests
Also fix some NPE thrown if run headless.

Reviewed-by: serb
2017-11-21 17:39:04 +01:00
Stuart Marks
f4db9575d1 8177290: add copy factory methods for unmodifiable List, Set, Map
8184690: add Collectors for collecting into unmodifiable List, Set, and Map

Reviewed-by: alanb, briangoetz, dholmes, jrose, rriggs, scolebourne
2017-12-04 11:50:04 -08:00
Jesper Wilhelmsson
b97f1bcb37 Merge 2017-10-30 21:23:10 +01:00
Phil Race
a850cbc5d5 Merge 2017-11-03 10:43:18 -07:00
Brian Burkhalter
95c6c8ce11 8190501: (fs) Incorrect error message parameter in java/nio/file/Files/probeContentType/Basic.java
Replace expectedTypes with expectedTypes[i] in the line in question.

Reviewed-by: alanb
2017-11-03 10:18:27 -07:00
Brian Burkhalter
87eb47a3c8 8190500: (ch) ReadableByteChannelImpl::read and WritableByteChannelImpl::write might not throw ClosedChannelException as specified
Explicitly verify that the channel is open

Reviewed-by: alanb
2017-11-03 10:18:27 -07:00
Phil Race
158e69f6ec Merge 2017-11-03 09:56:02 -07:00
Kumar Srinivasan
105a51b96d 8190287: Update JDK's internal ASM to ASMv6
Reviewed-by: alanb, mchung, sundar
2017-11-02 13:18:23 -07:00
Semyon Sadetsky
c30a1e7cc4 8190230: [macosx] Order of overlapping of modal dialogs is wrong
Reviewed-by: azvegint, dmarkov
2017-11-02 11:03:45 -07:00
Phil Race
aa96056b21 Merge 2017-11-01 10:00:38 -07:00
Brent Christian
f32470d85f 8189319: Add a java.util.Properties constructor that takes an initial capacity
Reviewed-by: martin, mchung, rriggs
2017-10-30 16:16:01 -07:00
Pankaj Bansal
fab3dea711 8159062: [hidpi] DnD on Windows while scaling is non-integer
Reviewed-by: serb, pkbalakr
2017-10-30 15:45:55 +05:30
Roger Riggs
9768149887 8180310: TestSocketFactory null pointer when updating match bytes
Reviewed-by: dfuchs
2017-10-29 18:31:55 -04:00
Sergey Bylokhov
66812b5f48 8186617: The "com.sun.awt.AWTUtilities" class can be dropped in favour of public API
Reviewed-by: azvegint, prr
2017-10-27 14:15:02 -07:00
Phil Race
a569f5293b 8180501: RescaleOp.filter does not document IllegalArgumentException if sizes differ
Reviewed-by: bpb, pnarayanan
2017-10-27 11:29:50 -07:00
Mandy Chung
34c9d598c7 8187089: StringConcatFactory.makeConcat & makeConcatWithConstants should throw StringConcatException if parameter slot count is over 200
Reviewed-by: rriggs, shade
2017-10-26 16:57:35 -07:00
Brian Burkhalter
16b93f1b06 8189775: java/nio/channels/FileChannel/directio/ReadDirect.java failed with NumberFormatException
Clamp the offset so the scattering read remains within the channel.

Reviewed-by: rriggs
2017-10-25 16:13:53 -07:00
Phil Race
62fa58101a Merge 2017-10-25 12:41:24 -07:00
Ujwal Vangapally
6eeb777697 8044122: MBean access to the PID
Added new API getPid for getting process ID

Reviewed-by: mchung, rriggs
2017-11-07 22:05:44 -08:00
Jesper Wilhelmsson
3c76c33dba Merge 2017-11-07 08:47:47 +01:00
Phil Race
05adede5f5 Merge 2017-10-23 13:06:04 -07:00
Pankaj Bansal
6e6996cd6c 8145795: [PIT] java/awt/Window/ScreenLocation/ScreenLocationTest.java fails (can assign Integer.MAX_VALUE to Window dimensions)
Reviewed-by: serb, pkbalakr
2017-10-23 16:55:52 +05:30
Lucy Lu
ec1c3bce45 8164900: Add support for O_DIRECT
Add support for Direct I/O in FileChannel

Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Reviewed-by: alanb, bpb, alanbur, coffeys, aph, clanger, plevart, mli, psandoz, simonis
2017-10-17 16:51:11 -07:00
Naoto Sato
ab49e12b7f 8189291: Test policy should extend the default system policy
Reviewed-by: mchung
2017-10-24 08:56:30 -07:00
Jesper Wilhelmsson
7884ab9ccf Merge 2017-10-30 21:23:10 +01:00
Paul Sandoz
e55a05957d 8186209: Tool support for ConstantDynamic
8186046: Minimal ConstantDynamic support
8190972: Ensure that AOT/Graal filters out class files containing CONSTANT_Dynamic ahead of full AOT support

Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: acorn, coleenp, kvn
2017-09-08 10:46:46 -07:00
Jesper Wilhelmsson
291e5e159d Merge 2017-10-21 01:23:52 +02:00
Jesper Wilhelmsson
843dc3a8ea Merge 2017-10-16 17:03:56 +02:00
Alan Bateman
e4bea042c5 8189264: (sl) ServiceLoader does not wrap Errors thrown by provider classes when running with a security manager
Reviewed-by: mchung
2017-10-14 09:51:25 +01:00
Doug Lea
cae8353ec8 8188575: Miscellaneous changes imported from jsr166 CVS 2017-10
Reviewed-by: martin, psandoz
2017-10-13 18:34:37 -07:00
Doug Lea
dc895e3911 8187941: Add StampedLock stamp inspection methods
Reviewed-by: martin, psandoz
2017-10-13 18:29:21 -07:00
Doug Lea
f8ae408aa9 8188047: Add SplittableRandom.nextBytes
Reviewed-by: martin, psandoz
2017-10-13 18:19:18 -07:00
Doug Lea
925bc58717 8188853: java/util/concurrent/ExecutorService/Invoke.java Assertion failure
Reviewed-by: martin, psandoz, dholmes
2017-10-13 18:12:54 -07:00
Doug Lea
10dded5f7f 8188900: ConcurrentLinkedDeque linearizability
Reviewed-by: martin, psandoz
2017-10-13 18:07:47 -07:00
Jesper Wilhelmsson
947fc09db0 Merge 2017-10-14 00:19:29 +02:00
Alan Bateman
2abb1c7d7f 8186738: (sl) ServiceLoader::stream doesn't update cache
Reviewed-by: mchung
2017-10-13 14:17:10 +01:00
Claes Redestad
81b7f75837 8188869: jdk9/10 reject zip/jar files where seconds value of timestamp is out of supported range 0 - 59
Reviewed-by: sherman, alanb
2017-10-12 16:00:29 +02:00
Brian Burkhalter
b890c3ce83 8147615: (fc) FileChannelImpl has no finalizer
Add a cleaner to close parent-less FileChannels

Reviewed-by: alanb, rriggs
2017-10-10 09:55:14 -07:00
Frank Yuan
e92da5e381 8187700: SetAuthenticator tests should handle the proxy port
Reviewed-by: dfuchs
2017-10-09 17:37:15 +08:00
Doug Lea
c3664b7f38 8186056: Miscellaneous changes imported from jsr166 CVS 2017-09
Reviewed-by: martin, psandoz
2017-10-03 14:00:00 -07:00
Charles Munger
229cce5f44 8186265: Make toString() methods of "task" objects more useful
Reviewed-by: martin, psandoz, rriggs, dholmes, darcy
2017-10-03 13:55:05 -07:00
Doug Lea
d9d91c1cc4 8186171: HashMap: Entry.setValue may not work after Iterator.remove() called for previous entries
Reviewed-by: martin, psandoz
2017-10-03 13:45:11 -07:00
Doug Lea
76db7c6b61 8187607: [Testbug] Atomic*FieldUpdaterTest.checkPrivateAccess uses nested classes
Reviewed-by: martin, psandoz, dholmes
2017-10-03 13:41:55 -07:00
Doug Lea
c6e3667228 8187408: AbstractQueuedSynchronizer wait queue corrupted when thread awaits without holding the lock
Reviewed-by: martin, psandoz, dholmes
2017-10-03 13:37:01 -07:00
Mandy Chung
5d986605ca 8186050: StackFrame should provide the method signature
Reviewed-by: alanb, bchristi, forax, plevart
2017-09-29 11:33:08 -07:00
Paul Sandoz
999343e352 8187688: Additional tests for MethodHandle.invokeWithArguments
Reviewed-by: redestad
2017-09-27 10:24:40 -07:00
Vyom Tewari
99b202b398 8185072: network006 times out in many configs in JDK10-hs nightly
Reviewed-by: chegar, rriggs
2017-09-26 20:34:10 +05:30
Chris Hegarty
b98d0bda76 8181176: java/net/httpclient/websocket/ConnectionHandover.java times out
Reviewed-by: coffeys
2017-09-26 10:20:35 +01:00
Hamlin Li
9f1f9587cb 8187376: test issue in java/lang/invoke/VarHandles/VarHandleBaseTest.java
Reviewed-by: psandoz
2017-09-26 12:47:49 +08:00
John R Rose
f98aab0db9 8185993: MethodHandle.invokeWithArguments jumbo-arity
Reviewed-by: psandoz, vlivanov
2017-09-22 15:28:16 -07:00
Amy Lu
f22dd8323b 8184329: Refactor java/lang/ClassLoader shell tests to java
Reviewed-by: mchung
2017-09-22 16:38:54 +08:00
Felix Yang
300988fb02 8085875: java/net/DatagramSocket/PortUnreachable.java fails intermittently: Address already in use
Reviewed-by: msheppar, clanger
2017-09-21 20:05:46 -07:00
Felix Yang
e634950b41 8187026: Remove intermittent key from java/net/httpclient/http2/BasicTest.java
Reviewed-by: chegar
2017-09-21 19:48:32 -07:00
Weijun Wang
1e6e9203c4 8186884: Test native KDC, Java krb5 lib, and native krb5 lib in one test
Reviewed-by: asmotrak
2017-09-21 16:29:54 +08:00
Xueming Shen
02b9452ed3 8186464: ZipFile cannot read some InfoZip ZIP64 zip files
Reviewed-by: martin
2017-09-20 16:41:54 -07:00
Ujwal Vangapally
96d0817455 8185003: JMX: Add a version of ThreadMXBean.dumpAllThreads with a maxDepth argument
Added two new API's to limit the stack trace depth

Reviewed-by: mchung, dfuchs, rriggs, egahlin
2017-10-05 01:31:53 -07:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Manajit Halder
a1d4869f84 8163265: [macosx] numpad 0 instead of VK_0
Reviewed-by: serb, azvegint
2017-10-19 13:52:37 +05:30
Phil Race
8f0f21d997 Merge 2017-10-17 14:33:32 -07:00
Phil Race
a9cb8eb350 8080084: java/awt/Graphics2D/DrawString/DrawStringCrash.java fails with G1 GC
Reviewed-by: ssadetsky, pnarayanan
2017-10-10 12:15:25 -07:00
Phil Race
82040f1fb3 Merge 2017-10-09 11:38:46 -07:00
Dmitry Markov
513abd0c08 8155197: Focus transition issue
Reviewed-by: serb, ssadetsky, aivanov
2017-10-07 15:58:45 +01:00
Phil Race
1c89e3aa56 Merge 2017-09-28 09:13:27 -07:00
Pankaj Bansal
b8ca97f45c 8154468: [TEST_BUG] java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java
Reviewed-by: serb, ssadetsky
2017-09-25 16:12:49 +05:30
Pankaj Bansal
6b7c509a0d 8081311: [TEST_BUG] java/awt/ComponentOrientation/WindowTest.java does use deprecated applyResourceBundle
Reviewed-by: serb, ssadetsky
2017-09-25 16:06:13 +05:30
Pankaj Bansal
94a925b4f3 6857809: [TEST_BUG] java/awt/Component/PrintAllXcheckJNI/PrintAllXcheckJNI.java fails in jdk7 b64 pit build
Co-authored-by: Dmitry Cherepanov <dcherepanov@azul.com>
Reviewed-by: serb, ssadetsky
2017-09-25 15:57:43 +05:30
Naoto Sato
ec4b6a477f 8202088: Japanese new era implementation
Reviewed-by: scolebourne, rriggs, nishjain, weijun
2017-08-09 14:54:37 -07:00
Stuart Marks
7d547d0ee4 8174109: Better queuing priorities
Reviewed-by: chegar, dfuchs, rriggs, alanb, robm, rhalade, jeff, ahgross
2017-08-02 10:34:35 -07:00
Valerie Peng
b3f1165f7d 8181048: Refactor existing providers to refer to the same constants for default values for key length
Reviewed-by: mullan, ahgross
2017-07-13 20:41:59 +00:00
Chris Dennis
58faa32cfe 8178117: Add public state constructors for Int/Long/DoubleSummaryStatistics
Reviewed-by: psandoz, bpb, briangoetz
2017-04-11 17:25:09 -04:00