Commit Graph

673 Commits

Author SHA1 Message Date
Naoto Sato
11ab995e6c 8228465: HOST locale provider holds wrong era name for GregorianCalendar in US locale
Reviewed-by: lancea
2019-07-26 13:32:59 -07:00
Naoto Sato
c1a479ad67 8212970: TZ database in "vanguard" format support
Reviewed-by: rriggs, joehw, erikj, scolebourne
2019-07-26 08:56:28 -07:00
Mikael Vidstedt
f08a9de3b2 Merge 2019-07-17 04:33:37 -07:00
Peter Levart
49daf1dc19 8227368: EnumSet.class serialization broken in JDK 9+
Reviewed-by: smarks
2019-07-13 10:43:45 +00:00
Daisy Zhou
116af970c8 8227289: Enable assertions for some shell to java conversion tests after JDK-8218960
Reviewed-by: naoto
2019-07-15 10:21:33 +08:00
Claes Redestad
eddf2cf920 8224657: [TESTBUG] java/util/Locale/SoftKeys.java should be ignored but run
Reviewed-by: alanb
2019-07-04 15:00:03 +02:00
Jesper Wilhelmsson
37599ff955 Merge 2019-06-29 05:26:55 +02:00
Christoph Langer
a8fc8c4c21 8226869: Test java/util/Locale/LocaleProvidersRun.java should enable assertions
Reviewed-by: naoto
2019-06-28 20:46:25 +01:00
Vladimir Kozlov
c956e7ca8d 8185139: [Graal] Tests which set too restrictive security manager fail with Graal
Tests should also check default policy

Reviewed-by: mchung, dfuchs, alanb, mullan
2019-06-21 13:04:14 -07:00
Sean Coffey
8d4f4b0491 8213561: ZipFile/MultiThreadedReadTest.java timed out in tier1
Reviewed-by: lancea
2019-06-20 08:02:41 +00:00
Tagir F. Valeev
822c02437a 8225339: Optimize HashMap.keySet()/HashMap.values()/HashSet toArray() methods
Reviewed-by: rriggs, redestad, smarks
2019-06-14 05:02:58 +00:00
Ivan Gerasimov
4a3b3d365e 8225397: Integer value miscalculation in toString() method of BitSet
Reviewed-by: aph
2019-06-06 17:20:19 -07:00
Claes Redestad
27d8c3f7b4 8224240: Properties.load fails to throw IAE on malformed unicode in certain circumstances
Reviewed-by: smarks, rriggs, dfuchs
2019-06-05 10:23:06 +02:00
Ivan Gerasimov
f5e2916507 8224789: Parsing repetition count in regex does not detect numeric overflow
Reviewed-by: rriggs, bchristi
2019-05-29 13:44:27 -07:00
Doug Lea
22a4313efc 8224024: java/util/concurrent/BlockingQueue/DrainToFails.java testBounded fails intermittently
Reviewed-by: martin
2019-05-24 08:47:39 -07:00
Naoto Sato
93fabcdc5a 8221431: Support for Unicode 12.1
Reviewed-by: erikj, rriggs
2019-05-23 12:21:21 -07:00
Leo Jiang
078f5eb6a8 8219781: Localized names for Japanese era Reiwa in COMPAT provider
Reviewed-by: naoto
2019-05-19 22:14:09 +08:00
Aleksei Efimov
64b8734964 8223638: Replace wildcard address with loopback or local host in tests - part 6
Reviewed-by: dfuchs
2019-05-14 13:34:49 +01:00
Naoto Sato
c709e1cbf0 8221432: Upgrade CLDR to Version 35.1
Reviewed-by: rriggs, srl
2019-05-08 12:45:02 -07:00
Naoto Sato
c797bc008e 8220037: Inconsistencies of generated timezone files between Windows and Linux
Reviewed-by: rriggs
2019-05-07 09:37:02 -07:00
Ivan Gerasimov
b7ea7e93aa 8223174: Pattern.compile() can throw confusing NegativeArraySizeException
Reviewed-by: martin
2019-05-03 23:00:07 -07:00
Doug Lea
187ce630a2 8219138: Miscellaneous changes imported from jsr166 CVS 2019-05
Reviewed-by: martin
2019-05-02 06:33:28 -07:00
Doug Lea
82b990abc9 8221892: ThreadPoolExecutor: Thread.isAlive() is not equivalent to not being startable
Reviewed-by: martin, dholmes
2019-05-02 06:33:28 -07:00
Adam Farley8
d97dd4d554 8222930: ConcurrentSkipListMap.clone() shares size variable between original and clone
Co-authored-by: Martin Buchholz <martinrb@google.com>
Reviewed-by: martin, smarks
2019-05-02 06:33:28 -07:00
Naoto Sato
854c0539c4 8222980: Upgrade IANA Language Subtag Registry to Version 2019-04-03
Reviewed-by: bpb, lancea
2019-04-26 09:09:39 -07:00
Stuart Marks
1aa784cdac 8221924: get(null) on single-entry unmodifiable Map returns null instead of throwing NPE
Reviewed-by: redestad, lancea
2019-04-09 09:49:36 -07:00
Steve Groeger
3ff0b6ea5e 8222027: java/util/logging/LogManager/TestLoggerNames.java generates intermittent ClassCastException
Make a strong reference to TestLogger and dont fetch it from LogManager

Reviewed-by: dfuchs
2019-04-08 15:01:39 +01:00
Naoto Sato
2a510a6353 8205432: Replace the placeholder Japanese era name
Reviewed-by: rriggs, chegar
2019-04-01 08:19:21 -07:00
Aleksey Shipilev
e8a753f253 8221524: java/util/Base64/TestEncodingDecodingLength.java test should be disabled on 32-bit platforms
Reviewed-by: stuefe, alanb
2019-03-27 12:38:29 +01:00
Christoph Langer
26358daaee 8172695: (scanner) java/util/Scanner/ScanTest.java fails
Reviewed-by: smarks, bpb
2019-03-21 09:16:58 +01:00
Roger Riggs
b77b4b254c 8220613: java/util/Arrays/TimSortStackSize2.java times out with fastdebug build
Reviewed-by: lancea, alanb
2019-03-19 10:47:17 -04:00
Toshio Nakamura
aa5aa46fb0 8220227: Host Locale Provider getDisplayCountry returns error message under non-English Win10
Adjusting to detect translated Unknown messages

Reviewed-by: naoto
2019-03-13 13:05:37 +09:00
Lin Zang
144d81caf6 8219721: jcmd from earlier release will hang attaching to VM with JDK-8215622 applied
Fix compatibility issue caused by jmap update of 8215622

Reviewed-by: dholmes, ysuenaga, phh, sspitsyn
2019-03-11 21:26:19 -04:00
Naoto Sato
c12d6ac1a7 8219890: Calendar.getDisplayName() returns empty string for new Japanese Era on some locales
Reviewed-by: lancea
2019-02-28 14:03:04 -08:00
Philipp Kunz
24af91dc02 8219548: Better Null paramenter checking in ToolProvider
Reviewed-by: lancea, alanb, jjg
2019-02-26 13:14:26 -05:00
Daniel Fuchs
e58a4da301 8216363: NullPointerException in java.util.logging.Handler#isLoggable
The implementation is changed to match the spec: isLoggable(null) returns false.

Reviewed-by: mchung, lancea
2019-02-21 16:57:47 +00:00
Lin Zang
6f5c009756 8215622: Add dump to file support for jmap –histo
Add "file=" to jmap "histo" jmap, Hotspot support in attachListener.cpp:heap_inspection.

Reviewed-by: phh, sspitsyn
2019-02-20 11:36:02 -08:00
Arno Zeller
7252ba2762 8219228: java/util/Base64/TestEncodingDecodingLength.java failing on 8GB test machine
Reviewed-by: clanger, rriggs, nishjain, mbaesken
2019-02-18 12:52:55 +01:00
Doug Lea
ff97b60fde 8215249: Miscellaneous changes imported from jsr166 CVS 2019-02
Reviewed-by: martin, chegar, dholmes
2019-02-15 11:18:01 -08:00
Doug Lea
a7ab4d7bd3 8215359: InnocuousForkJoinWorkerThread.setContextClassLoader needlessly throws
Reviewed-by: martin, chegar, dholmes, reinhapa, alanb
2019-02-15 11:18:01 -08:00
Doug Lea
012c399c26 8195057: java/util/concurrent/CountDownLatch/Basic.java failed w/ Xcomp
Reviewed-by: martin, chegar, dholmes
2019-02-15 11:18:01 -08:00
Doug Lea
f0807ebc18 8210280: Unnecessary reallocation when invoking HashMap.putAll()
Co-authored-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Martin Buchholz <martinrb@google.com>
Reviewed-by: martin, mvala, igerasim, chegar, rriggs
2019-02-08 13:39:22 -08:00
Nishit Jain
13a52f3a17 8217969: Base64.Decoder.decode methods do not need to throw OOME due to integer overflow
8218265: java/util/Base64/TestEncodingDecodingLength.java failing

Reviewed-by: rriggs, naoto
2019-02-06 13:57:19 +05:30
Brian Burkhalter
f380787a41 8218460: Test generation scripts do not invoke stream preprocessor correctly
Reviewed-by: rriggs
2019-02-05 14:36:50 -08:00
Naoto Sato
6da3289179 8217609: New era placeholder not recognized by java.text.SimpleDateFormat
Reviewed-by: nishjain, rriggs
2019-01-29 07:46:50 -08:00
Steve Groeger
76946b97e4 8217777: TEST_BUG: jdk/java/util/prefs/ExportSubtree.java passes even when test should fail
Reviewed-by: clanger, rriggs
2019-01-29 09:10:08 +00:00
Daniel Fuchs
4ca19585c3 8217353: java/util/logging/LogManager/Configuration/updateConfiguration/HandlersOnComplexResetUpdate.java fails with Unexpected reference: java.lang.ref.WeakReference
Instrumented the test to relay the original exception as a suppressed exception of the secondary one, increased sleep time, adjusted iteration numbers according to timeout factor.

Reviewed-by: lancea, iignatyev
2019-01-25 11:45:26 +00:00
Nishit Jain
72141ff6e6 8210583: Base64.Encoder incorrectly throws NegativeArraySizeException
Reviewed-by: rriggs, naoto, darcy, alanb
2019-01-24 12:45:19 +05:30
Naoto Sato
a862610527 8217366: ZoneStrings are not populated for all the Locales
Reviewed-by: rriggs
2019-01-23 15:43:01 -08:00
Philipp Kunz
44ba433328 8216362: Better error message handling when there is an invalid Manifest
Reviewed-by: lancea, rriggs, mullan
2019-01-10 14:32:56 -05:00
Dora Zhou
b1a3c7d538 8215913: [Test_bug]java/util/Locale/LocaleProvidersRun.java failed on de_DE and ja_JP locale
Reviewed-by: naoto, rgoel, rriggs
2019-01-07 18:48:39 -08:00
Tagir F. Valeev
42e7372b3e 8214687: Optimize Collections.nCopies().hashCode() and equals()
Reviewed-by: igerasim, smarks
2018-12-30 08:57:24 +07:00
Philipp Kunz
1dae61a374 8066619: Fix deprecation warnings in java.util.jar
Reviewed-by: rriggs, lancea
2018-12-21 09:54:32 -05:00
Christoph Langer
206ea259ec 8215472: (zipfs) Cleanups in implementation classes of jdk.zipfs and tests
Reviewed-by: redestad, lancea
2018-12-19 10:36:16 +00:00
Alan Bateman
888057a89f 8215449: Several tests failing when jtreg run with -vmoption:--illegal-access=deny
Reviewed-by: redestad, mchung, jjg
2018-12-18 10:26:15 +00:00
Daniel Fuchs
0bdabe5e08 8211093: Default logging.properties sets log level for com.xyz.foo
Reviewed-by: bpb, rriggs
2018-12-13 11:27:37 +00:00
Dora Zhou
ffccf955f5 8213127: Refactor test/java/util/ResourceBundle/Control/MissingResourceCauseTest.sh to plain java tests
Reviewed-by: naoto
2018-12-06 18:46:08 -08:00
Joe Wang
bffe795d2d 8213325: (props) Properties.loadFromXML does not fully comply with the spec
Reviewed-by: alanb, rriggs, dfuchs, naoto
2018-12-04 14:53:00 -08:00
Naoto Sato
5fc8ae7c71 8214170: ResourceBundle.Control.newBundle should throw IllegalAccessException when constructor of the resource bundle is not public
Reviewed-by: rriggs, mchung
2018-11-29 10:13:42 -08:00
Doug Lea
53d3a4f50c 8211283: Miscellaneous changes imported from jsr166 CVS 2018-11
Reviewed-by: martin, chegar
2018-11-28 15:25:14 -08:00
Doug Lea
5d11c7bd0c 8212899: java/util/concurrent/tck/JSR166TestCase.java - testMissedSignal_8187947(SubmissionPublisherTest): timed out waiting for CountDownLatch for 40 sec
Reviewed-by: martin, dholmes
2018-11-28 15:25:14 -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
Roger Riggs
29e742273e 8185496: Improve performance of system properties initialization in initPhase1
8213424: VersionProps duplicate and skipped initialization

Reviewed-by: mchung, redestad, dholmes
2018-11-09 13:28:16 -05:00
Mandy Chung
9ffe7e1205 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn
2018-11-06 10:01:16 -08:00
Ying Zhou
0fade4897e 8210409: Refactor java.util.TimeZone:i18n shell tests to plain java tests
Reviewed-by: naoto
2018-11-06 15:23:52 +08:00
Naoto Sato
a1029a4729 8213330: Fix legal headers in i18n tests
Reviewed-by: lancea
2018-11-05 13:55:41 -08:00
Daniel Fuchs
059682d681 8213301: Fix legal headers in jdk logging tests
Reviewed-by: chegar, mchung
2018-11-05 11:20:47 +00:00
Lance Andersen
87f243d539 8213328: Update test copyrights in test/java/util/zip and test/jdk/tools
Reviewed-by: joehw
2018-11-04 13:06:02 -05:00
Lance Andersen
a655e6b52b 8212129: Remove finalize methods from java.util.zip.ZipFIle/Inflator/Deflator
Reviewed-by: rriggs, sherman, alanb, clanger
2018-10-26 14:02:31 -04:00
Amy Lu
f095a9ee49 8209768: Refactor java/util/prefs/CheckUserPrefsStorage.sh to plain java test
Reviewed-by: bchristi, weijun
2018-10-25 11:05:24 +08:00
Amy Lu
6ce0aeb00b 8210908: Refactor java/util/prefs/PrefsSpi.sh to plain java test
Reviewed-by: bchristi
2018-10-25 11:00:40 +08:00
Hamlin Li
533bd0a604 8210407: Refactor java.util.Calendar:i18n shell tests to plain java tests
Reviewed-by: naoto
2018-10-24 17:52:06 +08:00
Amy Lu
a0594bc138 8210353: Move java/util/Arrays/TimSortStackSize2.java back to tier1
Reviewed-by: forax, weijun
2018-10-23 13:47:17 +08:00
Dora Zhou
3c2c6bce02 8210406: Refactor java.util.PluggableLocale:i18n shell tests to plain java tests
Reviewed-by: naoto
2018-10-18 00:56:38 -07:00
Ying Zhou
05f0d11553 8210403: Refactor java.util.Locale:i18n shell tests to plain java tests
Reviewed-by: naoto
2018-10-17 16:37:41 +08:00
Xueming Shen
cd8e70a35c 8199172: Improve jar attribute checks
Reviewed-by: psandoz, alanb
2018-04-04 13:55:30 -07:00
Xueming Shen
859d376494 8211728: JarFile::versionedStream() does not filter META-INF resources in versioned stream
Reviewed-by: alanb
2018-10-08 14:14:52 -07:00
Jaikiran Pai
4cd9401815 8211765: JarFile constructor throws undocumented exception
Reviewed-by: lancea, sherman, alanb, chegar
2018-10-07 14:35:00 -04:00
Igor Ignatyev
ab8c7f710c 8211171: move JarUtils to top-level testlibrary
Reviewed-by: alanb
2018-10-01 14:54:46 -07:00
Doug Lea
deb0e6503d 8207003: Miscellaneous changes imported from jsr166 CVS 2018-09
Reviewed-by: martin, chegar
2018-09-28 08:45:46 -07:00
Doug Lea
0b431957a5 8210971: Add exception handling methods to CompletionStage and CompletableFuture
Reviewed-by: martin, chegar
2018-09-28 08:45:46 -07:00
Tagir Valeev
7c9ab50d06 8205461: Create Collector which merges results of two other collectors
Reviewed-by: briangoetz, smarks, plevart
2018-09-25 14:23:37 +02:00
Dan Zhou
5e8e18c05d 8210443: Migrate Locale matching tests to JDK Repo
Reviewed-by: naoto
2018-09-25 11:18:36 +08:00
Igor Ignatyev
82ed2a5fc0 8210894: remove jdk/testlibrary/Asserts
Reviewed-by: serb
2018-09-21 14:50:06 -07:00
Igor Ignatyev
3521fc392e 8210779: 8182404 and 8210732 haven't updated copyright years
Reviewed-by: bchristi
2018-09-17 11:50:39 -07:00
Rachna Goel
36873c3c7b 8210490: TimeZone.getDisplayName given Locale.US doesn't always honor the Locale
Specified locale for formatting..

Reviewed-by: naoto
2018-09-17 14:16:31 +05:30
Igor Ignatyev
8b28ad6efe 8210732: remove jdk.testlibrary.Utils
Reviewed-by: alanb, jcbeyler
2018-09-14 14:02:57 -07:00
Amy Lu
07392d976a 8209772: Refactor shell test java/util/ServiceLoader/basic/basic.sh to java
Reviewed-by: alanb
2018-09-14 13:18:52 +08:00
Amy Lu
6c7a19d52f 8209930: Refactor java/util/zip/ZipFile/deletetempjar.sh to plain java test
Reviewed-by: alanb
2018-09-10 20:17:26 +08:00
Igor Ignatyev
21a0458422 8210112: remove jdk.testlibrary.ProcessTools
Reviewed-by: alanb, sspitsyn, jcbeyler
2018-09-07 14:01:52 -07:00
Naoto Sato
d1958eeed1 8210142: java.util.Calendar.clone() doesn't respect sharedZone flag
Reviewed-by: rriggs
2018-09-06 10:49:17 -07:00
Leo Jiang
232804b8ab 8208746: ISO 4217 Amendment #168 update
8209775: ISO 4217 Amendment #169 update

Reviewed-by: naoto
2018-08-28 20:05:41 -07:00
Brent Christian
51d0a9e122 8205399: Set node color on pinned HashMap.TreeNode deletion
Reviewed-by: martin
2018-08-10 12:05:53 -07:00
Felix Yang
30fad2ce7d 8208656: Move java/util/Calendar/CalendarTestScripts tests into OpenJDK
Reviewed-by: naoto
2018-08-09 15:42:48 +08:00
Naoto Sato
4ab515f85c 8208080: Locale extensions via Service provider is not working for region extensions
Reviewed-by: rriggs, nishjain
2018-08-01 09:33:56 -07:00
Phil Race
1387c87093 Merge 2018-07-26 10:00:40 -07:00
Rachna Goel
50a3c19ffc 8206965: java/util/TimeZone/Bug8149452.java failed on de_DE and ja_JP locale
Generated display names for missing timezones at run time.

Reviewed-by: naoto
2018-07-26 14:15:24 +05:30
Martin Buchholz
796a53f6e5 8206863: A closed JarVerifier.VerifierStream should throw IOException
Co-authored-by: Tobias Thierer <tobiast@google.com>
Reviewed-by: rasbold
2018-07-17 17:36:27 -07:00
Jesper Wilhelmsson
4fc510cc89 Merge 2018-07-14 02:14:54 +02:00
Erik Joelsson
9d7fc64c38 8207243: Fix translation filtering to also support zh_HK and zh_TW
Reviewed-by: tbell
2018-07-19 14:25:42 -07:00
Naoto Sato
0df02a4cb8 8207152: Placeholder for Japanese new era should be two characters
Reviewed-by: rriggs
2018-07-12 11:24:10 -07:00
Doug Lea
bb74071bcf 8205576: forkjoin/FJExceptionTableLeak.java fails "AssertionError: failed to satisfy condition"
Reviewed-by: martin, psandoz, dholmes, tschatzl
2018-07-10 10:24:08 -07:00
Igor Ignatyev
19085e7dad 8199265: java/util/Arrays/TimSortStackSize2.java fails with OOM
Reviewed-by: dholmes
2018-06-27 13:43:52 -07:00
Stuart Marks
aaf546777f 8203670: unmodifiable List iterator() implementations should not be ListIterators
Reviewed-by: redestad, igerasim, plevart
2018-06-26 19:45:59 -07:00
Martin Buchholz
7eeafb719f 8205184: Delegating Iterator implementations that don't delegate forEachRemaining()
Co-authored-by: Tobias Thierer <tobiast@google.com>
Reviewed-by: psandoz
2018-06-25 18:01:42 -07:00
Doug Lea
0a0a8a5791 8203681: Miscellaneous changes imported from jsr166 CVS 2018-06
Reviewed-by: martin, psandoz
2018-06-25 09:59:16 -07:00
Doug Lea
abffccb329 8202422: value of 'sizeCtl' in ConcurrentHashMap varies with the constructor called
Reviewed-by: martin, psandoz
2018-06-25 09:59:16 -07:00
Doug Lea
08fb8e4d1c 8205576: forkjoin/FJExceptionTableLeak.java fails "AssertionError: failed to satisfy condition"
Reviewed-by: martin, psandoz, dholmes, tschatzl
2018-07-10 10:24:08 -07:00
Doug Lea
fce671f409 8206123: ArrayDeque created with default constructor can only hold 15 elements
Reviewed-by: martin, psandoz, igerasim
2018-07-10 10:24:08 -07:00
Xueming Shen
84234d1abb 8206389: JarEntry.setCreation/LastAccessTime without setLastModifiedTime causes Invalid CEN header
Reviewed-by: alanb, martin
2018-07-09 13:08:30 -07:00
Naoto Sato
10fca535db 8206350: java/util/Locale/bcp47u/SystemPropertyTests.java failed on Mac 10.13 with zh_CN and zh_TW locales
Reviewed-by: rriggs
2018-07-05 14:23:45 -07:00
Naoto Sato
0a99860ff9 8206120: Add test cases for lenient Japanese era parsing
Reviewed-by: rriggs
2018-07-03 14:42:13 -07:00
Joe Darcy
e56162b43d 8205615: Start of release updates for JDK 12
8205621: Increment JDK version for JDK 12
8193292: Add SourceVersion.RELEASE_12
8193290: Add source 12 and target 12 to javac
8205619: Bump maximum recognized class file version to 56 for JDK 12

Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Mikael Vidstedt <mikael.vidstedt@oracle.com>
Reviewed-by: alanb, smarks, jjg, mr, erikj, psandoz, dholmes
2018-06-27 21:01:12 -07:00
Stuart Marks
277b35da28 8203184: List.copyOf() fails to copy sublists
Reviewed-by: psandoz
2018-06-21 08:45:57 -07:00
Stuart Marks
693a6dd27a 8060192: Add default method <A> A[] Collection.toArray(IntFunction<A[]> generator)
Reviewed-by: martin, forax, psandoz, briangoetz
2018-06-21 08:25:03 -07:00
Nishit Jain
9c47d8db3f 8204938: Add a test case to automatically check the updated LSR data
Reviewed-by: naoto, rriggs
2018-06-21 14:09:43 +05:30
Erik Joelsson
8e3570cfc2 8204973: Add build support for filtering translations
Reviewed-by: ihse, naoto, dfuchs
2018-06-15 09:53:28 -07:00
Rachna Goel
65a85be9c7 8202537: CLDR33
Upgraded CLDR data to V33.

Reviewed-by: naoto
2018-06-15 11:58:34 +05:30
Naoto Sato
ec4b6a477f 8202088: Japanese new era implementation
Reviewed-by: scolebourne, rriggs, nishjain, weijun
2017-08-09 14:54:37 -07:00
Doug Lea
307f2c4550 8204375: Add TimeUnit#convert(Duration)
Reviewed-by: martin, scolebourne, plevart, rriggs
2018-06-08 11:38:40 -07:00
Xueming Shen
f56c0b79d8 8204229: Formatter and String.format ignore the width with the percent modifier (%5%)
Reviewed-by: jlaskey
2018-06-08 10:09:40 -07:00
Nishit Jain
ee5ff58a3d 8203872: Upgrading JDK with latest available LSR data from IANA
Reviewed-by: naoto
2018-06-06 14:16:51 +05:30
Li Jiang
069e4f8095 8193552: ISO 4217 amendment 165
8202026: ISO 4217 amendment 166
8204269: ISO 4217 amendment 167

Reviewed-by: naoto
2018-06-05 23:06:32 -07:00
Xueming Shen
ae662fdaa8 8197989: java/util/zip/ZipFile/TestCleaner.java failed with "cleaner failed to clean zipfile
Reviewed-by: rriggs
2018-06-05 12:27:07 -07:00
Xueming Shen
fcfd1c85dd 8200530: '\r' is not supported as "newline" in java.util.jar.Manifest
Reviewed-by: jlaskey
2018-06-05 10:03:46 -07:00
Jim Laskey
e18f24a98e 8050818: Predicate::not - provide an easier way to negate a predicate
Reviewed-by: chegar, dl, psandoz, forax, smarks, redestad
2018-05-30 12:40:04 -03:00
Stuart Marks
a2f8f825ff 8201518: add test for randomized iteration order of unmodifiable Set and Map
Reviewed-by: plevart
2018-05-25 11:18:22 -07:00
Martin Buchholz
42f7e3f69e 8203328: Rename EFS in java.util.zip internals to something meaningful
Reviewed-by: sherman
2018-05-23 10:34:18 -07: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
Rachna Goel
a01b2f3b73 8179071: Month value is inconsistent between CLDR and Java in some locales
Handled Language aliases from CLDR SupplementalMetaData

Reviewed-by: naoto
2018-04-30 11:59:42 +05:30
Naoto Sato
fafd844bc6 8181157: CLDR Timezone name fallback implementation
Reviewed-by: sherman, scolebourne
2018-04-26 12:39:15 -07:00
David M Lloyd
883d41fefc 6341887: java.util.zip: Add ByteBuffer methods to Inflater/Deflater
Reviewed-by: alanb
2018-04-19 10:33:35 -07:00
Vivek Theeyarath
702ac597ad 8184693: add Pattern.isEmpty
Added method Pattern.isEmpty

Reviewed-by: forax, chegar, smarks, psandoz, rriggs
2018-04-18 10:30:57 -07:00
Joe Darcy
4ffd5d45c1 8201766: Mark TimSortStackSize2.java as intermittently failing
Reviewed-by: dholmes
2018-04-18 10:03:49 -07:00
Vivek Theeyarath
97979a53a1 8184692: add Pattern.asMatchPredicate
Reviewed-by: psandoz, rriggs
2018-04-16 11:21:32 -07:00
Chris Yin
8483faa4a9 8197418: Move java/util/RandomAccess/ tests into OpenJDK
Reviewed-by: psandoz
2018-04-12 10:19:31 +08:00
Doug Lea
cdd36df363 8197531: Miscellaneous changes imported from jsr166 CVS 2018-04
Reviewed-by: martin, psandoz
2018-04-10 11:37:18 -07:00
Doug Lea
a4f3a1d9eb 8200258: Improve CopyOnWriteArrayList subList code
Reviewed-by: martin, psandoz, smarks
2018-04-10 11:33:29 -07:00
Vivek Theeyarath
824df1c125 8164781: Pattern.asPredicate specification is incomplete
Updated specification to reflect usage of find()

Reviewed-by: psandoz
2018-04-09 10:39:29 -07:00
Stuart Marks
87e7768a1c 8195649: reorganize tests for java.util.Optional
Reviewed-by: psandoz
2018-03-30 14:36:18 -07:00
Jesper Wilhelmsson
aa69f8c75c Merge 2018-03-24 01:08:35 +01: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
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
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
Jesper Wilhelmsson
8f1e5bc574 Merge 2018-03-02 21:00:12 +01: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
Jesper Wilhelmsson
3dfe4d61b3 Merge 2018-03-01 01:47:46 +01:00
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
Nishit Jain
3f5b571b5a 8060094: java/util/Formatter/Basic.java failed in tr locale
Reviewed-by: naoto
2018-02-26 11:16:24 +05:30
Nishit Jain
cff8ccbcf7 8190904: Incorrect currency instance returned by java.util.Currency.getInstance()
Reviewed-by: naoto
2018-02-22 11:52:01 +05:30
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
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
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
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
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
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
Amy Lu
6d4be03205 8157903: (prop) move Properties tests into OpenJDK
Reviewed-by: mchung
2018-01-25 14:12:43 +08:00
Lana Steuck
8f528fba93 Merge 2018-01-18 18:58:46 +00: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
Xueming Shen
b69a95d78d 8194667: Regex: Serialization doesn't work with match flags
Reviewed-by: rriggs
2018-01-12 14:05:42 -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
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
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
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
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
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
Claes Redestad
8994d5ad0e 8199647: java/util/Locale/SoftKeys.java fails with OutOfMemoryError again
Reviewed-by: psandoz
2018-03-15 10:41:57 +01: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
Jesper Wilhelmsson
6a37cbc50c Merge 2018-03-02 21:00:12 +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
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
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
Martin Buchholz
ed69a7db9c 8192935: Fix EnumSet's SerializationProxy javadoc
Reviewed-by: smarks, rriggs
2017-12-03 13:06:51 -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
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
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
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
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
Nishit Jain
abef0ce5b3 8191404: Upgrading JDK with latest available LSR data from IANA
Reviewed-by: naoto
2017-11-23 13:21:50 +05:30
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
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
Daniel Fuchs
ccdb0ef8e2 8189953: FileHandler constructor throws NoSuchFileException with absolute path
Reviewed-by: mchung
2017-11-09 20:51:37 +00:00
Martin Buchholz
6a099cc68b 8190816: PropertiesTest.sh fails to make $WRITABLEJDK writable
Reviewed-by: naoto, rgoel
2017-11-07 10:02:48 -08: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
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
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
Naoto Sato
ab49e12b7f 8189291: Test policy should extend the default system policy
Reviewed-by: mchung
2017-10-24 08:56:30 -07: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
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
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
Xueming Shen
02b9452ed3 8186464: ZipFile cannot read some InfoZip ZIP64 zip files
Reviewed-by: martin
2017-09-20 16:41:54 -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