Commit Graph

615 Commits

Author SHA1 Message Date
Toshio Nakamura
a8506cb4e1 8042131: DateTimeFormatterBuilder Mapped-values do not work for JapaneseDate
Reviewed-by: rriggs, scolebourne
2018-06-19 08:19:54 -07:00
Phil Race
e413a29459 Merge 2018-06-15 13:07:46 -07:00
Phil Race
66acbf166a 8204929: Fonts with embedded bitmaps are not always rotated
Reviewed-by: bae
2018-06-15 13:05:34 -07:00
Brian Burkhalter
edbda00716 8205062: (fs) Improve some print diagnostics in java/nio/file/Files/CopyAndMove.java
Reviewed-by: alanb
2018-06-15 12:48:19 -07:00
Brian Burkhalter
c390783ee2 8205641: Make java/nio/channels/Selector/RacyDeregister.java noisier and flush after prints
Reviewed-by: alanb
2018-06-26 09:33:55 -07:00
Alan Bateman
807c4ae4a3 8205612: (fc) Files.readAllBytes fails with ClosedByInterruptException when interrupt status set
Reviewed-by: bpb
2018-06-26 08:13:02 +01: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
Paul Sandoz
14651d9e02 8195650: Method references to VarHandle accessors
Reviewed-by: jrose
2018-06-25 14:39:44 -07:00
Patrick Reinhart
f44956330d 8204930: Reader:nullReader() spec does not match the behavior
Reviewed-by: bpb, rriggs
2018-06-25 14:36:16 -07:00
Xue-Lei Andrew Fan
87c6761704 8196584: TLS 1.3 Implementation
Co-authored-by: Adam Petcher <adam.petcher@oracle.com>
Co-authored-by: Amanda Jiang <amanda.jiang@oracle.com>
Co-authored-by: Anthony Scarpino <anthony.scarpino@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Jamil Nimeh <jamil.j.nimeh@oracle.com>
Co-authored-by: John Jiang <sha.jiang@oracle.com>
Co-authored-by: Rajan Halade <rajan.halade@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Reviewed-by: ascarpino, coffeys, dfuchs, jjiang, jnimeh, mullan, rhalade, ssahoo, valeriep, weijun, wetmore, xuelei
2018-06-25 13:41:39 -07:00
Vivek Theeyarath
df2f01daf1 8202216: Add Buffer mismatch methods
Reviewed-by: plevart, psandoz
2018-06-14 23:09:11 -07:00
Liam Miller-Cushon
b61c993004 7183985: (ann) Class.getAnnotation() throws an ArrayStoreException when the annotation class not present
Reviewed-by: darcy, martin, vromero
2018-06-14 17:32:31 -07:00
Erik Joelsson
8e3570cfc2 8204973: Add build support for filtering translations
Reviewed-by: ihse, naoto, dfuchs
2018-06-15 09:53:28 -07:00
Brent Christian
ea01772a00 8204565: (spec) Document java.{vm.}?specification.version system properties' relation to $FEATURE
Reviewed-by: mchung
2018-06-12 14:08:24 -07:00
Stuart Marks
4ad2957dd0 8204243: remove Thread.destroy() and Thread.stop(Throwable)
Reviewed-by: dholmes, alanb, sspitsyn, iris
2018-06-12 13:24:37 -07:00
Michael McMahon
5cbda815d0 8206001: Enable TLS1.3 by default in Http Client
Reviewed-by: dfuchs
2018-07-04 16:16:24 +01:00
Per Lidén
e7af7a4aef 8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Co-authored-by: Gerard Ziemski <gerard.ziemski@oracle.com>
Co-authored-by: Hugh Wilkinson <hugh.wilkinson@intel.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Co-authored-by: Bill Wheeler <bill.npo.wheeler@intel.com>
Co-authored-by: Vinay K. Awasthi <vinay.k.awasthi@intel.com>
Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: pliden, stefank, eosterlund, ehelin, sjohanss, rbackman, coleenp, ihse, jgeorge, lmesnik, rkennke
2018-06-12 17:40:28 +02:00
Rachna Goel
65a85be9c7 8202537: CLDR33
Upgraded CLDR data to V33.

Reviewed-by: naoto
2018-06-15 11:58:34 +05:30
Brian Burkhalter
06eb010e7e 8204915: (fs) Add some print diagnostics to java/nio/file/Files/CopyAndMove.java
Reviewed-by: bchristi
2018-06-13 13:12:50 -07:00
Joe Wang
ca487166f4 8201276: (fs) Add methods to Files for reading/writing a string from/to a file
Reviewed-by: rriggs, smarks, sherman, forax, alanb, mli
2018-06-13 12:50:45 -07:00
Vivek Theeyarath
d7fe353db7 8204342: methods in java.time s TCKZoneRules OpenJDK test miss Test annotation
Added Test annotation to test methods

Reviewed-by: rriggs, naoto
2018-06-12 22:23:35 -07:00
Jan Lahoda
78b7362c97 8193302: Javac AssertionError: typeSig ERROR on usage of @Generated
Importing from an invisible package whose name is a prefix of a visible package is not allowed.

Reviewed-by: vromero
2018-06-13 12:52:21 +02:00
Nishit Jain
0cb3d46cd7 8193444: SimpleDateFormat throws ArrayIndexOutOfBoundsException when format contains long sequences of unicode characters
Reviewed-by: naoto, rriggs
2018-07-13 14:04:59 +05:30
Chris Yin
d51c1b87d2 8201528: Add new test to check for package versioning information in OpenJDK
Reviewed-by: mchung
2018-06-12 08:51:28 +08:00
Phil Race
bbe63638bb Merge 2018-06-08 13:32:51 -07:00
Phil Race
f50d8b036b Merge 2018-06-08 12:51:46 -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
Brian Burkhalter
683eebde09 8204576: (fs) java/nio/file/Files/CopyAndMove.java does not set isUnix = true on macOS
Reviewed-by: alanb
2018-06-08 07:58:19 -07:00
Phil Race
d880f16eaf 8204126: MonospacedGlyphWidthTest.java failed again
Reviewed-by: serb
2018-06-07 11:35:42 -07:00
Vladimir Kozlov
42e75b8c79 8202611: [GRAAL] Exclude CMS GC testing from runs with Graal
Reviewed-by: iignatyev, kbarrett
2018-06-07 17:38:34 -07:00
Sergey Bylokhov
fc1016ce18 8203224: java.awt.desktop.*Event classes could not be instantiated if Desktop feature is not supported
Reviewed-by: prr, kaddepalli
2018-06-06 15:37:10 -07:00
Brian Burkhalter
e9f3b0e527 8201407: Files.move throws DirectoryNonEmptyException when moving directory across file system
Reviewed-by: alanb
2018-06-07 07:43:29 -07:00
Alan Bateman
2466623e45 6350055: (se) SelectionKey.interestOps variants to atomically update interest ops
Co-authored-by: David M Lloyd <david.lloyd@redhat.com>
Reviewed-by: bpb
2018-06-07 09:18:39 +01:00
Phil Race
3d93888690 8203796: Define API to support specifying ownership of print dialogs
Reviewed-by: serb, kcr
2018-06-06 12:51:44 -07:00
Phil Race
f6245c499f 8204496: backout fix for 8203796 which was pushed under another ID
Reviewed-by: serb
2018-06-06 12:35:44 -07:00
Phil Race
24dd5debd4 8203499: Uninitialised memory in WinAccessBridge.cpp
Reviewed-by: serb
2018-06-06 10:44:27 -07:00
Phil Race
39f36c179d Merge 2018-06-06 09:41:16 -07:00
Vicente Romero
afe3bef2d8 8204322: "+=" applied to String operands can provoke side effects
Reviewed-by: mcimadamore, jlahoda, shade
2018-06-06 08:32:08 -07:00
Alan Bateman
79ed34634b 8203937: Not possible to read data from socket after write detects connection reset
Reviewed-by: chegar
2018-06-06 12:17:01 +01: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
Sergey Bylokhov
014033a098 8196030: AWT Robot mouseMove fails on Windows 10 1709 with HiDPI
8190326: Robot.mouseMove uses scaling factor of main display on unscaled second display

Reviewed-by: prr, kcr
2018-06-04 20:32:19 -07:00
Phil Race
f3f7c9878c Merge 2018-05-31 13:04:30 -07:00
Sergey Bylokhov
bff7725b4d 8195624: Desktop API cannot be used without permission to read "os.version"
Reviewed-by: prr
2018-05-30 22:03:12 -07:00
Sergey Bylokhov
f13ea2ea31 8196373: Introspector does not see overridden generic setter method
Reviewed-by: malenkov
2018-05-30 08:10:41 -07:00
Alan Bateman
db61a602f6 8199433: (se) select(Consumer<SelectionKey> action) as alternative to selected-key set
Reviewed-by: bpb
2018-06-16 10:10:54 +01:00
Vivek Theeyarath
5103e3b4a3 8177276: MethodHandles.insertArguments doesn't specify IllegalArgumentException on index mismatch
Correct MethodHandles.insertArguments spec

Reviewed-by: psandoz, mchung, ntv
2018-05-25 22:56:00 -07:00
Brian Burkhalter
9269c67670 8203765: java/nio/channels/Selector/SelectAndClose: add some prints and @intermittent tag
Reviewed-by: alanb
2018-05-31 07:37:06 -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
Vyom Tewari
6a48db9cf6 8194298: Add support for per Socket configuration of TCP keepalive
Reviewed-by: chegar, clanger, igerasim, alanb
2018-05-30 16:36:35 +05:30
Phil Race
9a9dad8b63 8191522: Remove Bigelow&Holmes Lucida fonts from JDK sources
Reviewed-by: serb, erikj
2018-05-25 16:23:17 -07:00
Phil Race
5ff01c4163 Merge 2018-05-25 12:12:24 -07: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
Roger Riggs
474a1253bb 8203368: ObjectInputStream filterCheck method throws NullPointerException
Reviewed-by: bpb, smarks
2018-05-25 13:29:25 -04:00
Andrew Brygin
db67279f08 8203485: [freetype] text rotated on 180 degrees is too narrow
Reviewed-by: prr, serb
2018-05-25 11:35:31 +03:00
Brian Burkhalter
5c90486c43 8202290: AtomicAppend tests fail on macOS 10.13 ("High Sierra")
Reinstate actual running of tests for macOS version >= 10.13.

Reviewed-by: alanb
2018-05-25 07:22:37 -07:00
Brian Burkhalter
18d880bad8 8203766: Add some instrumentation to jdk/java/nio/channels/Selector/RacyDeregister.java
Reviewed-by: alanb
2018-05-24 12:29:50 -07:00
Chris Hegarty
cfe6c55f1e 8203297: java/net/URL/OpenStream.java fails intermittently
Reviewed-by: alanb, dfuchs
2018-05-24 15:23:28 +01: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
Sergey Bylokhov
606c9e56a3 8203027: Open source tests for "java.awt.geom"
Reviewed-by: prr, jdv
2018-05-22 17:33:31 -07:00
Sergey Bylokhov
4549cb8a69 8201364: [macosx] Component.getLocation() gives inconsistent coordinate for a component at (0,0)
Reviewed-by: dmarkov
2018-05-17 14:41:23 -07:00
Alan Snyder
d7e59b52c5 8194327: [macos] AWT windows have incorrect main/key window behaviors
Reviewed-by: serb, erikj
2018-05-16 16:46:51 -07:00
Phil Race
ca8b59370b Merge 2018-05-15 10:13:52 -07:00
Pankaj Bansal
4d00df3200 8196616: ava/awt/GraphicsDevice/DisplayModes/CompareToXrandrTest.java fails
Reviewed-by: prr, mhalder
2018-05-15 18:03:31 +05:30
Alan Bateman
d64c38aab2 8203059: (so) Closing a socket channel registered with Selector and with SO_LINGER set to 0 does not reset connection
Reviewed-by: chegar
2018-05-15 09:33:02 +01:00
Felix Yang
e02ef02e11 8202708: Add a check of opening stream for not-existing UNC url
Reviewed-by: rriggs
2018-05-14 11:17:18 -07:00
Jim Laskey
7906014509 8200377: String::strip, String::stripLeading, String::stripTrailing
Reviewed-by: sundar, rriggs
2018-05-14 09:40:48 -03:00
Phil Race
edae7e15b2 8198412: MonospacedGlyphWidthTest.java may fail on Solaris
Reviewed-by: serb
2018-05-11 20:59:21 -07:00
Prem Balakrishnan
c82da05b9d 8196360: java/awt/Dialog/SiblingChildOrder/SiblingChildOrderTest.java fails
Reviewed-by: serb, sveerabhadra, jdv
2018-05-11 21:03:07 +05:30
Phil Race
0b2ecd51c9 Merge 2018-05-08 12:13:57 -07:00
Phil Race
de1b60775b 8202767: java/awt/font/GlyphVector/TestLayoutFlags.java is missing null check
Reviewed-by: serb
2018-05-08 10:55:09 -07:00
Adam Petcher
f5a247a85f 8171277: Elliptic Curves for Security in Crypto
Implementations of X25519 and X448 key agreement in SunEC

Reviewed-by: mullan
2018-05-08 09:47:28 -04:00
Rachna Goel
78bd242097 8191410: Unicode 10
Upgrade to Unicode 10

Reviewed-by: naoto, rriggs, igerasim
2018-05-08 11:49:42 +05:30
David Holmes
8eb4c9db2a 8202686: Missing test case for 8200167 - final Object methods
Reviewed-by: psandoz
2018-05-07 19:31:39 -04:00
Phil Race
6bd0608f21 8176510: java/awt/font/GlyphVector/TestLayoutFlags.java fails with OpenJDK
Reviewed-by: serb
2018-05-07 13:36:36 -07:00
Mandy Chung
0e1bd1f99d 8202113: Reflection API is causing caller classes to leak
Reviewed-by: alanb, plevart
2018-05-11 14:21:46 -07:00
Hamlin Li
5f48fe5cab 8202756: move FilterUSRTest.java to openJDK
Reviewed-by: rriggs
2018-05-11 17:50:00 +08:00
Phil Race
69c55eb2de Merge 2018-05-04 09:46:08 -07:00
Lois Foltan
2464e2b11e 8189916: Dynamic Constant support for Sparc
Change to the template interpreter to support dynamic constant on Sparc.

Reviewed-by: coleenp, psandoz
2018-05-04 12:14:09 -04:00
Phil Race
d8cfaff123 Merge 2018-05-04 08:50:01 -07:00
Phil Race
1f62f34da0 8154463: New failure of closed/java/awt/font/Outline/OutlineInvarianceTest.java
Reviewed-by: serb
2018-05-02 13:23:34 -07:00
Phil Race
de8051e063 Merge 2018-05-02 09:16:10 -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
Stefan Karlsson
fcfd260c1f 8204173: Lower the minimum number of heap memory pools in MemoryTest.java
Reviewed-by: mchung, sjohanss
2018-06-05 15:56:23 +02:00
Lois Foltan
6379f91c00 8203435: Circular nested dynamic constant test needed to confirm JVMS resolution behavior
Additional of circular nested dynamic constant test.

Reviewed-by: acorn, psandoz
2018-06-04 11:32:00 -04:00
Chris Hegarty
8e69e1b11f 8202423: Small HTTP Client refresh
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Michael McMahon <michael.x.mcmahon@oracle.com>
Co-authored-by: Pavel Rappo <pavel.rappo@oracle.com>
Reviewed-by: chegar, dfuchs, michaelm, prappo
2018-05-02 02:36:17 -07:00
John Rose
d05ed512ac 8200167: Validate more special case invocations
Co-authored-by: Vladimir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Reviewed-by: acorn, vlivanov, dholmes
2018-04-30 21:56:54 -04:00
Brian Burkhalter
cdd3f0ac39 8202284: FileChannel and FileOutpuStream variants of AtomicAppend should fail silently on macOS >= 10.13
Reviewed-by: chegar
2018-04-30 13:40:39 -07:00
Jaikiran Pai
3e47229057 8201545: InetAddress.getByName/getAllByName should clarify empty String behavior
Reviewed-by: chegar
2018-04-30 16:13:30 +01:00
Vivek Theeyarath
31c128ef22 8195717: test java/lang/invoke/MethodHandlesTest timed out running testAsCollector1
Refactor MethodHandlesTest

Reviewed-by: psandoz
2018-05-03 04:18:22 -07:00
Hamlin Li
6869c08e6a 8202291: java/rmi/Naming/LookupIPv6.java failed with Connection refused
Reviewed-by: clanger
2018-05-07 18:23:59 +08:00
Vladimir Ivanov
3ecce1fe48 8202465: [C1] casts should not be eliminated for interface types
Reviewed-by: jrose, thartmann
2018-05-04 16:49:22 -07:00
Mandy Chung
bd18ef4c18 8201793: (ref) Reference object should not support cloning
Reviewed-by: psandoz, kbarrett
2018-05-03 11:18:57 -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
Hamlin Li
673e292ffe 8157543: java/nio/channels/Selector/SelectAndCancel.java fails intermittently
Reviewed-by: alanb
2018-04-26 10:29:44 +08:00
Bhanu Prakash Gopularam
e836d6ec10 8196540: [Testbug] java/security/AccessController/DoPrivAccompliceTest.java doesn't handle unrelated warnings
Reviewed-by: mullan
2018-04-25 12:39:05 +05:30
Sergey Bylokhov
8ca8d45fb5 8200146: Remove the appletviewer launcher
Reviewed-by: prr, ihse
2018-04-23 14:06:46 -07:00
Phil Race
e0c6bd5c09 8200313: java/awt/Gtk/GtkVersionTest/GtkVersionTest.java fails
Reviewed-by: serb, kaddepalli
2018-04-20 09:44:45 -07:00
Phil Race
568874f545 Merge 2018-04-20 09:05:05 -07:00
Phil Race
58525d3d0d Merge 2018-04-18 08:48:06 -07:00
Sergey Bylokhov
73509bf4a0 8201626: Typo in MakeWindowAlwaysOnTop test
Reviewed-by: jdv
2018-04-17 18:10:13 -07:00
Alan Bateman
33b921f25d 8201315: (se) Allow SelectableChannel.register to be invoked while selection operation is in progress
Reviewed-by: bpb
2018-04-18 10:20:09 +01:00
Felix Yang
2997d6f6f0 8194260: Point-to-point interface should be excluded from java/net/ipv6tests/*
Reviewed-by: chegar, vtewari
2018-04-17 23:27:41 -07:00
Alexey Ivanov
aeadf76406 8201433: Fix potential crash in BufImg_SetupICM
Reviewed-by: prr, serb
2018-04-14 00:25:12 +01:00
Phil Race
344e8f9bf4 Merge 2018-04-13 09:04:18 -07:00
Weijun Wang
0b6fbf50d2 8200468: Port the native GSS-API bridge to Windows
Reviewed-by: ihse, valeriep
2018-04-13 15:29:33 +08:00
Hamlin Li
0ee5e92ddd 8078221: java/rmi/Naming/DefaultRegistryPort.java fails intermittently
Reviewed-by: rriggs
2018-04-13 09:06:37 +08:00
Phil Race
e5f945b7cd Merge 2018-04-12 16:25:29 -07:00
Chris Yin
8483faa4a9 8197418: Move java/util/RandomAccess/ tests into OpenJDK
Reviewed-by: psandoz
2018-04-12 10:19:31 +08:00
Paul Sandoz
d3760023e6 8199875: Require first parameter type of a condy bootstrap to be Lookup
Reviewed-by: jrose
2018-04-11 11:11:13 -07:00
Naoto Sato
a9e6a67296 8189784: Parsing with Java 9 AKST timezone returns the SystemV variant of the timezone
Reviewed-by: erikj, sherman
2018-04-11 09:14:47 -07:00
Michael McMahon
3b1fdecd45 8196775: java/net/Socket/asyncClose/Race.java failed intermittently on Windows with ConnectException: Connection refused
Reviewed-by: dfuchs
2018-04-11 10:19:37 +01:00
Hamlin Li
6b2da27d9a 8188897: java/rmi/registry/reexport/Reexport.java failed with Port already in use
Reviewed-by: rriggs, darcy
2018-04-11 09:08:43 +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
Hamlin Li
17da4aca08 8161991: java/nio/channels/AsynchronousSocketChannel/Basic.java failed due to RuntimeException: WritePendingException expected
8171404: java/nio/channels/AsynchronousSocketChannel/Basic.java failed with "AsynchronousCloseException expected"
8201520: AsynchronousSocketChannel/Basic.java timeout intermitently

Reviewed-by: alanb
2018-04-20 15:16:36 +08: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
Ivan Gerasimov
9303a8a180 8201510: Merge TwoStacksPlainSocketImpl into DualStackPlainSocketImpl [win]
Reviewed-by: chegar
2018-04-19 09:36:06 -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
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
Phil Race
bd2fef5689 Merge 2018-04-10 13:58:47 -07:00
Phil Race
d215683b97 Merge 2018-04-09 08:34:30 -07:00
Weijun Wang
f965fb8986 8200792: PKCS12Attribute#hashCode is always constant -1
Reviewed-by: xuelei
2018-04-08 11:32:46 +08:00
Ivan Gerasimov
9fe989cc39 8200788: Optimal initial capacity of java.lang.VarHandle.AccessMode.methodNameToAccessMode
Reviewed-by: redestad
2018-04-07 17:07:13 -07:00
Roger Riggs
fa2a23256c 8200706: Better cleanup for open/test/jdk/java/lang/ProcessBuilder/DestroyTest.java
Reviewed-by: psandoz, lancea
2018-04-06 12:49:23 -04:00
Martin Buchholz
5c8c67c523 8200128: Fix some "annoations" typos
Reviewed-by: alanb
2018-04-05 09:36:01 -07:00
Alan Bateman
97d7cfb14e 8200458: (se) Readiness information previously recorded in the ready set not preserved
Reviewed-by: bpb, chegar
2018-04-05 15:04:09 +01:00
Ivan Gerasimov
277ac7e034 8200696: Optimal initial capacity of java.lang.Class.enumConstantDirectory
Reviewed-by: dholmes, redestad
2018-04-04 14:09:31 -07:00
Sean Mullan
ceea439679 8193032: Remove terminally deprecated SecurityManager APIs
Remove the checkTopLevelWindow, checkSystemClipboardAccess, checkAwtEventQueueAccess, and checkMemberAccess methods.

Reviewed-by: alanb, mchung, kcr
2018-04-04 11:26:10 -04:00
Jayathirth D V
435d90c8e0 Merge 2018-04-04 14:32:05 +05:30
Krishna Addepalli
4b5edce4f3 8200525: test java/awt/event/SequencedEvent/SequencedEventTest.java fails to compile
Reviewed-by: prr, serb
2018-04-02 16:52:11 +05:30
Stuart Marks
87e7768a1c 8195649: reorganize tests for java.util.Optional
Reviewed-by: psandoz
2018-03-30 14:36:18 -07:00
Sergey Bylokhov
97d533e06b 8198335: java/awt/FullScreen/UninitializedDisplayModeChangeTest/UninitializedDisplayModeChangeTest.java fails in headless mode
Reviewed-by: prr
2018-03-30 13:57:19 -07:00
Phil Race
239ec10926 Merge 2018-03-30 10:24:51 -07:00
Ivan Gerasimov
8a1bee438c 8178370: [TEST_BUG] java/security/Signature/SignatureLength.java fails
Reviewed-by: mullan
2018-03-29 22:12:05 -07:00
Phil Race
465a621660 8200200: test java/awt/image/ColorModel/Non_sRGBCMTest.java fails with open profiles
Reviewed-by: serb
2018-03-29 12:49:26 -07:00
Brian Burkhalter
dee3c23d5b 8200449: ReadAllReadNTransferTo fails occasionally
Don't pass a non-positive parameter to Random.nextInt(int).

Reviewed-by: chegar
2018-03-29 12:38:47 -07:00
Pallavi Sonal
cab25623b6 8144300: http.nonProxyHosts value having wildcard * both at end and start are not honored
Added validation for wildcard at start and end

Reviewed-by: chegar, dfuchs, clanger
2018-03-26 17:33:58 +05:30
Ivan Gerasimov
3d160a80fc 8198358: Align organization of TwoStacksPlainSocketImp with DualStackPlainSocketImpl [win]
Reviewed-by: chegar, clanger
2018-03-27 13:22:40 -07:00
Aleksey Shipilev
ab65d126af 8200241: [TESTBUG] java/lang/String/concat/ tests should not force source/target = 9 anymore
Reviewed-by: redestad, psandoz
2018-03-26 20:20:45 +02:00
Aleksey Shipilev
a048853756 8200118: [TESTBUG] String concat tests should test toString() application order
Reviewed-by: psandoz, redestad
2018-03-26 15:09:20 +02:00
Jesper Wilhelmsson
aa69f8c75c Merge 2018-03-24 01:08:35 +01:00
Felix Yang
2a4a941922 8196668: revisit test SunPackageAccess and GrantedSunPackageAccess
Reviewed-by: mchung
2018-03-28 21:57:03 -07:00
Martin Buchholz
4546512c19 8200310: Avoid charset lookup machinery in java.nio.charset.StandardCharsets
Reviewed-by: sherman, ulfzibis
2018-03-28 21:14:06 -07:00
Martin Buchholz
6f37b4cbce 8200116: ConstructInflaterOutput, ConstructDeflaterInput still spamming test logs
End() should always expect to be called eventually

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

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

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

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

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

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

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

Reviewed-by: alanb, erikj
2018-03-05 08:27:42 -08:00
Jesper Wilhelmsson
6a37cbc50c Merge 2018-03-02 21:00:12 +01:00