Commit Graph

1783 Commits

Author SHA1 Message Date
Jesper Wilhelmsson
381021aebf Merge 2020-12-15 03:40:30 +00:00
Martin Buchholz
43dc3f7992 8254350: CompletableFuture.get may swallow InterruptedException
Reviewed-by: alanb, dl
2020-12-13 19:17:36 +00:00
Naoto Sato
74b79c6e19 8257964: Broken Calendar#getMinimalDaysInFirstWeek with java.locale.providers=HOST
Reviewed-by: joehw
2020-12-11 21:26:16 +00:00
Vicente Romero
b7ac32d6ee 8257598: Clarify what component values are used in Record::equals
Reviewed-by: darcy, chegar
2020-12-11 19:16:34 +00:00
Ivan Šipka
8273514095 8166026: Refactor java/lang shell tests to java
Reviewed-by: mullan
2020-12-11 14:37:25 +00:00
Joe Darcy
6be1f5671e 8257450: Start of release updates for JDK 17
8257451: Add SourceVersion.RELEASE_17
8257453: Add source 17 and target 17 to javac

Reviewed-by: dholmes, erikj, iris, mikael, jjg, jlahoda, jwilhelm, mchung, ihse
2020-12-10 16:46:28 +00:00
Michael McMahon
b35401d6a7 8257966: Instrument test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/StateTestService.java
Reviewed-by: alanb, dfuchs
2020-12-10 16:02:25 +00:00
Kim Barrett
db5da9619b 8257876: Avoid Reference.isEnqueued in tests
Reviewed-by: mchung, tschatzl
2020-12-10 10:34:47 +00:00
Daniel Fuchs
4a839e95de 8256459: java/net/httpclient/ManyRequests.java and java/net/httpclient/LineBodyHandlerTest.java fail infrequently with java.net.ConnectException: Connection timed out: no further information
Reviewed-by: chegar
2020-12-10 10:09:29 +00:00
Toshio Nakamura
53e537c738 8255387: Japanese characters were printed upside down on AIX
Reviewed-by: prr, serb
2020-12-10 00:27:44 +00:00
Harold Seigel
d33a689b96 8256867: Classes with empty PermittedSubclasses attribute cannot be extended
Reviewed-by: lfoltan, mchung, jlahoda, chegar
2020-12-09 19:07:11 +00:00
Aleksey Shipilev
9ce3d806fa 8257887: java/foreign/TestSegments.java test fails on 32-bit after JDK-8257186
Reviewed-by: jiefu, adityam, redestad
2020-12-09 06:42:38 +00:00
Brent Christian
1a9ed92d6f 8200102: NativeLibraryTest.java fails intermittently, unloaded count is not same as expected
Reviewed-by: mchung, naoto
2020-12-08 18:01:04 +00:00
Daniel Fuchs
fab6158c19 8236413: AbstractConnectTimeout should tolerate both NoRouteToHostException and UnresolvedAddressException
Reviewed-by: aefimov, michaelm
2020-12-08 16:36:04 +00:00
Maurizio Cimadamore
bbc44f57c4 8257186: Size of heap segments is not computed correctlyFix overflow in size computation for heap segments
Reviewed-by: jvernee, chegar
2020-12-07 17:25:23 +00:00
Jan Lahoda
637b0c64b0 8246778: Compiler implementation for Sealed Classes (Second Preview)
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Reviewed-by: lfoltan, mchung, alanb, mcimadamore, chegar
2020-12-07 11:11:31 +00:00
Jorn Vernee
04ce8e3840 8257184: Upstream 8252504: Add a method to MemoryLayout which returns a offset-computing method handle
Reviewed-by: mcimadamore, chegar
2020-12-07 11:08:24 +00:00
Chris Hegarty
5a03e47605 8255560: Class::isRecord should check that the current class is final and not abstract
Reviewed-by: mchung, darcy
2020-12-07 11:02:52 +00:00
Daniel Fuchs
566d77a2ae 8254802: ThrowingPushPromisesAsStringCustom.java fails in "try throwing in GET_BODY"
Reviewed-by: michaelm
2020-12-07 09:58:16 +00:00
Sergey Bylokhov
d3ac1bf16c 8198390: Test MultiResolutionDrawImageWithTransformTest.java fails when -esa is passed
Reviewed-by: kizune
2020-12-04 23:06:07 +00:00
Alexander Scherbatiy
d6dd440c76 8256264: Printed GlyphVector outline with low DPI has bad quality on Windows
Reviewed-by: serb
2020-12-04 09:02:20 +00:00
Alan Bateman
2b4a423fd7 8255542: Attribute length of Module, ModulePackages and other attributes is ignored
Reviewed-by: mchung, dfuchs, chegar
2020-12-04 08:59:14 +00:00
Mandy Chung
f0b1194004 8235784: java/lang/invoke/VarHandles/VarHandleTestByteArrayAsInt.java fails due to timeout with fastdebug bits
Reviewed-by: bchristi, naoto
2020-12-03 22:14:52 +00:00
Julia Boes
b170c8376d 8257591: Remove suppression of record preview related warnings in java.lang
Reviewed-by: chegar
2020-12-03 15:48:03 +00:00
Christoph Langer
93b6ab56ae 8256818: SSLSocket that is never bound or connected leaks socket resources
Reviewed-by: xuelei
2020-12-02 19:23:26 +00:00
Sergey Bylokhov
282cb325b1 8005970: Mouse cursor is default cursor over TextArea's scrollbar
Reviewed-by: kizune
2020-12-02 06:51:53 +00:00
Claes Redestad
00e79db89e 8257511: JDK-8254082 brings regression to AbstractStringBuilder.insert(int dstOffset, CharSequence s, int start, int end)
Reviewed-by: alanb, rriggs, bpb
2020-12-01 22:50:05 +00:00
Mandy Chung
56b15fbbcc 8159746: (proxy) Support for default methods
Co-authored-by: Peter Levart <plevart@openjdk.org>
Reviewed-by: darcy, alanb, plevart
2020-12-01 17:23:07 +00:00
Alan Bateman
1433bafb33 8253751: Dependencies of automatic modules are not propagated through module layers
Reviewed-by: mchung
2020-12-01 15:40:10 +00:00
Mahendra Chhipa
c859fb02f3 8249836: java/io/IOException/LastErrorString.java should have bug-id as 1st word in @ignore
Reviewed-by: iignatyev
2020-12-01 12:57:36 +00:00
Sergey Bylokhov
b5ce8af3d7 8256373: [Windows/HiDPI] The Frame#setBounds does not work in a minimized state
Reviewed-by: kizune, aivanov
2020-12-01 04:49:21 +00:00
Mandy Chung
4356469a31 8230501: Class data support for hidden classes
Reviewed-by: jvernee, psandoz, chegar
2020-12-01 00:24:40 +00:00
Stuart Marks
41dbc139ab 8180352: Add Stream.toList() method
Reviewed-by: psandoz
2020-11-30 19:37:56 +00:00
Sergey Bylokhov
1241f80002 8196086: java/awt/image/DrawImage/IncorrectSourceOffset.java fails
Reviewed-by: shade
2020-11-28 04:30:22 +00:00
Daniel Fuchs
a93841ac9c 8255277: randomDelay in DrainDeadlockT and LoggingDeadlock do not randomly delay
Reviewed-by: lancea
2020-11-26 14:50:40 +00:00
Jorn Vernee
734d3c3b8a 8256862: Several java/foreign tests fail on x86_32 platforms
Reviewed-by: sundar
2020-11-26 11:21:10 +00:00
Sergey Bylokhov
973255c469 8196100: javax/swing/text/JTextComponent/5074573/bug5074573.java fails
Reviewed-by: kizune
2020-11-26 08:43:29 +00:00
Maurizio Cimadamore
9aeadbb020 8256865: Foreign Memory Access and Linker API are missing NPE checks
Reviewed-by: jvernee, sundar, chegar
2020-11-25 10:48:37 +00:00
Naoto Sato
ae0ca743f5 8247432: Update IANA Language Subtag Registry to Version 2020-09-29
Reviewed-by: joehw
2020-11-23 16:41:50 +00:00
Conor Cleary
5ed704484e 8256154: Some TestNG tests require default constructors
Reviewed-by: dfuchs, bpb
2020-11-23 11:48:39 +00:00
Maurizio Cimadamore
0fb31dbf3a 8254231: Implementation of Foreign Linker API (Incubator)
Reviewed-by: coleenp, ihse, dholmes, vlivanov
2020-11-23 11:00:38 +00:00
Brian Burkhalter
2ae3e51f59 8229845: Decrease memory consumption of BigInteger.toString()
Reviewed-by: redestad
2020-11-20 16:23:41 +00:00
Naoto Sato
68138893a5 8251317: Support for CLDR version 38
Reviewed-by: erikj, bchristi, joehw
2020-11-19 22:41:11 +00:00
Ian Graves
080c707aab 8253459: Formatter treats index, width and precision > Integer.MAX_VALUE incorrectly
Reviewed-by: rriggs, smarks
2020-11-19 20:20:55 +00:00
Sean Mullan
3a4b90f086 8202343: Disable TLS 1.0 and 1.1
Reviewed-by: xuelei, dfuchs, coffeys
2020-11-19 14:15:57 +00:00
Patrick Concannon
9fe2d31d6e 8252304: Seed an HttpRequest.Builder from an existing HttpRequest
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: chegar, dfuchs, michaelm
2020-11-19 09:35:49 +00:00
Stuart Marks
646c20022c 8256152: tests fail because of ambiguous method resolution
Reviewed-by: psandoz
2020-11-18 22:04:18 +00:00
Jorn Vernee
03e84ef7e3 8256189: Exact VarHandle tests should test withInvokeBehavior() works as expected
Reviewed-by: mcimadamore, chegar
2020-11-18 19:01:52 +00:00
Michael McMahon
6948456dbf 8256461: AbstractFileSystemProvider.getSunPathForSocketCall for empty Path returns '.'
Reviewed-by: dfuchs, alanb
2020-11-18 08:43:51 +00:00
Xubo Zhang
c08921487b 8255368: Math.exp() gives wrong result for large values on x86 32-bit platforms
Reviewed-by: darcy, kvn
2020-11-18 04:49:15 +00:00
Nick Gasson
26a1ec1b96 8256435: [TESTBUG] java/foreign/TestHandshake.java fails with direct buffer memory OOM
Reviewed-by: mcimadamore
2020-11-18 02:08:20 +00:00
Daniel Fuchs
9dbbe83a06 8256146: Cleanup test/jdk/java/nio/channels/DatagramChannel/Connect.java
Reviewed-by: alanb
2020-11-17 12:21:11 +00:00
Michael McMahon
9d0ee66f2d 8255758: JEP 380 spec clarifications
Reviewed-by: dfuchs, alanb
2020-11-17 12:12:08 +00:00
Rafael Winterhalter
53a31889fe 8202471: (ann) Cannot read type annotations on generic receiver type's type variables
Reviewed-by: jfranck
2020-11-17 11:23:47 +00:00
Roland Westrelin
a7422ac2f4 8255150: Add utility methods to check long indexes and ranges
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Reviewed-by: jvernee, dlong, vlivanov
2020-11-17 10:37:27 +00:00
Naoto Sato
bf84dac4cf 8247781: Day periods support
Reviewed-by: scolebourne, rriggs, joehw
2020-11-16 23:12:45 +00:00
Daniel Fuchs
1c47244b01 8255244: HttpClient: Response headers contain incorrectly encoded Unicode characters
Reviewed-by: chegar, michaelm
2020-11-13 15:10:41 +00:00
Patrick Concannon
5973e91cc3 8253005: Add @throws IOException in javadoc for HttpEchange.sendResponseHeaders
Reviewed-by: dfuchs
2020-11-13 11:31:25 +00:00
Aleksey Shipilev
b4d0186718 8253525: Implement getInstanceSize/sizeOf intrinsics
Reviewed-by: kvn, sspitsyn
2020-11-13 08:20:11 +00:00
Mandy Chung
dff26a489d 8256063: Module::getPackages on an unnamed module may return packages that are in a named module
Reviewed-by: alanb, chegar
2020-11-13 00:32:29 +00:00
Roger Riggs
b5a9c92b7a 8256244: java/lang/ProcessHandle/PermissionTest.java fails with TestNG 7.1
Reviewed-by: lancea, iignatyev
2020-11-12 17:06:00 +00:00
Sergey Bylokhov
1c0b490c28 8256201: java/awt/FullScreen/FullscreenWindowProps/FullscreenWindowProps.java failed
Reviewed-by: jdv
2020-11-12 17:00:15 +00:00
Maurizio Cimadamore
3e70aac5cc 8254162: Implementation of Foreign-Memory Access API (Third Incubator)
Reviewed-by: erikj, psandoz, alanb
2020-11-12 16:37:23 +00:00
Sergey Bylokhov
be635258fa 8211999: Window positioning bugs due to overlapping GraphicsDevice bounds (Windows/HiDPI)
Reviewed-by: kizune, aivanov
2020-11-11 01:29:33 +00:00
Jorn Vernee
0a41ca6b75 8254354: Add a withInvokeExactBehavior() VarHandle combinator
Reviewed-by: psandoz, chegar
2020-11-10 23:26:02 +00:00
Mandy Chung
6d8acd2696 8256066: Tests use deprecated TestNG API that is no longer available in new versions
Reviewed-by: jjg
2020-11-10 17:51:52 +00:00
Sergey Bylokhov
2d6c28db24 6847157: java.lang.NullPointerException: HDC for component at sun.java2d.loops.Blit.Blit
Reviewed-by: prr
2020-11-09 06:35:50 +00:00
Sergey Bylokhov
2cad836833 8255575: java.awt.color.ICC_ColorSpace is not thread-safe
Reviewed-by: prr
2020-11-09 01:28:19 +00:00
Sergey Bylokhov
a53b12df2d 8255722: Create a new test for rotated blit
Reviewed-by: prr
2020-11-09 01:12:46 +00:00
Conor Cleary
f5d36e6c94 8246741: NetworkInterface/UniqueMacAddressesTest: mac address uniqueness test failed
Reviewed-by: chegar, dfuchs
2020-11-06 17:35:24 +00:00
Brian Burkhalter
727a69f537 8255969: Improve java/io/BufferedInputStream/LargeCopyWithMark.java using jtreg tags
Reviewed-by: naoto
2020-11-06 16:15:14 +00:00
Brian Burkhalter
a50fdd5484 8219014: (bf) Add absolute bulk put methods which accept a source Buffer
Reviewed-by: psandoz, alanb
2020-11-05 16:27:49 +00:00
Mandy Chung
94ace035a5 8255863: Clean up test/jdk/java/lang/invoke/defineHiddenClass/BasicTest.java
Reviewed-by: rriggs, chegar
2020-11-04 17:44:09 +00:00
Brian Burkhalter
c287170c94 8254742: InputStream::readNBytes(int) result may contain zeros not in input
Reviewed-by: shade, bchristi
2020-11-04 16:50:02 +00:00
Kim Barrett
6023f6b1bf 8188055: (ref) Add Reference::refersTo predicate
Reviewed-by: mchung, pliden, rriggs, dholmes, ihse, smarks, alanb
2020-11-04 09:18:23 +00:00
Brian Burkhalter
450452bb8c 8254876: (fs) NullPointerException not thrown when first argument to Path.of or Paths.get is null
Reviewed-by: rriggs, alanb
2020-11-03 19:39:28 +00:00
Sergey Bylokhov
83f3cf4298 8196087: java/awt/image/DrawImage/IncorrectUnmanagedImageRotatedClip.java fails
Reviewed-by: jdv
2020-11-03 18:28:19 +00:00
Jorn Vernee
b8d4e02ce7 8255374: Add a dropReturn MethodHandle combinator
Reviewed-by: redestad
2020-11-03 12:10:48 +00:00
Naoto Sato
6dac8d2780 8255671: Bidi.reorderVisually has misleading exception messages
Reviewed-by: joehw
2020-11-02 16:48:16 +00:00
Christian Stein
f61ce32770 8255576: (fs) Files.isHidden() throws ArrayIndexOutOfBoundsException (unix)
Reviewed-by: alanb
2020-11-01 12:39:43 +00:00
Mandy Chung
5782a2a309 8254975: lambda proxy fails to access a protected member inherited from a split package
Reviewed-by: rriggs
2020-10-29 21:11:37 +00:00
Conor Cleary
d5138d1fce 8255604: java/nio/channels/DatagramChannel/Connect.java fails with java.net.BindException: Cannot assign requested address: connect
Reviewed-by: dfuchs, michaelm
2020-10-29 19:08:06 +00:00
Jorn Vernee
2a2fa134c3 8255449: Improve the exception message of MethodHandles::permuteArguments
Reviewed-by: chegar, mchung
2020-10-29 18:32:48 +00:00
Conor Cleary
ea26ff1142 8247614: java/nio/channels/DatagramChannel/Connect.java timed out
Reviewed-by: dfuchs, alanb
2020-10-29 09:57:09 +00:00
Michael McMahon
6bb7e45e8e 8245194: Unix domain socket channel implementation
Reviewed-by: erikj, dfuchs, alanb, chegar
2020-10-28 17:26:26 +00:00
Vicente Romero
8bde2f4e3d 8255013: implement Record Classes as a standard feature in Java, follow-up
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: jlahoda
2020-10-28 17:18:46 +00:00
Prasanta Sadhukhan
767965046e 8231231: The printing result is different from the case instruction
Reviewed-by: prr
2020-10-27 11:16:27 +00:00
Sergey Bylokhov
abdbbe3a79 8254370: Update the classes in the java.awt.color package
Reviewed-by: prr
2020-10-26 23:56:11 +00:00
Daniel Kamil Kozar
b498433631 8254825: Monitoring available clipboard formats should be done via new Windows APIs
Reviewed-by: serb
2020-10-26 19:13:20 +00:00
Sergey Bylokhov
49c4978d0a 8060202: [macosx] Test closed/java/awt/Choice/GetSizeTest/GetSizeTest fails only in MacOSX(10.10)
Reviewed-by: prr
2020-10-26 18:35:52 +00:00
Aleksey Shipilev
c28b011121 8255343: java/util/stream/SpliteratorTest.java fails on 32-bit platforms with "Misaligned access at address: 12"
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore
2020-10-26 07:11:44 +00:00
Naoto Sato
57d903bdd9 8255242: Bidi.requiresBidi has misleading exception message
Reviewed-by: bchristi
2020-10-25 18:22:10 +00:00
Kiran Sidhartha Ravikumar
55a0cad827 8254982: (tz) Upgrade time-zone data to tzdata2020c
Reviewed-by: erikj, naoto
2020-10-23 10:13:08 +00:00
Naoto Sato
ff5f2265d2 8255086: Update the root locale display names
Reviewed-by: bchristi, joehw
2020-10-23 01:13:36 +00:00
Brent Christian
8afdcaee1c 8255031: Update java/util/prefs/AddNodeChangeListener.java to report more failure info
Reviewed-by: bpb
2020-10-22 21:45:43 +00:00
Raffaello Giulietti
0efdde188b 8238669: Long.divideUnsigned is extremely slow for certain values (Needs to be Intrinsic)
Reviewed-by: bpb
2020-10-21 16:32:59 +00:00
Fernando Guallini
f813a28b95 8254692: (se) Clarify the behaviour of the non-abstract SelectorProvider::inheritedChannel
Reviewed-by: chegar, bpb, alanb
2020-10-21 14:54:19 +00:00
Sergey Bylokhov
2e510e04bd 8255043: Incorrectly styled copyright text
Reviewed-by: dholmes, trebari, jdv
2020-10-21 04:53:16 +00:00
Sergey Bylokhov
2ee2b4ae19 8231454: File lock in Windows on a loaded jar due to a leak in Introspector::getBeanInfo
Reviewed-by: kizune
2020-10-21 02:05:16 +00:00
Sergey Bylokhov
e5870cf002 8252133: The java/awt/GraphicsDevice/DisplayModes/CycleDMImage.java fails if metal pipeline is active
Reviewed-by: prr
2020-10-21 00:15:46 +00:00