Commit Graph

610 Commits

Author SHA1 Message Date
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
Chris Yin
bc690b263b 8196770: Add JNDI test com/sun/jndi/ldap/blits/AddTests/AddNewEntry.java
Reviewed-by: vtewari, rriggs
2018-02-13 12:26:22 +08:00
Chris Yin
a0382a29e5 8195976: Add JNDI test com/sun/jndi/dns/AttributeTests/GetAny.java
Reviewed-by: vtewari, rriggs, alanb, jjiang, xiaofeya
2018-02-13 12:19:37 +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
Robin Westberg
69c57791a4 8193308: Disallow installing user signal handlers for SIGBUS on OSX
Reviewed-by: stuefe, dholmes
2018-02-06 15:48:50 +01: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
Alexandre Iline
0279b2d49a Merge 2018-02-08 06:19:24 -08:00
Brian Burkhalter
b44023eb8d 8197141: Add java/nio/file/WatchService/LotsOfCancels.java to ProblemList on Solaris
Reviewed-by: rriggs
2018-02-08 10:54:01 -08:00
Claes Redestad
9f0da6d94f 8196869: Optimize Locale creation
Reviewed-by: psandoz, plevart, naoto
2018-02-08 18:45:30 +01:00
Adam Petcher
8dcabfdf5f 8196215: sun/security/util/Resources/customSysClassLoader/MessageFormatting.java failed on ar_SA locale
Fixing a minor bug in a test related to policy parser message formatting

Reviewed-by: mullan, xuelei
2018-02-08 10:06:57 -05:00
Alexandre Iline
ca8a2aceed 8178342: Missing @modules in jdk/jdk/nio/zipfs
Reviewed-by: mchung
2018-02-08 06:16:49 -08:00
Weijun Wang
48aad3bd2f 8196823: jarsigner should not create a signed jar if the signing fails
Reviewed-by: mullan, alanb
2018-02-08 11:44:21 +08:00
Adam Petcher
683817de43 8194251: Deadlock between UsageTracker and System.getProperty() when using a malformed security policy
Disable localization of error messages produced during policy file parsing

Reviewed-by: mchung, mullan
2018-02-07 09:06:43 -05: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
89c2e03b1d Merge 2018-02-02 10:32:59 -08:00
Brian Burkhalter
92ee8dfe8a 8196622: Add java/nio/Buffer/EqualsCompareTest.java to ProblemList
Reviewed-by: alanb, psandoz
2018-02-02 09:18:16 -08:00
Phil Race
7052a83930 Merge 2018-02-02 09:04:45 -08:00
Srinivas Dama
1335ebada2 8011697: ScriptEngine "js" randomly means either "rhino" or "nashorn", but should instead select one
Sort ScriptEngineFactory by name so that same engine is retrieved across all OS

Reviewed-by: alanb, sundar
2018-02-02 23:21:12 +05:30
Pankaj Bansal
f2a5dad023 8196443: javax/swing/JList/BasicListTest.java has invalid tag
Reviewed-by: psadhukhan, ssadetsky
2018-02-02 17:02:45 +05:30
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
Paul Sandoz
5dc2184391 8196583: Update jib and test jtreg version to 4.2 b12
Reviewed-by: mchung, lfoltan
2018-02-01 11:24:39 -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
Pankaj Bansal
5e9d4e4eaf 7007967: DefaultRowSorter: incorrect sorting due to not updating comparator cache
Reviewed-by: serb, jdv
2018-02-01 16:38:25 +05:30
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
Phil Race
7baa56621e 8196468: Client jtreg ProblemList updates
Reviewed-by: serb
2018-01-31 15:36:44 -08:00
Xueming Shen
fec9d472e3 8193802: NullPointerException from JarFileSystem.getVersionMap()
Reviewed-by: mchung
2018-01-31 14:21:52 -08: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
Xueming Shen
46d5554295 8166339: Code conversion working behavior was changed for x-IBM834
Reviewed-by: coffeys
2018-01-31 08:42:59 -08:00
Amy Lu
967599181a 8196211: Move two sun/nio/cs tests into OpenJDK
Reviewed-by: psandoz
2018-01-31 12:04:53 +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
Jayathirth D V
e4d034cf9a 8191023: PngReader throws NegativeArraySizeException when keyword length exceeds chunk size
Reviewed-by: serb, pnarayanan
2018-01-30 11:53:00 +05:30
Phil Race
056c5059ae 8193483: Update client-libs ProblemList.txt
Reviewed-by: serb
2018-01-26 15:38:18 -08:00
Semyon Sadetsky
01a0105416 8189201: [macosx] NotSerializableException during JFrame with MenuBar serialization
Reviewed-by: serb, prr
2018-01-26 10:49:37 -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
Andrey Nazarov
15541c4818 8179294: several langtools tests depend on jar, jlink, javac but do not declare that dependency
Reviewed-by: iignatyev
2018-01-26 16:20:14 -08:00
Andrey Nazarov
7bd0087f96 8186009: tools launcher test AddExportsAndOpensInManifest.java fails intermittently: AccessDeniedException
Unique jar file names for every test case

Reviewed-by: alanb
2018-01-26 12:16:08 -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
Weijun Wang
15ac25be9d 8177398: Exclude dot files ending with .conf from krb5.conf's includedir
Reviewed-by: mullan
2018-01-26 09:37:10 +08:00
Sibabrata Sahoo
4567ed7c3e 8194486: Several krb5 tests failed in Mac
Several tests failed due to improper host service

Reviewed-by: weijun
2018-01-25 05:57:22 -08: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
John Jiang
7e5577a6c1 8186098: sun/security/pkcs11/KeyStore/SecretKeysBasic.sh failed due to libnss3 version cannot be parsed
Improves the approach on parsing lib version

Reviewed-by: weijun, xuelei
2018-01-24 23:01:57 -08:00
Amy Lu
6d4be03205 8157903: (prop) move Properties tests into OpenJDK
Reviewed-by: mchung
2018-01-25 14:12:43 +08:00
Andrey Nazarov
739ca33412 8161348: Several tools/jlink tests failed in "-Xcomp" mode due to time out
Reviewed-by: alanb
2018-01-24 16:59:08 -08:00
Paul Sandoz
1a23a6264e 8194238: Trying exceptions in MethodHandles
Reviewed-by: jrose, vlivanov, ahgross
2018-01-24 16:44:31 -08:00
Goetz Lindenmaier
8dff4034fd 8195824: tools/launcher/HelpFlagsTest.java fails with java.lang.AssertionError
Also re-enable test.

Reviewed-by: dholmes, ksrini
2018-01-23 08:26:42 +01:00
Joe Darcy
7a13702c48 8195987: Problem list tools/launcher/HelpFlagsTest.java on windows
Reviewed-by: dholmes
2018-01-22 23:06:29 -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
724d1916fe 8014628: Support AES Encryption with HMAC-SHA2 for Kerberos 5
Reviewed-by: mullan
2018-01-22 12:00:41 +08:00
Goetz Lindenmaier
c1700dddf5 8195663: Java launcher HelpFlagsTest.java fails with java.lang.AssertionError
Reviewed-by: ksrini, dholmes
2018-01-19 15:05:18 -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
Jayathirth D V
a559c8b653 8191174: PngReader throws IllegalArgumentException because ScanlineStride calculation logic is not proper
Reviewed-by: serb, bpb, pnarayanan
2018-01-17 10:58:22 +05:30
Goetz Lindenmaier
22762d1cdc 8189102: All tools should support -?, -h and --help
Reviewed-by: kvn, jjg, weijun, alanb, rfield, ksrini
2018-01-16 08:48:34 +01: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
John Jiang
284bf59656 8195667: ProblemList PKCS11 tests Secmod/AddTrustedCert.java and tls/TestKeyMaterial.java due to JDK-8180837
Puts sun/security/pkcs11/Secmod/AddTrustedCert.java and sun/security/pkcs11/tls/TestKeyMaterial.java into ProblemList

Reviewed-by: weijun
2018-01-17 20:07:50 -08:00
John Jiang
94ecb77665 8194864: Outputs more details for PKCS11 tests if the NSS lib version cannot be determined
It outputs the lib content if the lib version cannot be parsed

Reviewed-by: xuelei
2018-01-17 18:34:50 -08: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
Hamlin Li
39ef73acf1 8195478: sun/text/resources/LocaleDataTest.java fails with java.lang.Exception
Reviewed-by: naoto, rgoel
2018-01-18 11:48:56 +08:00
Martin Buchholz
1655b15477 8194960: Add a test for trust manager and cacerts keystore sanity
Reviewed-by: weijun
2018-01-11 20:19: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
Amit Sapre
9ed2fdbe3c 8179700: Exceptions thrown in StartManagementAgent.java
Removed Test case entry from problemList.txt

Reviewed-by: ysuenaga
2018-01-16 20:56:01 +05:30
Amit Sapre
9820ed61cd 8175542: JMX: Not enough JDP packets received
Fixed test case wrongly reporting timeout failures.

Reviewed-by: dholmes, hb
2018-01-16 12:38:21 +05:30
Mandy Chung
bb285a789a 8191350: jdk/internal/reflect/CallerSensitive/CheckCSMs.java test fails when -Xmx512m set
Reviewed-by: alanb
2018-01-14 16:42:47 -08:00
Gary Adams
4c078f48da 8031482: Some jcmds generate output with a \n as a separator rather than \r\n on Windows
Reviewed-by: cjplummer, sspitsyn, dholmes
2018-01-13 18:33:35 -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
Parvathi Somashekar
ceb48aba9b 8196308: Update tests AllLineLocations and ClassesByName to use TestScaffold instead of JDIScaffold
This is a subtask of JDK-4916621: update tests still using JDIScaffold to us TestScaffold instead.

Reviewed-by: sspitsyn, gthornbr
2018-02-12 16:08:33 -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
Parvathi Somashekar
cf61647c30 8193150: Create a jtreg version of the test from JDK-8187143
Create a new jtreg test based on the test attached to the bug and add it to the ProblemsList.

Reviewed-by: sspitsyn, cjplummer
2018-02-09 09:56:05 -08:00
Jayathirth D V
0255b84ad3 8191073: JpegImageReader throws IndexOutOfBoundsException when trying to read image data from tables-only image
Reviewed-by: bpb, pnarayanan
2018-01-10 12:45:14 +05:30
Phil Race
3e132d770d Merge 2018-01-08 08:53:14 -08:00
Felix Yang
46c4af28a4 8194724: Problem list java/net/httpclient/SplitResponseSSL.java
Reviewed-by: chegar
2018-01-08 07:13:27 -08:00
Jesper Wilhelmsson
fb8bca78ee Merge 2018-01-05 22:02:20 +01: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
John Jiang
6fc52a47f9 8194257: javax/net/ssl/compatibility/Compatibility.java should be updated for JDK 6 after JDK-8174748
Marks some of AES_256 and AES_128 cipher suites are JDK 6 enabled

Reviewed-by: xuelei
2018-01-09 18:36:31 -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
John Jiang
8918acdc7a 8189760: sun/security/ssl/CertPathRestrictions/TLSRestrictions.java failed with unexpected Exception intermittently
Adds synchronization to make sure the server exception is available

Reviewed-by: xuelei
2018-01-04 19:58:45 -08: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
Randy Crihfield
7c5dbce44b 8192837: Need new test for release info file
Detect when OpenJDK is built with ClosedJDK elements

Reviewed-by: erikj, dholmes, martin
2018-01-02 09:56:53 -08:00
Jayathirth D V
8df5a77e73 8190997: PNGImageReader throws NullPointerException when PLTE section is missing
Reviewed-by: serb, bpb, pnarayanan
2017-12-26 13:38:31 +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
Kumar Srinivasan
653c0a825e 8194287: tools/launcher/RunpathTest.java fails with java.lang.NullPointerException
8194286: tools/launcher/FXLauncherTest.java fails with java.lang.UnsatisfiedLinkError

Reviewed-by: rriggs
2018-01-12 10:05:00 -08:00
Krishna Addepalli
62777c86cd 8194044: Regression manual Test javax/swing/JFileChooser/8067660/FileChooserTest.java fails
Reviewed-by: psadhukhan, jdv, ssadetsky
2018-01-12 14:01:52 +05:30
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
Sergey Bylokhov
0110c9dc60 8193673: Regression manual Test javax/swing/JFileChooser/6515169/bug6515169.java fails
Reviewed-by: erikj, psadhukhan
2018-01-10 07:21:33 -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
Abhijit Saha
22b4fae438 Merge 2018-01-17 07:09:03 +00:00
Abhijit Saha
f96c816c07 Merge 2018-01-12 15:05:35 -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
Mandy Chung
dc5bb8b61b 8194229: tools/jmod/JmodTest.jtr fails when no privilege to create sym link on windows
Reviewed-by: alanb
2018-01-18 16:15:16 -08: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
Amy Lu
7e508927f9 8194662: Problem list com/sun/jndi/ldap/LdapTimeoutTest.java
Reviewed-by: dholmes
2018-01-08 11:20:20 +08:00
Amy Lu
ad9cd38dc8 8194666: ProblemList update for bugid associated with PreferredKey.java, ConcurrentHashMapTest and SSLSocketParametersTest.sh
Reviewed-by: xuelei
2018-01-08 10:15:21 +08: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
David Holmes
7cd32cad89 8193838: Update jtreg requiredVersion to 4.2 b11 for JDK 11 and 12 support
Reviewed-by: alanb, sspitsyn
2017-12-20 22:36:21 -05: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
Alan Bateman
b05129a6e2 8193503: javah launcher was not removed by JDK-8191054
Reviewed-by: erikj, darcy
2017-12-14 12:36:37 +00:00
Weijun Wang
b01627c0e4 8192988: keytool should support -storepasswd for pkcs12 keystores
Reviewed-by: mullan
2017-12-14 20:19:34 +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
Brent Christian
cbe050e931 8193460: Take tools/launcher/TestXcheckJNIWarnings.java back off the ProblemList
Reviewed-by: mchung, psandoz
2017-12-13 11:43:57 -08: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
Abdul Kolarkunnu
fd4c8197ab 8191803: [TEST_BUG] : sanity/client/SwingSet/src/ProgressBarDemoTest.java failed with "Wait "greater then 1349" state to be reached
Reviewed-by: serb, psadhukhan
2017-12-13 13:27:45 +05:30
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
Laurent Bourgès
5f530a331b 8191814: Marlin rasterizer spends time computing geometry for stroked segments that do not intersect the clip
Upgrade to Marlin 0.8.2 providing efficient path clipping (Stroker and Filler)

Reviewed-by: prr, serb
2017-12-11 21:14:43 +01:00
Phil Race
ee9c644643 Merge 2017-12-11 10:08:51 -08:00
Sergey Bylokhov
419e35e549 8178401: Various audio files writers do not close file streams properly
Reviewed-by: prr
2017-12-10 00:08:42 -08:00
Phil Race
1f47a6a31c 8193211: Update jtreg TEST.groups and ProblemList for client-libs
Reviewed-by: psadhukhan
2017-12-08 13:15:19 -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
Parvathi Somashekar
2486e0815b 4916621: Update those still using JDIScaffold to use TestScaffold instead
Update remaining tests using JDIScaffold to using TestScaffold instead.

Reviewed-by: sspitsyn, cjplummer
2018-02-16 11:22:53 -08:00
Pankaj Bansal
2940eb8a25 8191436: ListSelectionModel.setSelectionMode() underspecified
Reviewed-by: serb, ssadetsky
2017-12-08 15:57:30 +05:30
Prasanta Sadhukhan
81c1d53cdb 8191639: NPE from BasicListUI.Actions.getNextPageIndex
Reviewed-by: serb, ssadetsky
2017-12-08 10:03:07 +05:30
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
Rajan Halade
ac36725e20 8189131: Open-source the Oracle JDK Root Certificates
Integration for JEP 319: Root Certificates

Reviewed-by: mullan, simonis, jnimeh, alanb
2017-12-12 19:20:39 -08:00
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
Martin Balao
f1212e26c3 8165996: PKCS11 using NSS throws an error regarding secmod.db when NSS uses sqlite
Reviewed-by: weijun
2017-12-13 01:29:58 +08: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
Brent Christian
276093653a 8190984: tools/launcher/TestXcheckJNIWarnings.java WARNING was found in the output
Reviewed-by: dholmes, mchung
2017-12-12 21:46:06 -05:00
Brent Christian
eb417da953 8193271: ProblemList tools/launcher/TestXcheckJNIWarnings.java
Reviewed-by: darcy
2017-12-08 13:04:43 -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
Weijun Wang
67205081ec 8192987: keytool should remember real storetype if it is not provided
Reviewed-by: mullan
2017-12-08 09:40:14 +08:00
Mandy Chung
f296f0cfbc 8192945: Need stable sort for MODULES entry in the release file
Reviewed-by: alanb, redestad
2017-12-07 09:23:15 -08: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
Harsha Wardhana B
c8bf23d93a 8192909: Invalid username or password in HashedPasswordFileTest.java
Reviewed-by: clanger, dfuchs
2017-12-05 21:26:11 +05:30
Harsha Wardhana B
3af68346dc 8192909: Invalid username or password in HashedPasswordFileTest.java
Reviewed-by: clanger, dfuchs
2017-12-05 21:26:11 +05:30
Sergey Bylokhov
267856d100 8189656: The Windows L&F should be moved out from the shared folder
Reviewed-by: prr, psadhukhan, erikj
2017-12-04 16:14:29 -08: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
Brent Christian
a820e5eaa8 8193271: ProblemList tools/launcher/TestXcheckJNIWarnings.java
Reviewed-by: darcy
2017-12-08 13:04:43 -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
Xue-Lei Andrew Fan
82bf0799c6 8148421: Transport Layer Security (TLS) Session Hash and Extended Master Secret Extension
Co-authored-by: Martin Balao <mbalao@redhat.com>
Reviewed-by: jnimeh, ahgross, rhalade, wetmore
2017-12-08 16:41:30 +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
Jesper Wilhelmsson
e77f4f9c55 Merge 2017-12-02 06:51:10 +01: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
Athijegannathan Sundararajan
b93586c51e 8192986: Inconsistent handling of exploded modules in jlink
Reviewed-by: redestad, jlaskey
2017-12-08 20:46:40 +05:30
Roger Riggs
2321c5b86c 8189331: java/io/Serializable/maskSyntheticModifier/MaskSyntheticModifierTest.java failed incorrect serialVersionUID
Reviewed-by: lancea
2017-11-30 16:38:31 -05:00
Aleksei Efimov
73d033cf9f 8186441: Change of behavior in the getMessage () method of the SOAPMessageContextImpl class
Reviewed-by: lancea
2017-11-30 18:07:41 +00: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
Jesper Wilhelmsson
48d81c1e0c Merge 2017-12-02 06:51:10 +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
Chris Hegarty
a2000f8720 8179424: Remove terminally deprecated sun.reflect.Reflection.getCallerClass
Reviewed-by: alanb, dfuchs, dholmes, lancea, mchung, rriggs
2017-12-22 15:55:29 +00:00
Jesper Wilhelmsson
d417fc4af1 Merge 2017-12-21 00:07:38 +01:00
Jesper Wilhelmsson
4db5d786b7 Merge 2017-12-15 16:54:17 +01:00
Yasumasa Suenaga
b25c9ddbae 8165736: Error message should be shown when JVMTI agent cannot be attached
Reviewed-by: sspitsyn, dholmes
2017-11-29 09:26:58 +09:00
Harsha Wardhana B
46f665881f 5016517: Replace plaintext passwords by hashed passwords for out-of-the-box JMX Agent
Reviewed-by: rriggs, dfuchs, mchung
2017-11-28 21:04:42 +05:30
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
Phil Race
625c3fd013 Merge 2017-11-29 09:47:02 -08:00
Xueming Shen
bc5a87988c 8186087: jar tool fails to create a multi-release jar when validating nested classes
Reviewed-by: psandoz
2017-11-29 09:25:25 -08:00
Phil Race
586b13cdb6 Merge 2017-11-29 09:07:01 -08:00
John Jiang
f8aaf97179 8186057: TLS interoperability testing between different Java versions
An interop test for checking the compatibility among different Java versions.

Reviewed-by: asmotrak
2017-11-28 22:19:34 -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
Pankaj Bansal
360ce25e95 8190861: [TESTBUG] javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentSwing.java is wrong
Reviewed-by: serb, psadhukhan
2017-11-28 16:27:23 +05:30
Phil Race
dcaa7f90ba Merge 2017-11-27 10:35:05 -08:00
Sreeprakash Sreedharan
43c38bdc16 8176072: READING attributes are not available on TSF
Reviewed-by: ssadetsky
2017-11-24 13:18:36 +05:30
Sergey Bylokhov
9db3cf346c 8191384: WaveFloatFileReader never closes the data stream
Reviewed-by: amenkov
2017-11-23 23:05:52 -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
Jayathirth D V
721c453bfd 8191431: Reading multiple PNG images with unique IDAT chunk positions will cause IIOException
Reviewed-by: psadhukhan, pnarayanan
2017-11-23 10:44:29 +05:30
Semyon Sadetsky
48508135fe 8189204: Possible NPE in Component::getLocationOnScreen()
Reviewed-by: serb, prr
2017-11-22 13:52:48 -08:00
Prasanta Sadhukhan
e27e8b9e39 8191428: Regression: Swing button label wrapping with hidpi
Reviewed-by: serb, ssadetsky
2017-11-22 15:48:15 +05:30
Alexandre Iline
30b907936b 8191736: replace javah w/ javac in jdk tests
Reviewed-by: serb, jjg
2017-11-22 02:07:08 -08:00
Jesper Wilhelmsson
83719bc13b Merge 2017-11-22 16:12:05 +01:00
Pankaj Bansal
8a81d5f700 8190348: [TESTBUG] Test javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentCanvas.java fails
Reviewed-by: serb, psadhukhan
2017-11-22 12:05:06 +05:30
Pankaj Bansal
cc0cb9660d 8159142: [hidpi] Visible artifacts in sun/java2d/SunGraphics2D/DrawImageBilinear.java
Reviewed-by: serb, prr, pnarayanan
2017-11-22 11:52:59 +05:30
Rob McKenna
e8ff1270bc 8189646: sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java failed with "java.net.SocketTimeoutException: Read timed out"
Reviewed-by: coffeys
2017-11-21 21:01:23 +00:00
Alexandre Iline
d29688b6df 8191616: [TEST_BUG] : sanity/client/SwingSet/src/SliderDemoTest.java: Failed with TimeoutExpiredException: Wait "Wait till Slider attains the specified state."
Reviewed-by: serb
2017-11-20 15:05:10 -08:00
Sergey Bylokhov
beb9278561 5031664: Increase thread safety of EventListenerList
Reviewed-by: azvegint
2017-11-20 14:49:23 -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
Krishna Addepalli
35a68b5ca0 8178430: JMenu in GridBagLayout flickers when label text shows "..." and is updated
Reviewed-by: serb, ssadetsky
2017-11-20 16:02:05 +05:30
Jayathirth D V
a3ceaef3e4 8190332: PngReader throws NegativeArraySizeException/OOM error when IHDR width is very large
Reviewed-by: prr, pnarayanan
2017-11-20 11:02:54 +05:30
Alexandre Iline
cc49454031 8176838: Remove :compact1, :compact2. :compact3, :needs_jre test groups
Reviewed-by: alanb, dholmes
2017-11-17 07:34:59 -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
d39af471c9 Merge 2017-11-16 11:20:56 -08:00
Phil Race
fca05b5e6e Merge 2017-11-16 10:45:42 -08:00
Jesper Wilhelmsson
cf0ea69014 Merge 2017-11-17 02:50:51 +01:00
Ujwal Vangapally
d207240545 8024352: MBeanOperationInfo accepts any int value as "impact"
MBeanOperationInfo throw an llegalArgumentException if the impact argument is not among the defined values

Reviewed-by: rriggs, dfuchs, mchung
2017-11-17 11:08:44 +05:30
Prasanta Sadhukhan
e6a8aea72b 8178025: HiDPI with non-integer scale factor - SPANs in HTML are rendered overlapping each other
Reviewed-by: serb, ssadetsky
2017-11-16 12:24:02 +05:30
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
Alexandre Iline
26a4a1a6b3 8157338: sanity/client/SwingSet/src/ButtonDemoScreenshotTest.java is unstable
Reviewed-by: serb
2017-11-15 09:31:17 -08:00