Commit Graph

1735 Commits

Author SHA1 Message Date
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
Mandy Chung
ab361746ec 8220282: Add MethodHandle tests on accessing final fields
Reviewed-by: lancea
2019-04-06 21:05:58 +08:00
Andrew Dinn
71164a973b 8221477: Inject os/cpu-specific constants into Unsafe from JVM
Initialize Unsafe os/cpu-specific constants using injection instead of native callouts

Reviewed-by: stuefe, coleenp, dholmes, plevart
2019-04-05 10:01:09 +01:00
Prasanta Sadhukhan
00df041948 Merge 2019-04-03 13:30:05 +05:30
Amy Lu
bb1e22adcf 8178335: fake pass: jdk/internal/ref/Cleaner/ExitOnThrow.java
Reviewed-by: mchung
2019-04-03 13:24:12 +08:00
Prasanta Sadhukhan
49193e2789 Merge 2019-04-02 10:57:57 +05:30
Weijun Wang
ae32136711 8221801: Update src/java.base/share/legal/public_suffix.md
Reviewed-by: xuelei
2019-04-02 11:05:08 +08:00
Xue-Lei Andrew Fan
2eb8492163 8168261: Use server cipher suites preference by default
Reviewed-by: mullan
2019-04-01 16:50:17 -07:00
Naoto Sato
0b2e2ca9bd 8174268: Declare a public field in JapaneseEra for the era starting May 2019
Reviewed-by: rriggs, chegar
2019-04-01 08:21:45 -07:00
Naoto Sato
2a510a6353 8205432: Replace the placeholder Japanese era name
Reviewed-by: rriggs, chegar
2019-04-01 08:19:21 -07:00
Gary Adams
6dad89ceae 8221694: jstatLineCounts1 needs to be NaN resilient
Reviewed-by: cjplummer, jcbeyler
2019-04-01 07:34:56 -04:00
Sergey Bylokhov
21d2f5139d 8221436: Incorrect check of package in Line.Info.toString()
Reviewed-by: prr
2019-03-29 23:14:37 -07:00
Sergey Bylokhov
5bffde3d4f 8215105: java/awt/Robot/HiDPIScreenCapture/ScreenCaptureTest.java: Wrong Pixel Color
Reviewed-by: prr
2019-03-29 16:09:47 -07:00
Weijun Wang
61485b75a9 8221257: Improve serial number generation mechanism for keytool -gencert
Reviewed-by: xuelei, mullan
2019-03-30 16:32:23 +08:00
Matthias Baesken
77ae10cd25 8218547: Simplify JLI_Open on Windows in native code (libjli)
Reviewed-by: alanb, clanger
2019-04-02 13:54:00 +02:00
Xue-Lei Andrew Fan
d812742d68 8163326: Update the default enabled cipher suites preference
Reviewed-by: mullan
2019-04-04 14:19:29 -07:00
Dmitry Cherepanov
54398de4db 8221244: Unexpected behavior of PropertyDescription.getReadMethod for boolean properties
Reviewed-by: serb
2019-03-27 13:14:55 +03:00
Prasanta Sadhukhan
702ee3db37 8212904: JTextArea line wrapping incorrect when using UI scale
Reviewed-by: serb, prr
2019-03-29 10:11:01 +05:30
Manajit Halder
ef50607763 8216971: [macosx swing] For JCheckBoxMenuItem actionPerformed() is called twice, when apple.laf.useScreenMenuBar=true and modifier is InputEvent.META_DOWN_MASK
Reviewed-by: psadhukhan, kaddepalli
2019-03-27 12:24:28 +05:30
Valerie Peng
e90036145a 8220016: Clean up redundant RSA services in the SunJSSE provider
Removed duplicated RSA signature/KF/KPG support in SunJSSE

Reviewed-by: xuelei
2019-03-29 00:39:49 +00:00
Daniel Fuchs
47b9d898ab 8221395: HttpClient leaving connections in CLOSE_WAIT state until Java process ends
When a non WebSocket connection is not returned to the pool, it needs to be closed even if HttpConnection::isOpen yields false.

Reviewed-by: chegar, michaelm
2019-03-28 12:16:36 +00:00
Lance Andersen
518e3a8788 8216539: tools/jar/modularJar/Basic.java times out
Reviewed-by: mchung, alanb, bchristi, bpb
2019-04-03 11:30:23 -04:00
Brian Burkhalter
8d5cea62b2 8221568: DataOutputStream/WriteUTF.java fails due to "OutOfMemoryError: Java heap space"
Reviewed-by: shade
2019-03-27 16:35:25 -07:00
Arthur Eubanks
0c2b7c4fc3 8220575: Replace hardcoded 127.0.0.1 in URLs with new URI builder
Reviewed-by: dfuchs, chegar
2019-03-27 09:06:43 -07:00
Martin Buchholz
df4f28c041 8219196: DataOutputStream.writeUTF may throw unexpected exceptions
Reviewed-by: martin, darcy, rriggs
2019-03-27 07:21:18 -07:00
Aleksey Shipilev
e8a753f253 8221524: java/util/Base64/TestEncodingDecodingLength.java test should be disabled on 32-bit platforms
Reviewed-by: stuefe, alanb
2019-03-27 12:38:29 +01:00
Aleksey Shipilev
5437296fac 8221401: java/math/BigInteger/LargeValueExceptions.java test should be disabled on 32-bit platforms
Reviewed-by: stuefe, bpb
2019-03-27 11:35:41 +01:00
Aleksey Shipilev
785772021b 8221400: java/lang/String/StringRepeat.java test requests too much heap
Reviewed-by: stuefe, alanb
2019-03-27 11:35:40 +01:00
Adam Farley
be132fcc65 8216558: Lookup.unreflectSetter(Field) fails to throw IllegalAccessException for final fields
Reviewed-by: mchung
2019-03-26 15:53:36 -07:00
Mikhailo Seledtsov
7f9103968f 8221342: [TESTBUG] Generate Dockerfile for docker testing
Dockerfile is generated; introduced properties to specify custom base image

Reviewed-by: sgehwolf, dholmes, jiefu
2019-03-26 13:25:26 -07:00
Chris Hegarty
1933437f12 8219446: Specify behaviour of timeout accepting methods of Socket and ServerSocket if timeout is negative
Reviewed-by: alanb, dfuchs
2019-03-26 17:02:11 +00:00
Prasanta Sadhukhan
ec9a6addc7 Merge 2019-03-22 14:39:16 +05:30
Prasanta Sadhukhan
cc590f5765 Merge 2019-03-22 13:42:45 +05:30
Phil Race
fed190dd8b 8221304: Problem list java/awt/FontMetrics/MaxAdvanceIsMax.java
Reviewed-by: serb
2019-03-21 21:37:09 -07:00
Prasanta Sadhukhan
83e8947b90 Merge 2019-03-20 16:07:43 +05:30
Chris Hegarty
defc86bd5b 8221098: Run java/net/URL/HandlerLoop.java in othervm mode
Reviewed-by: alanb, martin
2019-03-20 09:17:48 +00:00
Adam Petcher
95b189916f 8147502: Digest is incorrectly truncated for ECDSA signatures when the bit length of n is less than the field size
Truncate the digest according to the group order, not the field size

Reviewed-by: jnimeh
2019-03-19 15:18:35 -04:00
Roger Riggs
b77b4b254c 8220613: java/util/Arrays/TimSortStackSize2.java times out with fastdebug build
Reviewed-by: lancea, alanb
2019-03-19 10:47:17 -04:00
Chris Hegarty
5ee0711360 8220663: Incorrect handling of IPv6 addresses in Socket(Proxy.HTTP)
Reviewed-by: alanb, michaelm
2019-03-19 14:27:50 +00:00
Chris Hegarty
1df787692a 8170705: sun/net/www/protocol/http/StackTraceTest.java fails intermittently with Invalid Http response
Reviewed-by: dfuchs
2019-03-19 11:15:08 +00:00
John Jiang
3c34b7a261 8220410: sun/security/tools/jarsigner/warnings/NoTimestampTest.java failed with missing expected output
Using the same timezone for jar verifying and date formatting

Reviewed-by: weijun
2019-03-19 10:36:24 +08:00
Jamil Nimeh
de75770ce9 8218723: Use SunJCE Mac in SecretKeyFactory PBKDF2 implementation
Reviewed-by: apetcher
2019-03-18 15:26:59 -07:00
Sergey Bylokhov
ecce7fb2d0 7106851: Test should not use System.exit
Reviewed-by: aivanov, psadhukhan, kaddepalli
2019-03-16 17:50:24 -07:00
Xue-Lei Andrew Fan
9f0b9da2d7 8221273: put sun/security/pkcs11/tls/tls12/TestTLS12.java on ProblemList.txt
Reviewed-by: mullan
2019-03-21 14:18:34 -07:00
Bob Vandette
af5c78efff 8220674: [TESTBUG] MetricsMemoryTester failcount test in docker container only works with debug JVMs
Reviewed-by: sspitsyn, sgehwolf
2019-03-21 14:40:04 -04:00
Alan Bateman
fd14375ae2 8221259: New tests for java.net.Socket to exercise long standing behavior
Reviewed-by: chegar
2019-03-21 17:38:41 +00:00
Adam Petcher
04a50576cf 8221172: SunEC specific test is not limited to SunEC
Fixing a minor test bug in the SignatureDigestTruncate regression test

Reviewed-by: mullan
2019-03-21 13:10:37 -04:00
Martin Balao
0814229ebc 8220753: Re-introduce the test case for TLS 1.2 algorithms in SunPKCS11 crypto provider
Reviewed-by: xuelei
2019-03-21 01:51:25 -03:00
Christoph Langer
26358daaee 8172695: (scanner) java/util/Scanner/ScanTest.java fails
Reviewed-by: smarks, bpb
2019-03-21 09:16:58 +01:00
Ivan Gerasimov
c07c8d3eea 8220684: Process.waitFor(long, TimeUnit) can return false for a process that exited within the timeout
Reviewed-by: prappo, dholmes, rriggs
2019-03-16 15:05:21 -07:00
Alan Bateman
8743be63c4 8220493: Prepare Socket/ServerSocket for alternative platform SocketImpl
Co-authored-by: Michael McMahon <michael.x.mcmahon@oracle.com>
Reviewed-by: chegar
2019-03-16 19:44:12 +00:00
Alan Bateman
c306e3f059 8220738: (sc) Move ServerSocketChannelImpl remaining native method to Net
Reviewed-by: bpb
2019-03-16 12:31:31 +00:00
Yasumasa Suenaga
1aa788a7b9 8220555: JFR tool shows potentially misleading message when it cannot access a file
Reviewed-by: egahlin, mseledtsov
2019-03-16 21:27:15 +09:00
Jesper Wilhelmsson
7eebb86d2b 8220745: Fix problemlist entry to refer to 8220613
Reviewed-by: dcubed
2019-03-16 02:08:10 +01:00
Igor Ignatyev
8fb834a4bf 8219139: move hotspot tests from test/jdk/vm
Reviewed-by: dholmes, mseledtsov
2019-03-14 19:37:17 -07:00
Ichiroh Takiguchi
90d82c2f35 8220281: IBM-858 alias name is missing on IBM00858 charset
Add aliases into IBM charsets

Reviewed-by: naoto
2019-03-15 00:49:13 +09:00
Vikrant Agarwal
b8867e273e 8216353: Use utility APIs introduced in org/netbeans/jemmy/util/LookAndFeel class in client sanity test cases
Reviewed-by: serb
2019-03-13 00:51:28 -07:00
Vikrant Agarwal
6bd1eaf323 8219552: bump jtreg requiredVersion to b14 in test/jdk/sanity/client/
Reviewed-by: prr, iignatyev
2019-03-13 00:04:22 -07:00
Brian Burkhalter
69ca2e9e27 8220477: Channels.newWriter() does not close if underlying channel throws an IOException
Reviewed-by: alanb
2019-04-17 08:12:19 -07:00
Henry Jen
930f116ae7 Merge 2019-04-16 20:47:11 -07:00
Xue-Lei Andrew Fan
eb59ebb177 8216326: SSLSocket stream close() does not close the associated socket
Reviewed-by: jnimeh
2019-04-16 16:59:09 -07:00
Patrick Zhang
b9a4ede307 8222334: java -Xss0 triggers StackOverflowError
Launcher to use the stack size decided by hotpot or system if -Xss is 0

Reviewed-by: dholmes, alanb
2019-04-16 11:00:48 +00:00
Henry Jen
da6f620059 Merge 2019-04-15 18:24:37 -07:00
Weijun Wang
6f032ffbb5 8222275: sun/security/tools/keytool/Serial64.java: assertTrue: expected true, was false
Reviewed-by: xuelei
2019-04-14 10:22:56 +08:00
Weijun Wang
15aae2f622 8180573: Refactor sun/security/tools shell tests to plain java tests
Reviewed-by: rhalade, valeriep
2019-04-12 13:35:23 +08:00
Patrick Zhang
c6497e3f25 8163363: AArch64: Stack size in tools/launcher/Settings.java needs to be adjusted
Specify a proper min stack size input to -Xss for aarch64

Reviewed-by: aph
2019-04-09 18:46:51 +08:00
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
Gary Adams
5ea96c5f29 8218166: com/sun/jdi/SimulResumerTest.java failure
Reviewed-by: dlong, jcbeyler
2019-03-14 10:58:53 -04: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
Prasanta Sadhukhan
00d6c3e825 8215396: JTabbedPane preferred size calculation is wrong for SCROLL_TAB_LAYOUT
Reviewed-by: serb
2019-03-08 14:07:10 +05:30
Krishna Addepalli
f4831978d1 8218674: HTML Tooltip with "img=src" on component doesn't show
Reviewed-by: serb, psadhukhan
2019-03-07 12:51:02 +05:30
Sergey Bylokhov
b5998aadf0 8213110: Remove the use of applets in automatic tests
Reviewed-by: prr
2019-02-27 18:46:55 -08:00
Phil Race
e735fe2fc4 Merge 2019-02-27 14:30:08 -08:00
Prasanta Sadhukhan
7564253938 Merge 2019-02-27 14:48:22 +05:30
Prasanta Sadhukhan
3981041086 Merge 2019-02-27 13:53:41 +05:30
Gauri Patil
2234278bed 8211322: Reduce the timeout of tooltip in SwingSet2DemoTest
Reviewed-by: serb, shurailine
2019-02-26 03:24:34 -08:00
Alex Menkov
f16ddb2c3d 8181383: com/sun/jdi/OptionTest.java fails intermittently with bind failed: Address already in use
Reviewed-by: sspitsyn, cjplummer
2019-02-26 15:29:08 -08:00
Prasanta Sadhukhan
11bb82baca Merge 2019-02-26 11:17:12 +05:30
Prasanta Sadhukhan
f3c10c8049 8213781: web page background renders blue in JEditorPane
4895924: Strings in format #rgb not handled by Color.decode() (affects CSS / Swing)

Reviewed-by: serb, sveerabhadra
2019-02-26 11:08:07 +05:30
Chris Plummer
b0eedd125f 8219143: jdb should support breakpoint thread filters
Add thread filter to stop command.

Reviewed-by: sspitsyn, amenkov
2019-02-25 18:54:40 -08:00
Amy Lu
e568d2abd0 8219802: Problem list java/net/MulticastSocket/SetGetNetworkInterfaceTest.java
Reviewed-by: chegar, clanger
2019-02-27 18:58:29 +08:00
Mikhailo Seledtsov
8813c391df 8219553: [TESTBUG] Problem list JFR TestPeriod test
Problem listed the test

Reviewed-by: egahlin
2019-02-25 08:16:20 -08:00
Severin Gehwolf
77832350f1 8219585: [TESTBUG] sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java passes trivially when it shouldn't
Reviewed-by: dfuchs, sballal
2019-02-25 15:41:24 +01:00
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
Prasanta Sadhukhan
0b13339d0c 8219156: RTFEditorKit writes background color but doesn't read
Reviewed-by: serb
2019-02-21 10:33:24 +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
Prasanta Sadhukhan
493a77061f Merge 2019-02-19 11:52:19 +05:30
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
Igor Ignatyev
98ebd2bc9e 8219417: bump jtreg requiredVersion to b14
Reviewed-by: alanb, dholmes
2019-02-22 09:47:00 -08:00
Robbin Ehn
74d466fd5f 8219436: Safepoint logs correction and misc
Reviewed-by: mdoerr, coleenp
2019-02-22 14:20:06 +01:00
Naoto Sato
86e513bd48 8218960: CONFIG level logging statements printed in CLDRCalendarDataProviderImpl.java even when default log Level is INFO
Reviewed-by: nishjain, rriggs
2019-02-21 10:26:56 -08: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
Xue-Lei Andrew Fan
e6f6863cbc 8168069: X509TrustManagerImpl causes ClassLoader leaks with unparseable extensions
Reviewed-by: mullan
2019-02-20 18:46:30 -08:00