Commit Graph

1029 Commits

Author SHA1 Message Date
Jayathirth D V
abe29730ed 8225105: java/awt/Focus/ShowFrameCheckForegroundTest/ShowFrameCheckForegroundTest.java fails in Windows 10
Reviewed-by: prr, serb
2019-06-03 11:56:48 +05:30
Prasanta Sadhukhan
4651ce7fc9 Merge 2019-06-03 11:06:24 +05:30
Toshio Nakamura
189e938d3a 8219901: Noto fonts for East Asian countries cannot belong to CompositeFont
Reviewed-by: prr, jdv
2019-06-02 16:59:41 -07:00
Phil Race
10cac15976 8225007: java/awt/print/PrinterJob/LandscapeStackOverflow.java may hang
Reviewed-by: serb, jdv
2019-05-30 09:23:14 -07:00
Prasanta Sadhukhan
72bef42c4a 8224821: java/awt/Focus/NoAutotransferToDisabledCompTest/NoAutotransferToDisabledCompTest.java fails linux-x64
Reviewed-by: jdv
2019-05-28 16:38:01 +05:30
Prasanta Sadhukhan
15acb9faf7 8224830: test/jdk/java/awt/Focus/ModalExcludedWindowClickTest/ModalExcludedWindowClickTest.java fails on linux-x64
Reviewed-by: jdv
2019-05-28 16:35:47 +05:30
Phil Race
a34bbe6c30 8224632: testbug: java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java fails on MacOS
Reviewed-by: serb, psadhukhan
2019-05-24 13:52:33 -07:00
Phil Race
cf5f70d4ec 8224771: backout RemoveDropTargetCrashTest.java fix to re-push with correct bugid
Reviewed-by: serb
2019-05-24 13:50:56 -07:00
Phil Race
501916030f 8224705: Tests that need to be problem-listed or have printer resources
Reviewed-by: serb, psadhukhan
2019-05-24 09:10:10 -07:00
Phil Race
033c08fcce 8223804: [macos] remove obsoleted reference to security framework in launcher code
Reviewed-by: rriggs, erikj
2019-05-23 15:02:47 -07:00
Arthur Eubanks
df9ad2af75 8224645: Only test multicast interfaces if they exist
Reviewed-by: alanb, dfuchs, chegar
2019-05-23 10:06:37 -07:00
Jim Laskey
9c6c6eae1d 8203444: String::formatted (Preview)
Reviewed-by: smarks, rriggs, sherman
2019-06-06 12:24:44 -03:00
Jim Laskey
fead01f2c9 8223780: String::translateEscapes (Preview)
Reviewed-by: abuckley, vromero, jlahoda, bchristi, igerasim, smarks
2019-06-06 12:24:44 -03:00
Jim Laskey
0777a86d68 8223775: String::stripIndent (Preview)
Reviewed-by: abuckley, vromero, jlahoda, bchristi, rriggs, smarks
2019-06-06 12:24:44 -03:00
Roger Riggs
8ee8c48696 8224905: java/lang/ProcessBuilder/Basic.java#id1 failed with stream closed
Reviewed-by: lancea, bpb, naoto
2019-06-06 10:03:22 -04:00
Lois Foltan
c66a7b734b 8225325: Add tests for redefining a class' private method during resolution of the bootstrap specifier
Add new tests

Reviewed-by: dholmes, sspitsyn
2019-06-05 22:19:09 -07:00
Chris Hegarty
cc353da44d 8225037: java.net.JarURLConnection::getJarEntry() throws NullPointerException
Reviewed-by: coffeys, vtewari
2019-06-05 13:59:44 +01:00
Naoto Sato
8dfd33c2b4 8223773: DateTimeFormatter Fails to throw an Exception on Invalid CLOCK_HOUR_OF_AMPM and HOUR_OF_AMPM
Reviewed-by: lancea, scolebourne, rriggs
2019-05-31 13:49:35 -07:00
Brian Burkhalter
cf4fa3f72f 8225117: java/math/BigInteger/SymmetricRangeTests.java fails with ParseException
Reviewed-by: darcy
2019-05-31 11:13:58 -07:00
Arno Zeller
bb2e4df367 8194231: java/net/DatagramSocket/ReuseAddressTest.java failed with java.net.BindException: Address already in use: Cannot bind
Changed test to no longer use hardcoded ports.

Reviewed-by: chegar, clanger
2019-05-28 20:12:16 +02:00
Chris Hegarty
53b022d9eb 8224973: URLStreamHandler.openConnection(URL,Proxy) - spec and implementation mismatch
Reviewed-by: alanb, dfuchs
2019-05-31 15:02:45 +01:00
Chris Hegarty
9fbdec42c4 8225214: Socket.getOption(SocketOption) not returning the expected type for the StandardSocketOptions.SO_LINGER
Reviewed-by: alanb
2019-06-05 12:02:01 +01: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
Mandy Chung
a9e23e8305 8222448: java/lang/reflect/PublicMethods/PublicMethodsTest.java times out
Set empty class path for compilation to avoid unnecessary opening/scanning of JAR files

Reviewed-by: alanb, dholmes
2019-06-04 12:50:15 -07:00
Andrey Turbanov
9eda28e6ea 6394787: Typos in javadoc of OIS.readObjectOverride and OOS.writeObjectOverride
Reviewed-by: alanb, chegar
2019-06-04 15:52:26 +01:00
Chris Hegarty
3ab3ffd29f 8224730: java.net.ServerSocket::toString not invoking checkConnect
Reviewed-by: alanb
2019-05-30 12:36:04 +01:00
Alan Bateman
7e14aeb133 8221481: Reimplement the Legacy Socket API
Reviewed-by: michaelm, chegar
2019-05-30 07:19:19 +01: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
Arthur Eubanks
acad8d1d68 8224081: SOCKS v4 doesn't work with IPv6
Reviewed-by: chegar, dfuchs, mullan, vtewari
2019-05-16 15:58:15 -07:00
Joe Darcy
bc10b6aaff 8224012: AnnotatedType implementations of hashCode() lead to StackOverflowError
Reviewed-by: jfranck
2019-05-29 09:53:28 -07:00
Chris Hegarty
bc24d17e80 8224477: java.net socket types new-style socket option methods - spec and impl mismatch
Reviewed-by: alanb
2019-05-29 13:58:05 +01:00
Daniel Fuchs
5461726dcc 8224761: Replace wildcard address with loopback or local host in tests - part 12
Fixes a batch of intermittent failures.

Reviewed-by: chegar, vtewari
2019-05-27 19:24:42 +01:00
Aleksei Efimov
57d319210a 8224035: Replace wildcard address with loopback or local host in tests - part 9
Reviewed-by: dfuchs
2019-05-27 13:29:11 +01: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
Daniel Fuchs
ee040e4be2 8224603: Replace wildcard address with loopback or local host in tests - part 11
Fixes a batch of tests that were observed failing intermittently.

Reviewed-by: chegar, vtewari
2019-05-24 15:34:14 +01:00
Naoto Sato
93fabcdc5a 8221431: Support for Unicode 12.1
Reviewed-by: erikj, rriggs
2019-05-23 12:21:21 -07:00
Arthur Eubanks
2bc89b0076 8224635: Revert 8224256 and add back java/security/SecureClassLoader/DefineClass.java test
Reviewed-by: mullan
2019-05-23 09:03:58 -07:00
Arthur Eubanks
3304879c68 8224256: test/jdk/java/security/SecureClassLoader/DefineClass.java hardcodes 127.0.0.1
Reviewed-by: chegar, dfuchs, mullan
2019-05-20 16:47:08 -07:00
Arthur Eubanks
f65e76fef0 8224248: test/jdk/java/net/InetAddress/CheckJNI.java assumes 127.0.0.1 is available
Reviewed-by: dfuchs, chegar
2019-05-20 14:19:19 -07:00
Vicente Romero
ff2fa1e422 8223914: specification of j.l.c.MethodTypeDesc::of should document better the exceptions thrown
Reviewed-by: rriggs
2019-05-22 09:26:48 -04:00
Naoto Sato
8f1d837e99 8224105: Cannot parse JapaneseDate string on some specified locales
Reviewed-by: bchristi
2019-05-21 13:40:56 -07:00
Vicente Romero
6002c4e426 8223723: j.l.c.MethodTypeDesc.dropParameterTypes​ throws the undocumented exception: IllegalArgumentException
Reviewed-by: rriggs
2019-05-21 15:44:00 -04:00
Arthur Eubanks
905330d4ea 8224014: Don't run test/jdk/java/net/NetworkInterface/IPv4Only.java in IPv6 only environment
Reviewed-by: chegar, dfuchs
2019-05-15 16:21:51 -07:00
Arthur Eubanks
21d398288d 8224019: test/jdk/java/nio/channels/DatagramChannel/BasicMulticastTests.java assumes IPv4 is always available
Reviewed-by: chegar, dfuchs, alanb
2019-05-15 17:21:18 -07:00
Deepak Kejriwal
a0a09f03e4 8206879: Currency decimal marker incorrect for Peru
Reviewed-by: naoto, rpatil
2019-05-16 12:14:37 +05:30
Daniel Fuchs
cd9e3c1b13 8223856: Replace wildcard address with loopback or local host in tests - part 8
Fixes some intermittent test failures by replacing wildcard with loopback - or retrying once.

Reviewed-by: aefimov, chegar
2019-05-20 12:37:40 +01: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
Vicente Romero
917645194b 8223803: j.l.c.MethodTypeDesc::insertParameterTypes​ doesn't control type of parameters
Reviewed-by: rriggs
2019-05-17 13:16:07 -04:00
Vicente Romero
fa2ea6a6d8 8223726: j.l.c.MethodTypeDesc spec should contain precise assertions for one parameter's methods
Reviewed-by: darcy
2019-05-16 13:34:33 -04:00
Arthur Eubanks
244bdce994 8224018: test/jdk/java/net/ipv6tests/{Tcp,Udp}Test.java assume IPv4 is available
Reviewed-by: dfuchs, chegar
2019-05-15 17:13:57 -07:00
Alan Bateman
a817ac3456 8223442: java/nio/channels/SocketChannel/AdaptorStreams.java testConcurrentTimedReadWrite3(): failure
Reviewed-by: michaelm
2019-05-16 17:06:53 +01:00
Aleksei Efimov
c9cdfad6ff 8223798: Replace wildcard address with loopback or local host in tests - part 7
Reviewed-by: dfuchs, vtewari
2019-05-15 19:47:28 +01:00
Arthur Eubanks
23301277c5 8223737: Fix HostsFileNameService for IPv6 literal addresses
Reviewed-by: chegar, msheppar
2019-05-10 17:13:02 -07:00
Prasanta Sadhukhan
e082ba12fc Merge 2019-05-15 13:54:43 +05:30
Prasanta Sadhukhan
dfe0ca547b Merge 2019-05-14 11:23:08 +05:30
Phil Race
8ca1211aab 8212700: Change the mechanism by which JDK loads the platform-specific AWT Toolkit
Reviewed-by: serb, rriggs
2019-05-10 16:22:35 -07:00
Ichiroh Takiguchi
0ea35e9bb9 8211826: StringIndexOutOfBoundsException happens via GetStringUTFRegion()
Reviewed-by: serb
2019-05-08 22:59:20 -07:00
Sergey Bylokhov
1d922fee0e 8144125: [macOS] java/awt/event/ComponentEvent/MovedResizedTwiceTest/MovedResizedTwiceTest.java failed automatically
Reviewed-by: dmarkov
2019-05-08 16:19:22 -07:00
Phil Race
1b03f22dff Merge 2019-05-07 11:52:28 -07:00
Daniel Fuchs
1188188ee6 8223463: Replace wildcard address with loopback or local host in tests - part 2
Removes (or documents) some usages of the wildcard address in intermittently failing tests.

Reviewed-by: alanb
2019-05-07 18:10:59 +01: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
Michael McMahon
7e142d54bf 8223457: java.net.ServerSocket protected constructor should throw NPE if impl null
Reviewed-by: dfuchs
2019-05-07 15:39:33 +01:00
Phil Race
501a6f3423 Merge 2019-05-02 10:48:56 -07:00
Michael McMahon
70ea5ab6e1 8216978: Drop support for pre JDK 1.4 SocketImpl implementations
Reviewed-by: chegar, alanb, dfuchs
2019-05-02 17:29:10 +01: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
Daniel Fuchs
7d4520c109 8223145: Replace wildcard address with loopback or local host in tests - part 1
Replaces binding to wildacard with alternative less susceptible to intermittent failure in some intermittently failing tests.

Reviewed-by: chegar, msheppar
2019-05-02 11:55:16 +01:00
Phil Race
d43616c60a 8130266: Change the mechanism by which JDK loads the platform-specific GraphicsEnvironment class
Reviewed-by: serb, bchristi
2019-04-29 10:16:58 -07:00
Sergey Bylokhov
ef7d75459c 6933331: (d3d/ogl) java.lang.IllegalStateException: Buffers have not been created
Reviewed-by: prr
2019-05-18 23:35:40 -07:00
Phil Race
d374151fb7 8208179: Devanagari not shown with logical fonts on Windows after removal of Lucida Sans from JDK
Reviewed-by: jdv, naoto
2019-04-26 12:31:37 -07:00
Sergey Bylokhov
4ee5f65691 8214046: [macosx] Undecorated Frame does not Iconify when set to
Reviewed-by: dmarkov
2019-04-25 15:15:53 -07:00
Ivan Gerasimov
4f02d011b0 8222955: Optimize String.replace(CharSequence, CharSequence) for common cases
Reviewed-by: redestad, tvaleev
2019-05-06 18:07:55 -07:00
Vicente Romero
c7faef0785 8219483: j.l.c.ClassDesc::nested(String, String...) doesn't throw NPE if any arg is null
Reviewed-by: darcy
2019-05-06 14:47:55 -04:00
Ivan Gerasimov
b7ea7e93aa 8223174: Pattern.compile() can throw confusing NegativeArraySizeException
Reviewed-by: martin
2019-05-03 23:00:07 -07:00
Phil Race
e3e016b54c 8212701: remove sun.desktop property from launcher code
Reviewed-by: serb, alanb, rriggs
2019-04-24 09:21:02 -07:00
Krishna Addepalli
2044245c90 8218917: KeyEvent.getModifiers() returns inconsistent values for ALT keys
Reviewed-by: serb
2019-04-22 17:02:51 +05:30
Prasanta Sadhukhan
7f9a1c0889 Merge 2019-04-22 10:53:45 +05:30
Coleen Phillimore
6ebf2ce655 8192936: RI does not follow the JVMTI RedefineClasses spec that is too strict in the definition
Introduce new flag fo compatibility: -XX:AllowRedefinitionToAddOrDeleteMethods

Reviewed-by: jcbeyler, sspitsyn
2019-04-19 21:49:54 -07:00
Daniel Fuchs
853da81cfe 8222527: HttpClient doesn't send HOST header when tunelling HTTP/1.1 through http proxy
HttpClient no longer filters out system host header when sending tunelling CONNECT request to proxy

Reviewed-by: michaelm
2019-04-18 17:56:46 +01:00
Sean Coffey
a712b37bd0 8217364: Custom URLStreamHandler for jrt or file protocol can override default handler
Reviewed-by: redestad
2019-05-02 22:52:51 +01:00
Brian Burkhalter
27f95e7553 8223254: DataOutputStream/WriteUTF.java fails due to "OutOfMemoryError: Java heap space"
Reviewed-by: lancea, rriggs
2019-05-02 14:15:09 -07:00
Brian Burkhalter
2c35825433 8220793: (fs) No support for changing modification time of symlink
Reviewed-by: alanb, rriggs
2019-05-02 13:25:00 -07:00
Claes Redestad
c23dc4dfcf 8222895: StackOverflowError in custom security manager that relies on ClassSpecializer
Reviewed-by: alanb
2019-05-02 10:38:00 +02:00
Claes Redestad
e7a6cbbd38 8222852: Reduce String concat combinator tree shapes by folding constants into prependers
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: shade, plevart, forax
2019-04-30 12:54:07 +02:00
Dmitry Batrak
b9f32c8148 8220231: Cache HarfBuzz face object for same font's text layout calls
Reviewed-by: prr, avu, serb
2019-04-11 10:49:36 -07:00
Prasanta Sadhukhan
a9bfe45ca8 Merge 2019-04-11 14:20:16 +05:30
Claes Redestad
8ee30d4fbe 8222029: Optimize Math.floorMod
Reviewed-by: aph, darcy
2019-04-10 20:03:07 +02:00
Prasanta Sadhukhan
de2e2b119a Merge 2019-04-10 10:46:53 +05:30
Valerie Peng
3b6b6b3cb3 8216039: TLS with BC and RSASSA-PSS breaks ECDHServerKeyExchange
Add internal Signature init methods to select provider based on both key and parameter

Reviewed-by: xuelei
2019-04-10 02:35:18 +00:00
Ivan Gerasimov
eebe346715 8221430: StringBuffer(CharSequence) constructor truncates when -XX:-CompactStrings specified
Co-authored-by: Andrew Leonard <andrew_m_leonard@uk.ibm.com>
Reviewed-by: igerasim, rriggs
2019-04-09 16:32:22 -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
Alexey Ivanov
9972a6fdaa 8221263: [TEST_BUG] RemotePrinterStatusRefresh test is hard to use
Reviewed-by: serb, prr
2019-04-09 08:50:08 +01:00
Sean Mullan
8b8759de8d 8020637: Permissions.readObject doesn't enforce proper Class to PermissionCollection mappings
Reviewed-by: weijun
2019-04-09 08:56:15 -04: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
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
Daisy Zhou
24f9c71c8d 8222969: Migrate RuleBasedCollatorTest to JDK Repo
Reviewed-by: naoto
2019-05-14 11:06:23 +08:00
Aleksey Shipilev
1e9927a2f2 8222111: exeCallerAccessTest.c fails to build: control reaches end of non-void function
Reviewed-by: alanb, dholmes
2019-04-08 15:25:27 +02:00
Mandy Chung
93ae73b091 8222078: test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c build fails after 8221530
Reviewed-by: lancea, dholmes
2019-04-07 03:00:52 +00:00
Mandy Chung
a5b9e0f7ba 8221530: Caller sensitive methods not handling caller = null when invoked by JNI code with no java frames on stack
Reviewed-by: alanb, dholmes, sundar
2019-04-06 21:16:40 +08:00