3130 Commits

Author SHA1 Message Date
Patricio Chilano Mateo
2d1029c256 8171157: Convert ObjectMonitor_test to GTest
Migration of the ObjectMonitor test to GTest. Two GTests were actually created, one for ObjectMonitor and one for ObjectSynchronizer.

Reviewed-by: dcubed, hseigel
2018-07-27 16:29:36 -04:00
Nishit Jain
c1bbdfaa2c 8021322: [Fmt-Ch] Implementation of ChoiceFormat math methods should delegate to java.lang.Math methods
Reviewed-by: naoto, darcy
2018-07-27 14:20:07 +05:30
Thomas Schatzl
74a31c5c16 8208297: Allow printing of taskqueue stats if compiled in in product builds
Reviewed-by: kbarrett
2018-07-27 09:49:03 +02:00
Alex Menkov
2a213d1685 8199155: Accessibility issues in jdk.jdi
Reviewed-by: dtitov, sspitsyn
2018-07-26 11:31:15 -07:00
Phil Race
1387c87093 Merge 2018-07-26 10:00:40 -07:00
Yasumasa Suenaga
f45dc7748e 8205992: jhsdb cannot attach to Java processes running in Docker containers
Reviewed-by: cjplummer, jgeorge
2018-07-27 00:54:39 +09:00
David Buck
a3e7f01f33 8208183: update HSDIS plugin license to UPL
Reviewed-by: simonis, adinn, jrose
2018-07-26 10:56:58 -04:00
Joe Darcy
2517ca3937 8208200: Add missing periods to sentences in RoundEnvironment specs
Reviewed-by: jjg
2018-07-25 17:22:26 -07:00
Joe Darcy
a29cd6d430 8208201: Update SourceVersion.RELEASE_11 docs to mention var for lambda param
Reviewed-by: jjg
2018-07-25 12:54:58 -07:00
Roman Kennke
ca473200b7 8204970: Remaing object comparisons need to use oopDesc::equals()
Reviewed-by: eosterlund, zgu
2018-07-25 21:47:40 +02:00
Joe Darcy
ac5685e827 8190886: package-info handling in RoundEnvironment.getElementsAnnotatedWith
Reviewed-by: vromero, jlahoda
2018-07-25 12:32:59 -07:00
Jonathan Gibbons
955ce37d60 8207214: Broken links in JDK API serialized-form page
Reviewed-by: hannesw
2018-07-24 11:37:43 -07:00
Matthias Baesken
198715ae97 8207395: jar has issues with UNC-path arguments for the jar -C parameter [windows]
Reviewed-by: goetz, sherman
2018-07-19 11:04:46 +02:00
Ivan Gerasimov
ad816a0809 8207314: Unnecessary reallocation when constructing WeakHashMap from a large Map
Reviewed-by: martin
2018-07-23 22:07:55 -07:00
Thomas Schatzl
7883ea1c31 8207953: Remove dead code in G1CopyingKeepAliveClosure
Reviewed-by: kbarrett
2018-07-23 17:32:04 +02:00
Joe Darcy
07cb147927 8208060: Additional corrections of serial-related declarations
Reviewed-by: rriggs, lancea
2018-07-20 14:46:43 -07:00
Ioi Lam
9959e34180 8203382: Rename SystemDictionary::initialize_wk_klass to resolve_wk_klass
Reviewed-by: jiangli
2018-07-20 12:19:28 -07:00
Coleen Phillimore
39dd04b953 8207359: Make SymbolTable increment_refcount disallow zero
Use cmpxchg for non permanent symbol refcounting, and pack refcount and length into an int.

Reviewed-by: gziemski, kbarrett, iklam
2018-07-20 14:52:11 -04:00
Xin Liu
6cbef1de5d 8206075: On x86, assert on unbound assembler Labels used as branch targets
Reviewed-by: kvn, mdoerr, phh
2018-07-20 11:55:05 -07:00
Joe Darcy
fafd1b7536 8193462: Fix Filer handling of package-info initial elements
Reviewed-by: vromero
2018-07-18 00:23:06 -07:00
Joe Darcy
19c364592c 8193214: Incorrect annotations.without.processors warnings with JDK 9
Reviewed-by: vromero
2018-07-18 00:16:37 -07:00
Ivan Gerasimov
121c59eb6d 8207753: Handle to process snapshot is leaked if Process32First() fails
Reviewed-by: rriggs
2018-07-19 13:41:26 -07:00
Tom Rodriguez
5226a6a2bb 8207202: [Graal] compiler/graalunit/CoreTest.java fails
Reviewed-by: kvn
2018-07-19 12:55:24 -07:00
Naoto Sato
602a497270 8206886: Java does not set the default format locale correctly on mac10.13
Reviewed-by: rriggs
2018-07-19 11:15:38 -07:00
Phil Race
f921743302 Merge 2018-07-19 10:53:38 -07:00
Phil Race
28e828130d Merge 2018-07-19 10:17:22 -07:00
Joe Darcy
269286da50 8207816: Align declaration of SerializedLambda.readResolve with serialization conventions
Reviewed-by: briangoetz
2018-07-19 09:20:08 -07:00
Krishna Addepalli
2d2dd74c80 8206343: There is a typo in the java documentation of javax.swing.JScrollBar
Reviewed-by: prr, mhalder
2018-07-19 13:49:44 +05:30
Joe Darcy
a5e27072fe 8203263: Remove unnecessary throws clauses from serialization-related methods
Reviewed-by: prr
2018-07-18 16:13:21 -07:00
Jamil Nimeh
1f273bde76 8207237: SSLSocket#setEnabledCipherSuites is accepting empty string
Reviewed-by: xuelei
2018-07-18 14:32:46 -07:00
Joe Darcy
e85841f34b 8207751: Remove misleading serialVersionUID from JulienFields.Field
Reviewed-by: lancea
2018-07-18 08:27:53 -07:00
Roger Riggs
7d4da87a14 8189717: Too much documentation of ProcessBuilder.start copied to ProcessBuilder.startPipeline
Reviewed-by: bpb, lancea
2018-07-18 09:46:03 -04:00
Alex Buckley
85f79b0dab 8207393: ServiceLoader class description improvements
Reviewed-by: alanb, lancea
2018-07-18 07:39:54 +01:00
Martin Buchholz
796a53f6e5 8206863: A closed JarVerifier.VerifierStream should throw IOException
Co-authored-by: Tobias Thierer <tobiast@google.com>
Reviewed-by: rasbold
2018-07-17 17:36:27 -07:00
Ivan Gerasimov
b30fe07450 8207750: Native handle leak in java.io.WinNTFileSystem.list()
Reviewed-by: bpb
2018-07-17 17:17:16 -07:00
Brian Burkhalter
01fd04b862 8207748: Fix for 8202794 breaks tier1 builds
Reviewed-by: kbarrett, darcy
2018-07-17 16:22:26 -07:00
Kim Barrett
9a9c824ece 8202353: os::readdir should use readdir instead of readdir_r
8202835: jfr/event/os/TestSystemProcess.java fails on missing events

Os::readdir uses POSIX readdir, drop buffer arg, fix JFR uses.

Reviewed-by: coleenp, tschatzl, bsrbnd
2018-07-17 15:59:47 -04:00
Bernard Blaser
f4723253b6 8202794: Native Unix code should use readdir rather than readdir_r
Reviewed-by: alanb, bsrbnd
2018-07-17 12:03:10 -07:00
Calvin Cheung
0140ddadab 8204591: Expire/remove the UseAppCDS option in JDK 12
Reviewed-by: jiangli, mseledtsov, iklam
2018-07-17 11:58:53 -07:00
Jan Lahoda
66025558bb 8207229: Trees.getScope crashes for broken lambda
8207230: Trees.getScope runs Analyzers

Reviewed-by: vromero
2018-07-17 14:28:56 +02:00
Alan Bateman
df45a1b57e 8207340: (fs) UnixNativeDispatcher close and readdir usages should be fixed
Reviewed-by: bpb
2018-07-17 08:10:48 +01:00
Brian Burkhalter
769e802001 8206448: (fs) Extended attributes assumed to be enabled on ext3 (lnx)
Assume extended attributes are only explicitly enable on ext3

Reviewed-by: mbaesken, alanb
2018-07-16 10:58:28 -07:00
Ivan Gerasimov
bd236c55d0 8207016: Avoid redundant native memory allocation in getFinalPath()
Reviewed-by: alanb
2018-07-16 10:07:22 -07:00
Rajan Halade
a4bf30fb50 8207321: Merge error with 8199779
Reviewed-by: mullan
2018-07-16 08:59:39 -07:00
Lois Foltan
cc58241bec 8205611: Improve the wording of LinkageErrors to include module and class loader information
Clean up the wording of loader constraint violations to include the module and class loader information.

Reviewed-by: coleenp, goetz, hseigel
2018-07-16 11:34:17 -04:00
Lois Foltan
e8fcd927c3 8178712: ResourceMark may be missing inside initialize_[vi]table
Clean up use of ResourceMark within initialize_[vi]table.

Reviewed-by: ccheung, iklam, jiangli
2018-07-16 09:06:33 -04:00
Jan Lahoda
fe80e55647 8189747: JDK9 javax.lang.model.util.Elements#getTypeElement regressed 1000x in performance
Caching the results of Elements.getTypeElement/getPackageElement

Reviewed-by: darcy
2018-07-16 12:35:25 +02:00
Boris Ulasevich
2131cb484e 8206265: aarch64 jtreg: assert in TestOptionsWithRanges.jtr
Limit flag range to don't overflow 12bit instruction operand

Reviewed-by: aph, dsamersoff
2018-07-15 18:16:55 +03:00
Jesper Wilhelmsson
4fc510cc89 Merge 2018-07-14 02:14:54 +02:00
Jonathan Gibbons
93364e9a43 8207213: The help-doc.html generated by the doclet is incomplete
Reviewed-by: hannesw
2018-07-13 13:00:36 -07:00