Commit Graph

2293 Commits

Author SHA1 Message Date
Aleksey Shipilev
cebaad1c94 8280041: Retry loop issues in java.io.ClassCache
Co-authored-by: Peter Levart <plevart@openjdk.org>
Reviewed-by: rkennke, rriggs, plevart
2022-01-25 19:22:07 +00:00
Joe Darcy
cbe8395ace 8280168: Add Objects.toIdentityString
Reviewed-by: alanb, mchung, rriggs, smarks
2022-01-25 18:15:37 +00:00
Ian Graves
e3076552ec 8280403: RegEx: String.split can fail with NPE in Pattern.CharPredicate::match
Reviewed-by: lancea, iris, naoto, rriggs
2022-01-24 22:21:22 +00:00
Jesper Wilhelmsson
4616c13c2f Merge 2022-01-20 01:18:38 +00:00
Alisen Chung
84fa0d8c7d 8190264: JScrollBar ignores its border when using macOS Mac OS X Aqua look and feel
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: kizune, serb, aivanov
2022-01-19 19:12:35 +00:00
Matthias Baesken
8931c12258 8280157: wrong texts Falied in a couple of tests
Reviewed-by: egahlin, aivanov
2022-01-19 12:01:10 +00:00
Julia Boes
5832a34404 8270416: Enhance construction of Identity maps
Reviewed-by: dfuchs, chegar, rhalade, ahgross, smarks, robm
2022-01-18 23:35:34 +00:00
Masanori Yano
848b16a3f9 8272746: ZipFile can't open big file (NegativeArraySizeException)
Reviewed-by: lancea
2022-01-18 18:20:57 +00:00
Mikael Vidstedt
9a18190a4f 8280048: Missing comma in copyright header
Reviewed-by: prr
2022-01-15 03:20:34 +00:00
Masanori Yano
22b7295e75 7001973: java/awt/Graphics2D/CopyAreaOOB.java fails
Reviewed-by: serb
2022-01-15 02:17:46 +00:00
Naoto Sato
064ee6ae13 8278434: timeouts in test java/time/test/java/time/format/TestZoneTextPrinterParser.java
Backport-of: 8dc4437d00
2022-01-13 22:05:52 +00:00
Jaikiran Pai
c17a0122c4 8278961: Enable debug logging in java/net/DatagramSocket/SendDatagramToBadAddress.java
Reviewed-by: dfuchs, msheppar
2022-01-13 13:23:57 +00:00
Weijun Wang
cb25029885 8279800: isAssignableFrom checks in AlgorithmParametersSpi.engineGetParameterSpec appear to be backwards
Reviewed-by: xuelei, valeriep
2022-01-13 00:42:00 +00:00
Naoto Sato
0a094d7c28 8268081: Upgrade Unicode Data Files to 14.0.0
Reviewed-by: joehw, iris, lancea
2022-01-12 19:17:18 +00:00
Masanori Yano
3aaa0982d8 8276694: Pattern trailing unescaped backslash causes internal error
Reviewed-by: jlaskey
2022-01-11 22:37:15 +00:00
Jesper Wilhelmsson
d9b1bb5860 Merge 2022-01-10 17:06:23 +00:00
Sergey Bylokhov
77757ba974 8225122: Test AncestorResized.java fails when Windows desktop is scaled.
Reviewed-by: kizune, aivanov
2022-01-08 01:03:34 +00:00
Sergey Bylokhov
f203723fc7 8279337: The MToolkit is still referenced in a few places
Reviewed-by: prr
2022-01-08 01:02:37 +00:00
Maurizio Cimadamore
d65c665839 8279527: Dereferencing segments backed by different scopes leads to pollution
Reviewed-by: psandoz, jvernee
2022-01-07 13:41:29 +00:00
Alan Bateman
2dbb936da9 8279339: (ch) Input/Output streams returned by Channels factory methods don't support concurrent read/write ops
Reviewed-by: lancea, bpb
2022-01-06 08:12:53 +00:00
Jesper Wilhelmsson
844dfb3ab6 Merge 2022-01-06 01:26:50 +00:00
Maurizio Cimadamore
9d43d25da8 8278897: Alignment of heap segments is not enforced correctly
Reviewed-by: jvernee
2022-01-05 10:47:34 +00:00
Aleksey Shipilev
0f4807e8fe 8279222: Incorrect legacyMap.get in java.security.Provider after JDK-8276660
Co-authored-by: Valerie Peng <valeriep@openjdk.org>
Reviewed-by: alanb, valeriep
2022-01-05 07:29:17 +00:00
Naoto Sato
8dc4437d00 8278434: timeouts in test java/time/test/java/time/format/TestZoneTextPrinterParser.java
Reviewed-by: joehw
2022-01-04 02:48:23 +00:00
Sergey Bylokhov
7fea10327e 8279134: Fix Amazon copyright in various files
Reviewed-by: xliu, phh
2021-12-26 22:10:54 +00:00
Daniel Le
87cc4e5009 8276302: Locale.filterTags methods ignore actual weight when matching "*" (as if it is 1)
Reviewed-by: naoto
2021-12-23 14:11:11 +00:00
Roger Riggs
db3d6d7724 8278087: Deserialization filter and filter factory property error reporting under specified
Backport-of: f90425a1cb
2021-12-21 15:42:36 +00:00
Roger Riggs
f90425a1cb 8278087: Deserialization filter and filter factory property error reporting under specified
Reviewed-by: lancea, bpb
2021-12-21 14:24:44 +00:00
Jesper Wilhelmsson
e6b28e05c6 Merge 2021-12-16 00:26:36 +00:00
Vladimir Kozlov
d3408a46b7 8277964: ClassCastException with no stack trace is thrown with -Xcomp in method handle invocation
Reviewed-by: dlong, mchung, dholmes
2021-12-15 21:45:45 +00:00
Weijun Wang
0cc989b7d2 8278744: KeyStore:getAttributes() not returning unmodifiable Set
Reviewed-by: mullan
2021-12-14 18:39:22 +00:00
Sergey Bylokhov
a9c1acbb8a 8275843: Random crashes while the UI code is executed
Reviewed-by: azvegint
2021-12-14 18:03:00 +00:00
Jesper Wilhelmsson
8401a059bd Merge 2021-12-14 02:15:15 +00:00
David Holmes
c93b24d852 8132785: java/lang/management/ThreadMXBean/ThreadLists.java fails intermittently
Reviewed-by: alanb, kevinw, dcubed, sspitsyn
2021-12-13 21:37:51 +00:00
Roman Kennke
8eb453baeb 8277072: ObjectStreamClass caches keep ClassLoaders alive
Reviewed-by: rriggs, plevart
2021-12-10 16:24:16 +00:00
Michael McMahon
bc31ccc95b 8278312: Update SimpleSSLContext keystore to use SANs for localhost IP addresses
Reviewed-by: dfuchs
2021-12-09 17:38:49 +00:00
Roger Riggs
3cec700a5c 8278463: [test] Serialization WritePrimitive test revised for readFully test fails
Reviewed-by: darcy
2021-12-08 22:59:38 +00:00
Vicente Romero
03bf55f620 8277980: ObjectMethods::bootstrap throws NPE when lookup is null
Reviewed-by: jjg
2021-12-08 22:49:43 +00:00
Roger Riggs
8e8fadf2d4 8278428: ObjectInputStream.readFully range check incorrect
Reviewed-by: alanb
2021-12-08 20:37:41 +00:00
Brian Burkhalter
2478158815 8277361: java/nio/channels/Channels/ReadXBytes.java fails with OOM error
Reviewed-by: alanb, lancea
2021-12-08 17:11:14 +00:00
Daniel Fuchs
37921e3080 8269258: java/net/httpclient/ManyRequestsLegacy.java failed with connection timeout
Reviewed-by: michaelm
2021-12-08 15:31:49 +00:00
Matthias Baesken
fd8cb2dae8 8278346: java/nio/file/Files/probeContentType/Basic.java fails on Linux SLES15 machine
Reviewed-by: shade
2021-12-08 14:03:56 +00:00
Stuart Marks
d7ad546758 8276422: Add command-line option to disable finalization
Co-authored-by: David Holmes <dholmes@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Reviewed-by: dholmes, kbarrett, bchristi
2021-12-08 00:27:53 +00:00
Maxim Kartashev
7217cb7878 8274883: (se) Selector.open throws IAE when the default file system provider is changed to a custom provider
Reviewed-by: alanb, michaelm
2021-12-07 16:59:34 +00:00
Brian Burkhalter
7ea4b19f54 8278166: java/nio/channels/Channels/TransferTo.java timed out
Reviewed-by: lancea, alanb
2021-12-07 16:47:24 +00:00
Roman Kennke
5b81d5eeb4 8276901: Implement UseHeavyMonitors consistently
Reviewed-by: coleenp, mdoerr, dcubed
2021-12-07 14:41:42 +00:00
Alan Bateman
69d8669fb3 8278339: ServerSocket::isClosed may return false after accept throws
Reviewed-by: dfuchs
2021-12-07 14:22:35 +00:00
Sibabrata Sahoo
f22d157e55 8277353: java/security/MessageDigest/ThreadSafetyTest.java test times out
Reviewed-by: weijun
2021-12-07 05:10:30 +00:00
Markus Karg
9642629d15 8276779: (ch) InputStream returned by Channels.newInputStream should have fast path for SelectableChannels
Reviewed-by: lancea, alanb
2021-12-04 09:27:23 +00:00
Brian Burkhalter
0d938cedca 8278172: java/nio/channels/FileChannel/BlockDeviceSize.java should only run on Linux
Reviewed-by: lancea, alanb
2021-12-03 16:00:27 +00:00
Tim Prinzing
b8ac0d20ce 8276681: Additional malformed Javadoc inline tags in JDK source
Reviewed-by: lancea
2021-12-02 21:22:43 +00:00
Brian Burkhalter
15345e3edc 8276661: (fs) UserDefinedFileAttributeView no longer works with long path (win)
Reviewed-by: alanb
2021-12-02 20:53:13 +00:00
Joe Darcy
8b042d14b7 8257856: Make ClassFileVersionsTest.java robust to JDK version updates
Reviewed-by: alanb
2021-12-02 18:17:32 +00:00
Maurizio Cimadamore
ea905bd3da 8277924: Small tweaks to foreign function and memory API
Reviewed-by: jvernee, psandoz
2021-12-02 11:22:31 +00:00
Naoto Sato
a363b7b921 8177819: DateTimeFormatterBuilder zone parsing should recognise DST
8277049: ZonedDateTime parse in Fall DST transition fails to retain the correct zonename.

Reviewed-by: joehw, scolebourne
2021-12-01 17:14:53 +00:00
Ravi Reddy
1e9ed54d36 8193682: Infinite loop in ZipOutputStream.close()
Reviewed-by: lancea, coffeys
2021-12-01 15:35:00 +00:00
Naoto Sato
f1c20e91d8 8190748: java/text/Format/DateFormat/DateFormatTest.java and NonGregorianFormatTest fail intermittently
Reviewed-by: rriggs, joehw, lancea
2021-11-30 22:41:36 +00:00
Jorn Vernee
98a9f03739 8277602: Deopt code does not extend the stack enough if the caller is an optimize entry blob
Reviewed-by: dlong, thartmann
2021-11-30 14:34:00 +00:00
Roger Riggs
0384739afc 8276665: ObjectInputStream.GetField.get(name, object) should throw ClassNotFoundException
Reviewed-by: naoto, lancea, smarks
2021-11-24 15:14:22 +00:00
Maurizio Cimadamore
96e36071b6 8275063: Implementation of Foreign Function & Memory API (Second incubator)
Reviewed-by: erikj, psandoz, jvernee, darcy
2021-11-24 11:51:16 +00:00
Mandy Chung
032067264f 8277451: java.lang.reflect.Field::set on static field with invalid argument type should throw IAE
Reviewed-by: alanb
2021-11-23 17:14:59 +00:00
Sergey Bylokhov
e3243ee963 8277087: ZipException: zip END header not found at ZipFile#Source.findEND
Reviewed-by: lancea
2021-11-23 08:57:34 +00:00
Daniel Fuchs
03debf2775 8276774: Cookie stored in CookieHandler not sent if user headers contain cookie
Reviewed-by: michaelm
2021-11-19 13:18:12 +00:00
Sergey Bylokhov
03473b4c27 8270874: JFrame paint artifacts when dragged from standard monitor to HiDPI monitor
Reviewed-by: jdv
2021-11-18 18:25:38 +00:00
Prasanta Sadhukhan
91607436b7 8276058: Some swing test fails on specific CI macos system
Reviewed-by: prr, kizune
2021-11-18 04:33:49 +00:00
Naoto Sato
231fb61aae 8276970: Default charset for PrintWriter that wraps PrintStream
Reviewed-by: rriggs, alanb
2021-11-18 01:12:12 +00:00
Alex Kasko
b6876649a8 8277159: Fix java/nio/file/FileStore/Basic.java test by ignoring /run/user/* mount points
Reviewed-by: bpb, shade
2021-11-17 17:48:07 +00:00
Fairoz Matte
08f65a59a7 8277313: Validate header failed for test/jdk/java/net/httpclient/HeadTest.java
Reviewed-by: jdv
2021-11-17 06:13:26 +00:00
Jaikiran Pai
23e5117a55 8276559: (httpclient) Consider adding an HttpRequest.Builder.HEAD method to build a HEAD request.
Reviewed-by: cstein, dfuchs
2021-11-17 03:20:40 +00:00
Alexander Zuev
b0a463fa59 8169468: NoResizeEventOnDMChangeTest.java fails because FS Window didn't receive all resizes!
Reviewed-by: serb
2021-11-16 19:01:53 +00:00
Lance Andersen
b85500e524 8276123: ZipFile::getEntry will not return a file entry when there is a directory entry of the same name within a Zip File
Reviewed-by: redestad, alanb
2021-11-12 17:12:13 +00:00
Lance Andersen
b0d7a9daa6 8276994: java/nio/channels/Channels/TransferTo.java leaves multi-GB files in /tmp
Reviewed-by: alanb
2021-11-11 19:09:17 +00:00
Alan Bateman
8aae88b0fc 8276763: java/nio/channels/SocketChannel/AdaptorStreams.java fails with "SocketTimeoutException: Read timed out"
Reviewed-by: dfuchs
2021-11-11 19:07:09 +00:00
Alexander Zvegintsev
6f35eede45 8079267: [TEST_BUG] Test java/awt/Frame/MiscUndecorated/RepaintTest.java fails
Reviewed-by: serb
2021-11-11 16:53:27 +00:00
Aleksei Efimov
2ca4ff87b7 8244202: Implementation of JEP 418: Internet-Address Resolution SPI
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: dfuchs, alanb, michaelm, chegar
2021-11-11 14:33:58 +00:00
Naoto Sato
0c409cac78 8276186: Require getAvailableLocales() methods to include Locale.ROOT
Reviewed-by: prappo, smarks, iris
2021-11-10 20:52:11 +00:00
Weijun Wang
a5c160c711 8267108: Alternate Subject.getSubject and doAs APIs that do not depend on Security Manager APIs
Reviewed-by: mullan
2021-11-10 19:35:17 +00:00
Aleksey Shipilev
0f463a7bf7 8276845: (fs) java/nio/file/spi/SetDefaultProvider.java fails on x86_32
Reviewed-by: alanb
2021-11-10 09:50:27 +00:00
Aleksey Shipilev
fd0a25e62b 8276805: java/awt/print/PrinterJob/CheckPrivilege.java fails due to disabled SecurityManager
Reviewed-by: serb, aivanov
2021-11-10 07:59:01 +00:00
Roger Riggs
d7012fbd60 8276880: Remove java/lang/RuntimeTests/exec/ExecWithDir as unnecessary
Reviewed-by: alanb
2021-11-09 20:43:51 +00:00
Pankaj Bansal
a60e91259b 8198626: java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.html fails on mac
Reviewed-by: serb
2021-11-09 20:10:20 +00:00
Brian Burkhalter
dde959dfce 8276808: java/nio/channels/Channels/TransferTo.java timed out
Reviewed-by: lancea, shade
2021-11-09 19:17:59 +00:00
Masanori Yano
e198594753 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently
Reviewed-by: mchung, alanb
2021-11-09 14:28:07 +00:00
Roger Riggs
7e73bca0b7 8276408: Deprecate Runtime.exec methods with a single string command line argument
Reviewed-by: alanb
2021-11-08 16:39:07 +00:00
Anirvan Sarkar
c7095b20d9 8276207: Properties.loadFromXML/storeToXML works incorrectly for supplementary characters
Reviewed-by: joehw
2021-11-06 00:41:44 +00:00
Brian Burkhalter
b01f1073f9 8276252: java/nio/channels/Channels/TransferTo.java failed with OOM java heap space error
Reviewed-by: lancea
2021-11-05 17:25:06 +00:00
Patrick Concannon
d95299a4d7 8276634: Remove usePlainDatagramSocketImpl option from the test DatagramChannel/SendReceiveMaxSize.java
Reviewed-by: dfuchs, alanb, vtewari
2021-11-05 10:39:37 +00:00
Jaikiran Pai
396132ff1e 8275509: ModuleDescriptor.hashCode isn't reproducible across builds
Reviewed-by: alanb, ihse
2021-11-05 03:44:45 +00:00
Brian Burkhalter
7bb2173383 8276199: java/nio/channels/FileChannel/LargeGatheringWrite.java fails to terminate correctly
Reviewed-by: alanb
2021-11-04 16:33:08 +00:00
Claes Redestad
ce8c76700b 8276220: Reduce excessive allocations in DateTimeFormatter
Reviewed-by: scolebourne, naoto
2021-11-03 22:57:13 +00:00
Brian Burkhalter
684edbb4c8 8273922: (fs) UserDefinedFileAttributeView doesn't handle file names that are just under the MAX_PATH limit (win)
Reviewed-by: alanb
2021-11-03 16:55:23 +00:00
Markus Karg
6a04899ba1 8275840: Add test to java/nio/channels/Channels/TransferTo.java to test transfer sizes > 2GB
Reviewed-by: lancea
2021-11-02 18:06:14 +00:00
Alexander Zuev
cd778f5b04 8202667: java/awt/Debug/DumpOnKey/DumpOnKey.java times out on Windows
Reviewed-by: prr
2021-11-02 13:23:18 +00:00
Phil Race
acceffcbf7 8273704: DrawStringWithInfiniteXform.java failed : drawString with InfiniteXform transform takes long time
Reviewed-by: serb, psadhukhan
2021-11-02 02:49:56 +00:00
Patrick Concannon
977154400b 8260428: Drop support for pre JDK 1.4 DatagramSocketImpl implementations
Reviewed-by: alanb, dfuchs, vtewari
2021-11-01 17:11:20 +00:00
Alexander Zuev
b7104ba9a9 8196017: java/awt/Mouse/GetMousePositionTest/GetMousePositionWithPopup.java fails
Reviewed-by: serb
2021-10-30 10:01:05 +00:00
Brian Burkhalter
13265f9901 8274750: java/io/File/GetXSpace.java failed: '/dev': 191488 != 190976
Reviewed-by: rriggs, naoto
2021-10-29 16:13:23 +00:00
Alexander Zvegintsev
a1ec4f9618 6854300: [TEST_BUG] java/awt/event/MouseEvent/SpuriousExitEnter/SpuriousExitEnter_3.java fails in jdk6u14 & jdk7
Reviewed-by: serb
2021-10-29 13:05:22 +00:00
Sean Mullan
8cc59509fe 8251468: X509Certificate.get{Subject,Issuer}AlternativeNames and getExtendedKeyUsage do not throw CertificateParsingException if extension is unparseable
Reviewed-by: weijun
2021-10-29 12:42:33 +00:00
Mandy Chung
21da218387 8274848: LambdaMetaFactory::metafactory on REF_invokeSpecial impl method has incorrect behavior
Reviewed-by: psandoz, dlsmith
2021-10-28 22:24:56 +00:00