943 Commits

Author SHA1 Message Date
Aleksey Shipilev
7fd0bca8f7 8222410: java/nio/file/attribute/BasicFileAttributeView/UnixSocketFile hangs when "nc" does not accept "-U"
Reviewed-by: alanb
2019-04-15 18:22:08 +02:00
Brian Burkhalter
daa6cc9267 8218280: LineNumberReader throws "Mark invalid" exception if CRLF straddles buffer
Reviewed-by: dfuchs, prappo
2019-04-29 07:39:16 -07:00
Weijun Wang
21d50973d1 8223003: SunMSCAPI keys are not cleaned up
Reviewed-by: igerasim
2019-04-27 18:21:57 +08: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
Daniel Fuchs
72467d916c 8129315: java/net/Socket/LingerTest.java and java/net/Socket/ShutdownBoth.java timeout intermittently
Tests are updated to use the loopback address instead of the wildcard to avoid traffic being routed to a different server than what was intended by the test.

Reviewed-by: chegar
2019-04-26 16:25:43 +01:00
Alan Bateman
2998236d83 8222774: (ch) Replace uses of stateLock and blockingLock with j.u.c. locks
Reviewed-by: dfuchs, bpb, martin
2019-04-25 10:41:49 +01:00
Martin Balao
ae9ee277b6 8218854: FontMetrics.getMaxAdvance may be less than the maximum FontMetrics.charWidth
Consider algorithmic bold in FontMetrics.getMaxAdvance value and update obliqueness.

Reviewed-by: prr, serb
2019-03-01 12:21:23 -03:00
Sergey Bylokhov
f690eda707 8219504: Test for JDK-8211435 can be run on all platforms
Reviewed-by: kaddepalli, dmarkov, sveerabhadra
2019-03-09 14:48:17 -08:00
Sergey Bylokhov
b5998aadf0 8213110: Remove the use of applets in automatic tests
Reviewed-by: prr
2019-02-27 18:46:55 -08:00
Prasanta Sadhukhan
3981041086 Merge 2019-02-27 13:53:41 +05:30
Prasanta Sadhukhan
11bb82baca Merge 2019-02-26 11:17:12 +05:30
Daniel Fuchs
5f13ffec66 8219197: ThreadGroup.enumerate() may return wrong value
ThreadGroup.enumerate(list,n,recurse) should never return a value that is less than n.

Reviewed-by: clanger, chegar, prappo
2019-03-13 18:43:16 +00: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
Arthur Eubanks
ef9ce3be1e 8220083: Use InetAddress.getLoopbackAddress() in place of 127.0.0.1 for some tests
Tests that hardcode "127.0.0.1" fail in an environment where only IPv6 is available and IPv4 is not.

Reviewed-by: chegar, dfuchs, michaelm
2019-02-27 13:34:40 -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
Shashidhara Veerabhadraiah
d644970c02 8212202: [Windows] Exception if no printers are installed
Reviewed-by: prr
2019-02-25 11:02:53 +05:30
Coleen Phillimore
2a83596e85 8181171: Deleting method for RedefineClasses breaks ResolvedMethodName
8210457: JVM crash in ResolvedMethodTable::add_method(Handle)

Add a function to call NSME in ResolvedMethodTable to replace deleted methods.

Reviewed-by: sspitsyn, dholmes, dcubed
2019-02-26 08:01:20 -05:00
Vicente Romero
4d368850e1 8219480: j.l.c.ClassDesc::arrayType(int rank) throws IllegalArgumentException if rank = 0
Reviewed-by: mchung, briangoetz
2019-02-23 19:41:53 -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
Paul Hohensee
dc3c7b480d Merge 2019-02-20 11:43:59 -08: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
Brian Burkhalter
315b7d0399 5029431: (bf) Add absolute bulk put and get methods
Reviewed-by: alanb, darcy, chegar, rriggs
2019-02-20 10:57:22 -08:00
Harold Seigel
dd7e50dc01 8214719: Deprecate -Xverify:none option
Deprecate -Xverify:none and -noverify and remove them from tests

Reviewed-by: dholmes, mikael
2019-02-20 13:21:36 -05: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
Prasanta Sadhukhan
a3af92bab2 Merge 2019-02-18 10:45:21 +05:30
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
Alexey Ivanov
72f1f20605 8218682: [TEST_BUG] DashOffset fails in mach5
8198411: [TEST_BUG] Two java2d tests are unstable in mach5

Skip testing VolatileImage if IndexColorModel is detected

Reviewed-by: prr, serb
2019-02-14 20:20:49 +00:00
Nishit Jain
30b074d93c 8209175: Handle 'B' character introduced in CLDR 33 JDK update for Burmese (my) locale
Reviewed-by: naoto, rriggs
2019-02-26 14:57:23 +05:30
Alexey Ivanov
3fe6276adb 8217263: Automate DashOffset test
Reviewed-by: prr, serb
2019-02-07 13:57:12 +00:00
Mandy Chung
007d3c0143 8218461: test/jdk/java/lang/invoke/VarHandles should be generated rather than manually edited
Reviewed-by: bpb, vromero
2019-02-06 15:09:05 -08:00
Mandy Chung
752bd3d955 8218419: Can't get annotations that are present on packages in -Xbootclasspath/a
Reviewed-by: alanb
2019-02-06 10:53:13 -08:00
Roger Riggs
8d6e8618a9 8218453: More dynamic RMI interactions
Reviewed-by: ahgross, skoivu, smarks
2019-02-06 11:39:57 -05: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
Chris Hegarty
ac5daa7a22 Merge 2019-02-08 13:07:44 +00:00
Chris Hegarty
bba5ddd08f Merge 2019-02-08 12:44:16 +00:00
Chris Hegarty
fb05ae21bb 8218662: Allow 204 responses with Content-Length:0
Reviewed-by: michaelm
2019-02-08 12:23:16 +00:00
Chris Hegarty
10a281c485 8218546: Unable to connect to https://google.com using java.net.HttpClient
Reviewed-by: dfuchs
2019-02-08 11:26:21 +00: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
Ivan Gerasimov
076d2267b6 8218227: StringBuilder/StringBuffer constructor throws confusing NegativeArraySizeException
Reviewed-by: rriggs
2019-02-05 17:05:40 -08:00
Brian Burkhalter
f380787a41 8218460: Test generation scripts do not invoke stream preprocessor correctly
Reviewed-by: rriggs
2019-02-05 14:36:50 -08:00
Brian Burkhalter
724120457a 8211936: Better String parsing
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Paul Hohensee <hohensee@amazon.com>
Reviewed-by: bpb, darcy
2019-01-22 09:45:30 -08:00
Naoto Sato
dc3c9c8439 8220224: With CLDR provider, NumberFormat.format could not handle locale with number extension correctly
Reviewed-by: darcy
2019-03-22 09:31:36 -07:00
Alan Bateman
3a4d5db248 8221252: (sc) SocketChannel and its socket adaptor need to handle connection reset
Reviewed-by: bpb
2019-03-22 11:35:35 +00:00
Krishna Addepalli
cf132f89b2 8215921: There is no change when select different Foreground and Background by mouse
Reviewed-by: serb, psadhukhan
2019-01-30 15:02:05 +05:30
Christoph Langer
f828beb2d0 8217657: Move the test for default value of jdk.includeInExceptions into own test
Reviewed-by: mullan, goetz
2019-01-25 10:59:07 +00: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
Nishit Jain
0b082fcc1d 8217254: CompactNumberFormat:: CompactNumberFormat​() constructor does not comply with spec
8217721: CompactNumberFormat:: format​() method spec for IAEx is not complaint

Reviewed-by: naoto
2019-03-11 14:22:23 +05:30
Naoto Sato
473a26aebd 8218948: SimpleDateFormat :: format - Zone Names are not reflected correctly during run time
Reviewed-by: lancea, rgoel
2019-03-07 12:56:48 -08:00