Commit Graph

6168 Commits

Author SHA1 Message Date
Vicente Romero
e90621c169 8246199: 'permits' is a restricted identifier
Reviewed-by: mcimadamore
2020-06-08 11:08:28 -04:00
Jan Lahoda
358714bcd0 8246353: Sealed types not supported by jshell
Reviewed-by: rfield, vromero
2020-06-08 16:59:43 +02:00
Julia Boes
3943f9d0b7 8246431: java/net/httpclient/PathSubscriber tests fail due to missing FilePermission
Add explicit jtreg build configuration and adjust permissions accordingly

Reviewed-by: chegar, dfuchs
2020-06-08 15:27:31 +01:00
Alexey Semenyuk
f87ef60b09 8238204: run_tests.sh fails on macOS when called from test_jpackage.sh
Reviewed-by: herrick, almatvee
2020-06-08 09:13:01 -04:00
Alexey Semenyuk
28d2cdf99a 8246627: Consolidate app image bundlers
Reviewed-by: herrick, almatvee
2020-06-08 09:13:00 -04:00
Alexey Semenyuk
045d61b5e0 8246624: Refactor JLinkBundlerHelper and StandardBundlerParam classes
Reviewed-by: herrick, almatvee
2020-06-08 09:12:58 -04:00
Patric Hedlin
201d0a48d1 8246689: Enable independent compressed oops/class ptrs on Aarch64
Reviewed-by: eosterlund
2020-06-08 13:57:55 +02:00
Hannes Wallnöfer
ac2828ddf1 8164408: Add module support for @see, @link and @linkplain javadoc tags
Reviewed-by: jjg
2020-06-09 18:18:22 +02:00
Patrick Concannon
5b6f050fce 8245828: Remove unnecessary NetworkPermission checks from jdk/net/ExtendedSocketOptions.java
This fix removes NetworkPermission checks that were made redundant in jdk/net/ExtendedSocketOptions after the socket option SO_FLOW_SLA was removed.

Reviewed-by: alanb
2020-06-09 15:39:22 +01:00
Patrick Concannon
ac906168c8 8243999: DatagramSocket and MulticastSocket constructors don't specify how a null InetAddress is handled
This fix clarifies the behaviours of constructors from DatagramSocket and MulticastSocket when no address or a null address is supplied.

Reviewed-by: dfuchs
2020-06-09 15:26:53 +01:00
Adam Sotona
022d7a19d3 8236108: tools/javac/lambda/LambdaParserTest.java timed out
The patch filters redundant or non-sense combinations of lambdas and it reduces the number of performed sub-tests.

Reviewed-by: vromero
2020-06-09 09:37:53 -04:00
Tobias Hartmann
a98bad2b22 8246453: TestClone crashes with "all collected exceptions must come from the same place"
Set deoptimize_on_exception for slow paths.

Reviewed-by: neliasso
2020-06-08 08:30:52 +02:00
John Jiang
ff8c6d5deb 8246709: sun/security/tools/jarsigner/TsacertOptionTest.java compilation failed after JDK-8244683
Reviewed-by: weijun
2020-06-06 13:51:23 +08:00
Jim Laskey
71c926c4f6 8246697: Test: java/util/StringJoiner/StringJoinerTest.java failing with OOM
Reviewed-by: iignatyev
2020-06-05 16:34:23 -03:00
Hannes Wallnöfer
9c3be78826 8246429: Javadoc comparators are not module-aware
Reviewed-by: jjg
2020-06-05 18:06:13 +02:00
Patrick Concannon
97fc959e35 8246132: AsynchronousSocketChannelNAPITest failing with a NotYetConnectedException
Fix for intermitant failure with AsynchronousSocketChannelNAPITest that sometimes fails with a NotYetConnectedException while trying to read data after connecting

Reviewed-by: alanb, dfuchs
2020-06-05 16:40:16 +01:00
John Jiang
13d30235e1 8244683: A TSA server used by tests
Reviewed-by: weijun
2020-06-05 23:36:01 +08:00
Jim Laskey
ec4240b342 8246696: Test: java/util/StringJoiner/StringJoinerTest.java failing with OOM
Reviewed-by: sundar
2020-06-05 11:46:58 -03:00
Igor Ignatyev
efffff1dbb 8245874: requires.extraPropDefns.vmOpts doesn't need -Xbootclasspath/a:bootClasses
Reviewed-by: lmesnik, vlivanov
2020-06-05 07:28:50 -07:00
Pavel Rappo
0b02c5b5e0 8245981: Upgrade to jQuery 3.5.1
Reviewed-by: hannesw
2020-06-05 15:03:09 +01:00
Coleen Phillimore
498b0e61ed 8246340: Move SystemDictionary GC roots into OopStorage
Use vm_global() OopStorage for system dictionary roots

Reviewed-by: eosterlund, lfoltan
2020-06-05 09:55:31 -04:00
Jim Laskey
4de4200652 8230743: StringJoiner does not handle too large strings correctly
Reviewed-by: rriggs, psandoz, martin
2020-06-05 09:37:14 -03:00
Coleen Phillimore
cb960ee7b5 8245487: Potential double-free of interfaces array
Free _local_interfaces when we free _transitive_interfaces since they can share memory.

Reviewed-by: fparain, lfoltan, iklam
2020-06-05 06:54:05 -04:00
Thomas Schatzl
0963050548 8246557: test_os_linux.cpp uses NULL instead of MAP_FAILED to check for failed mmap call
Reviewed-by: sjohanss, stefank
2020-06-05 10:44:24 +02:00
Patrick Concannon
d071ed0294 8244582: Remove terminally deprecated Solaris-specific SO_FLOW_SLA socket option
This patch removes ExtendedSocketOptions.SO_FLOW_SLA, SocketFlow and SocketFlow.Status which were terminally deprecated in JDK 14 in preparation for the removal of the Solaris port.

Reviewed-by: alanb, dfuchs, chegar, vtewari
2020-06-05 09:35:42 +01:00
Alexander Zuev
b4943a3f02 8237243: [macOS] java/awt/event/KeyEvent/DisabledTargetF10/DisabledTargetF10.html fails
Reviewed-by: psadhukhan
2020-06-02 19:32:44 +03:00
Pankaj Bansal
e97c5f41ee 8196094: javax/swing/JFileChooser/8002077/bug8002077.java fails
Reviewed-by: psadhukhan
2020-06-01 23:06:02 +05:30
Prasanta Sadhukhan
d616488567 Merge 2020-05-30 10:33:28 +05:30
Brian Burkhalter
c328bca493 8246183: Scanner/ScanTest.java fails due to SIGSEGV in StubRoutines::jshort_disjoint_arraycopy
Reviewed-by: mikael, smarks
2020-05-29 19:08:57 -07:00
Brian Burkhalter
cd340d5e70 8245121: (bf) XBuffer.put(Xbuffer src) can give unexpected result when storage overlaps
Reviewed-by: alanb, darcy, psandoz
2020-05-29 14:23:51 -07:00
Phil Race
604005d65c 8159597: [TEST_BUG] closed/javax/swing/JPopupMenu/4760494/bug4760494.java leaves key pressed
Reviewed-by: serb, psadhukhan
2020-05-29 13:11:36 -07:00
Alexey Semenyuk
1d4bd253e4 8245831: Unify code parsing version strings on Mac and Windows
Reviewed-by: herrick, almatvee
2020-05-29 15:57:18 -04:00
Daniel Fuchs
9e43496c42 8245867: Logger/bundleLeak/BundleTest.java fails due to "OutOfMemoryError: Java heap space"
The test is fixed to release the memory as soon as it's no longer needed.

Reviewed-by: lancea, dcubed, dholmes
2020-05-29 20:35:46 +01:00
Erik Gahlin
72f1a49746 8246130: JFR: TestInheritedAnnotations has incorrect validation
Reviewed-by: mgronlun
2020-05-29 18:59:39 +02:00
Erik Gahlin
984373408e 8246128: JFR: Fix warnings
Reviewed-by: mgronlun
2020-05-29 17:02:11 +02:00
Erik Gahlin
6fd44901ec 8216303: JFR: Simplify generated files
Reviewed-by: erikj, mgronlun
2020-05-29 15:19:01 +02:00
Aleksei Efimov
02fbf44cc7 8244958: preferIPv4Stack and preferIPv6Addresses do not affect addresses returned by HostsFileNameService
Reviewed-by: dfuchs, alanb, vtewari
2020-05-29 13:39:16 +01:00
Hannes Wallnöfer
b43f356288 8177280: @see {@link} syntax should allow generic types
8237826: DocTrees should provide getType(DocTreePath) method

Reviewed-by: jjg
2020-05-29 14:28:13 +02:00
Julia Boes
c0a1a4e4fc 8237470: HttpResponse.BodySubscriber::ofFile throws UOE with non-default file systems
Rework non-default file system paths of BodySubscriber::ofFile and BodyHandler::ofFile and fix BodyHandler::ofFileDownload to throw consistently for non-default file system paths

Reviewed-by: dfuchs, chegar
2020-05-29 12:59:13 +01:00
Maurizio Cimadamore
55ed0d853f 8246040: java/foreign/TestAddressHandle fails on big endian platforms
Make test more robust by not relying on implicit endianness-related assumption

Reviewed-by: chegar
2020-05-29 12:40:50 +01:00
Peter Levart
5967aaf629 8246050: Improve scalability of MemoryScope
Reiplement memory scope using StampedLock

Reviewed-by: psandoz
2020-05-29 12:12:09 +01:00
Patrick Concannon
4708c6d343 8243507: DatagramSocket constructors don’t always specify what happens when passed invalid parameters
This fix updates the spec for DatagramSocket's constructors to inform the user of the Exceptions thrown when an invalid argument is passed.

Reviewed-by: dfuchs
2020-05-29 11:08:09 +01:00
Prasanta Sadhukhan
53015e6d82 Merge 2020-05-29 09:44:27 +05:30
David Holmes
7228978b19 8242504: Enhance the system clock to nanosecond precision
Co-authored-by: Mark Kralj-Taylor <kralj.mark@gmail.com>
Reviewed-by: dfuchs, rriggs, dcubed, vtewari
2020-05-28 22:34:02 -04:00
Daniil Titov
7045a46250 8244993: Revert changes to OutputAnalyzer stderrShouldBeEmptyIgnoreVMWarnings() that allow version strings
Reviewed-by: dholmes, cjplummer
2020-05-28 15:58:59 -07:00
Aleksey Shipilev
b189d0b918 8245478: Implementation: JEP 379: Shenandoah: A Low-Pause-Time Garbage Collector (Production)
Reviewed-by: rkennke, smonteith, zgu
2020-05-28 18:50:58 +02:00
Tejpal Rebari
7cc3ba5f9b 8239827: The test OpenByUNCPathNameTest.java should be changed to be manual
Reviewed-by: psadhukhan
2020-05-28 14:30:39 +05:30
Adam Sotona
456fe234ce 8230827: javac gives inappropriate warning about potentially ambiguous methods
Fix of too strict com.sun.tools.javac.comp.Comp:checkPotentiallyAmbiguousOverloads method

Reviewed-by: jlahoda
2020-05-28 10:52:37 +02:00
Jan Lahoda
7671f2716b 8245786: Scope is wrong for ClassTree representing record
Listing RECORD as a class-like Tree Kind while computing Scope.

Reviewed-by: jjg
2020-05-28 13:37:39 +02:00
David Holmes
686ca5ae49 8243936: NonWriteable system properties are actually writeable
Reviewed-by: iklam, dcubed
2020-05-28 02:58:56 -04:00
Pankaj Bansal
e4a972de1a 8245968: javax/swing/JTable/7124218/SelectEditTableCell.java is added to ProblemList twice
Reviewed-by: psadhukhan
2020-05-28 11:23:23 +05:30
Yumin Qi
e6855f20b0 8245264: Test runtime/cds/appcds/SignedJar.java fails
Concurrent work of symbol table caused _shared_table not walkable in dumping archive which led symbols not sorted in shared archive. Change to use do_safepoint_scan of _local_table to collect symbols.

Reviewed-by: iklam, ccheung
2020-05-27 16:04:28 -07:00
Claes Redestad
69f7f95b93 8245959: Extend String concat testing to account for folded constants
Reviewed-by: psandoz
2020-05-28 00:34:41 +02:00
Xue-Lei Andrew Fan
17a298962c 8206925: Support the certificate_authorities extension
Reviewed-by: mullan
2020-05-27 09:46:40 -07:00
Alexander Matveev
6f5e8a2aa3 8237908: [TESTBUG] [macos] Add support to jtreg helpers to unpack pkg packages
Reviewed-by: herrick, asemenyuk
2020-05-27 09:30:46 -04:00
Alexander Matveev
93d89d3bf3 8242786: [macos] tools/jpackage/share/IconTest.java fails: ABORT trying to dequeue work
Reviewed-by: herrick, asemenyuk
2020-05-27 09:14:20 -04:00
Andy Herrick
4af3a1e078 8245202: Convert existing jpackage tests to newer form
Reviewed-by: asemenyuk, almatvee
2020-05-27 08:59:43 -04:00
Adam Sotona
954db3353e 8241312: missing code coverage for records
Added tests for better coverage of records

Reviewed-by: vromero
2020-05-27 10:16:19 -04:00
Pankaj Bansal
342e9f88cd 8233647: [TESTBUG] JColorChooser/Test8051548.java is failing on macos
Reviewed-by: psadhukhan
2020-05-27 18:02:49 +05:30
Pankaj Bansal
85822a50d5 8233566: [TESTBUG] KeyboardFocusManager tests failing on MacoS
Reviewed-by: psadhukhan
2020-05-27 17:55:47 +05:30
Pankaj Bansal
9b3fb5d1d5 8233551: [TESTBUG] SelectEditTableCell.java fails on MacOS
Reviewed-by: psadhukhan
2020-05-27 17:35:42 +05:30
Vaibhav Choudhary
c14590378a 8245179: JvmciNotifyBootstrapFinishedEventTest.java fails with custom Tiered Level set externally
Fixed to not to run the testcase with TieredStopAtLevel set

Reviewed-by: thartmann
2020-05-27 17:28:22 +05:30
Tobias Hartmann
76ac621394 8245801: StressRecompilation triggers assert "redundunt OSR recompilation detected. memory leak in CodeCache!"
Assert is too strong.

Reviewed-by: roland
2020-05-27 13:26:23 +02:00
Stefan Johansson
6e1403480a 8245724: Move g1 periodic gc logging to G1InitLogger
Reviewed-by: kbarrett, tschatzl
2020-05-27 11:48:33 +02:00
Stefan Johansson
2ff952bf32 8245723: Remove PrintCompressedOopsMode and change gc+heap+coops info log to debug level
Reviewed-by: dholmes, coleenp, tschatzl
2020-05-27 11:48:13 +02:00
Xiaohong Gong
bc669dfc82 8243339: AArch64: Obsolete UseBarriersForVolatile option
Reviewed-by: adinn, aph, drwhite
2020-05-27 15:17:09 +08:00
Tejpal Rebari
c638618814 8233559: [TESTBUG] TestNimbusOverride.java is failing on macos
Reviewed-by: psadhukhan, pbansal
2020-05-27 09:08:08 +05:30
Kim Barrett
eb20ed7374 8228692: BitMap::reallocate might not clear some bits
Ensure trailing bits in last copied word are cleared.

Reviewed-by: tschatzl, sjohanss
2020-05-26 21:26:57 -04:00
John Jiang
845799935b 8245134: test/lib/jdk/test/lib/security/KeyStoreUtils.java should allow to specify aliases
Reviewed-by: valeriep
2020-05-27 05:42:28 +08:00
Igor Ignatyev
846fd238fc 8245610: remove in-tree copy on gtest
Reviewed-by: erikj, ihse
2020-05-26 13:33:00 -07:00
Jonathan Gibbons
aabcf9f792 8245847: Update Profile.java to not require per-release updates
Reviewed-by: darcy
2020-05-26 13:25:23 -07:00
Coleen Phillimore
6aa15ad7ab 8166358: Re-enable String verification in java_lang_String::create_from_str()
Check for invalid strings in class names in debug mode, and only verify valid strings in create_for_str().

Reviewed-by: dholmes, hseigel
2020-05-26 09:44:17 -04:00
Thomas Schatzl
47be3b098e 8245086: G1: Rename measured pause time ratios
Reviewed-by: sjohanss, kbarrett
2020-05-26 09:25:21 +02:00
Aleksey Shipilev
30b750dcd0 8245722: 32-bit build failures after JDK-8243491
Reviewed-by: stuefe
2020-05-26 09:29:00 +02:00
Jie Fu
039b259e94 8245761: [TESTBUG] runtime/logging/TestMethodHandlesVerbose.java fails with release VMs
Reviewed-by: dholmes
2020-05-26 09:18:27 +08:00
Daniel Fuchs
e04e052889 8239013: java.util.logging.Logger catalog cache keeps strong references to ResourceBundles
Changed the Logger catalog cache to use WeakReference<ResourceBundle>

Reviewed-by: lancea, mchung, naoto
2020-05-25 17:59:40 +01:00
Claes Redestad
36c4b11bc6 8245455: Remove alternative StringConcatFactory strategies
Reviewed-by: jlaskey, psandoz, forax, mchung
2020-05-25 12:03:30 +02:00
Chris Hegarty
f3eb44a94d 8243491: Implementation of Foreign-Memory Access API (Second Incubator)
Upstream latest changes of the Foreign-Memory Access API

Co-authored-by: Jorn Vernee <jorn.vernee@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: chegar, psandoz
2020-05-25 10:54:39 +01:00
Christian Hagedorn
9b94b9d1a1 8244946: fatal error: memory leak: allocating without ResourceMark with -XX:+Verbose -Xlog:methodhandles
Fix crash due to a missing ResourceMark when logging methodhandles with Verbose.

Reviewed-by: dcubed, dholmes, coleenp
2020-05-25 11:34:11 +02:00
John Jiang
98cb95b7b7 8245691: Add EdDSA certificstes to SSLSocketTemplate and CertUtils
Reviewed-by: xuelei
2020-05-25 11:29:56 +08:00
Thomas Stuefe
04e6b743db 8243392: Remodel CDS/Metaspace storage reservation
Reviewed-by: iklam, coleenp, ngasson, aph
2020-05-24 19:25:29 +02:00
Serguei Spitsyn
8e01f3ad02 8244571: assert(!_thread->is_pending_jni_exception_check()) failed: Pending JNI Exception Check during class loading
Fix the -Xcheck:jni asserts

Reviewed-by: dholmes, cjplummer
2020-05-23 10:39:07 +00:00
Pankaj Bansal
04b3bf6024 8233550: [TESTBUG] JTree tests fail regularly on MacOS
Reviewed-by: psadhukhan, jdv
2020-05-23 13:27:09 +05:30
Pankaj Bansal
15433df97f 8233552: [TESTBUG] JTable Test bug7068740.java fails on MacOS
Reviewed-by: psadhukhan
2020-05-23 13:11:41 +05:30
Hai-May Chao
ccd7d70586 8245665: Test WeakAlg.java should only make sure no warning for weak signature algorithms by keytool on root CA
Reviewed-by: weijun
2020-05-23 14:49:55 +08:00
Michael McMahon
2f80d69518 8241389: URLConnection::getHeaderFields returns result inconsistent with getHeaderField/Key for FileURLConnection, FtpURLConnection
Reviewed-by: dfuchs
2020-05-22 21:59:40 +01:00
Chris Plummer
9dc6f10755 8244203: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java fails with NullPointerException
Reviewed-by: sspitsyn, dtitov
2020-05-22 13:29:26 -07:00
Vladimir A Ivanov
4aa057013c 8245517: java/net/SocketOption/AfterClose.java fails with Invalid value 'READ_ONLY'
Reviewed-by: dfuchs, pconcannon
2020-05-22 10:25:40 -07:00
Vladimir A Ivanov
505d3da49b 8245569: Add jtreg tests for SO_INCOMING_NAPI_ID
Reviewed-by: dfuchs, pconcannon
2020-05-22 10:18:34 -07:00
Claes Redestad
113c48f5da 8215401: Add isEmpty default method to CharSequence
Reviewed-by: jlaskey, rriggs, jjg, alanb, smarks, darcy
2020-05-22 11:20:57 +02:00
Jayathirth D V
ab042c601f 8213129: java/awt/font/FontNames/LocaleFamilyNames.java times out in Win7
Reviewed-by: psadhukhan
2020-05-22 11:31:31 +05:30
Ioi Lam
7d330d34f1 8245335: [TESTBUG] DeterministicDump.java fails with release JVM
Reviewed-by: stuefe, dholmes, jiefu
2020-05-21 15:56:27 -07:00
Naoto Sato
ea38873d30 8239480: Support for CLDR version 37
Reviewed-by: joehw
2020-05-21 13:56:11 -07:00
Naoto Sato
b5b6ae32d2 8245241: Incorrect locale provider preference is not logged
Reviewed-by: joehw, dfuchs
2020-05-21 13:55:06 -07:00
Coleen Phillimore
e3be308329 8245260: Missing file header for test/hotspot/jtreg/containers/docker/TEST.properties
Reviewed-by: dcubed, hseigel
2020-05-21 16:45:55 -04:00
Prasanta Sadhukhan
af85c26514 8067986: Test javax/swing/JComboBox/ConsumedKeyTest/ConsumedKeyTest.java fails
Reviewed-by: serb
2020-05-21 12:02:18 +05:30
Jayathirth D V
b58735ea76 8028701: java/awt/Focus/ShowFrameCheckForegroundTest/ShowFrameCheckForegroundTest.java fails
Reviewed-by: pbansal
2020-05-21 11:13:28 +05:30
Prasanta Sadhukhan
270674ce1b Merge 2020-05-21 09:56:19 +05:30
Mikael Vidstedt
20dbc949d5 8245518: Problem list java/net/SocketOption/AfterClose.java
Reviewed-by: dholmes
2020-05-20 19:16:54 -07:00
Phil Race
f39a0d585b Merge 2020-05-20 17:40:46 -07:00