7082 Commits

Author SHA1 Message Date
Jaikiran Pai
0435ec1aaa 8232170: FSInfo#getJarClassPath throws an exception not declared in its throws clause
Reviewed-by: jjg
2019-11-22 10:38:35 -08:00
Brian Burkhalter
adf0d4eae8 8164993: (ch) ReadableByteChannel should note a possible IllegalArgumentException
Reviewed-by: alanb, darcy
2019-11-22 09:00:16 -08:00
Erik Gahlin
8a5e087ed8 8233700: EventStream not closed
Reviewed-by: mgronlun, mseledtsov
2019-11-22 17:20:43 +01:00
Daniel D. Daugherty
008bdefad4 8234544: ObjectSynchronizer::FastHashCode() cleanups from Async Monitor Deflation project
Reviewed-by: dholmes
2019-11-22 09:06:35 -05:00
Daniel Fuchs
8333ea85fa 8233296: MulticastSocket getOption/setOption inverts the value of IP_MULTICAST_LOOP
MulticastSocket.getOption(StandardSocketOption.IP_MULTICAST_LOOP) now returns true if loopback mode is enabled, and MulticastSocket.setOption(StandardSocketOption.IP_MULTICAST_LOOP, true) enables loopback mode. No other behavioral changes.

Reviewed-by: alanb, chegar
2019-11-22 11:52:48 +00:00
Serguei Spitsyn
0a1737ca97 8169467: GetLocalInstance returns JVMTI_ERROR_TYPE_MISMATCH (rather than JVMTI_ERROR_INVALID_SLOT) on static method
Add necessary check to GetLocalInstance implementation

Reviewed-by: amenkov, cjplummer
2019-11-22 10:07:21 +00:00
Thomas Schatzl
7d160282f2 8233597: Clean up code in G1Analytics::compute_pause_time_ratio
Reviewed-by: kbarrett, sjohanss
2019-11-22 10:03:38 +01:00
Thomas Schatzl
9915f88688 8233702: Introduce helper function to clamp value to range
Reviewed-by: sjohanss, kbarrett
2019-11-22 10:03:38 +01:00
Thomas Schatzl
79cfb94d36 8234000: Make HeapRegion::bottom/end/hrm_index const
Reviewed-by: kbarrett, sjohanss
2019-11-22 10:03:38 +01:00
Thomas Schatzl
3e492436fd 8233997: Some members of HeapRegion are not cleared in HeapRegion::hr_clear()
Reviewed-by: sjohanss, sangheki
2019-11-22 10:03:38 +01:00
Thomas Schatzl
d29dcafa50 8233306: Sort members in G1's HeapRegion after removal of Space dependency
Reviewed-by: sangheki, sjohanss
2019-11-22 10:03:38 +01:00
Matthias Baesken
70c5d41f28 8234339: replace JLI_StrTok in java_md_solinux.c
Reviewed-by: clanger, rriggs
2019-11-18 16:49:39 +01:00
Christoph Langer
b240008ba2 8234089: (zipfs) Remove classes JarFileSystemProvider and JarFileSystem
Reviewed-by: lancea, alanb
2019-11-22 09:25:09 +01:00
David Buck
3600213f1d 8230611: infinite loop in LogOutputList::wait_until_no_readers()
Add copy constructor and copy assignment operator to ensure reader count remains accurate

Reviewed-by: kbarrett, dholmes
2019-11-21 23:32:11 -05:00
Xue-Lei Andrew Fan
5161ab9493 8233954: UnsatisfiedLinkError or NoSuchAlgorithmException after removing sunec.dll
Reviewed-by: ascarpino
2019-11-21 18:42:33 -08:00
Joe Wang
f83b2b3c5c 8233548: Update CUP to v0.11b
Reviewed-by: lancea
2019-11-22 00:29:48 +00:00
Jonathan Gibbons
27807bc768 8234051: doclet crashes if HTML files in module doc-files directories
Reviewed-by: hannesw
2019-11-21 13:41:24 -08:00
Anton Litvinov
09cc9f2b18 8068184: Fix for JDK-8032832 caused a deadlock
Reviewed-by: dfuchs, chegar
2019-11-21 17:04:27 +00:00
Chris Hegarty
76e5a32c52 8233847: (sctp) Flx link-local IPv6 scope handling and test cleanup
Reviewed-by: alanb
2019-11-21 12:14:29 +00:00
Chris Hegarty
180ffe5e45 8232097: (sctp) SctpNet.init() results in java.lang.UnsatisfiedLinkError
Reviewed-by: alanb
2019-11-21 12:14:28 +00:00
Chris Hegarty
7eaf8be1c7 8233845: (sctp) Relax assertion in sun.nio.ch.sctp.AssociationChange::association
Reviewed-by: alanb
2019-11-21 12:14:25 +00:00
Julia Boes
a8a2246158 8234335: Remove line break in class declaration in java.base
Remove line break in class declarations where applicable

Reviewed-by: rriggs, lancea
2019-11-21 09:10:21 +00:00
Patrick Concannon
e636c69e61 8234103: DatagramSocketImpl::socket is not needed
DatagramSocketImpl has a socket field that links back to the DatagramSocket. This is only used to figure out whether multicasting is supported or not. This fix replaces it with a boolean isMulticast.

Reviewed-by: alanb, chegar, dfuchs
2019-11-20 10:13:10 +00:00
Sean Coffey
a0b8244416 8233801: GCMEmptyIv.java test fails on Solaris 11.4
Reviewed-by: valeriep
2019-11-21 11:31:58 +00:00
Thomas Schatzl
9a4c25731e 8228609: G1 copy cost prediction uses used vs. actual copied byte
Let the object copy cost predictor use the actual copied bytes as input for the prediction instead of the used bytes.

Reviewed-by: kbarrett, sjohanss
2019-11-21 11:42:54 +01:00
Matthias Baesken
20a03807b8 8234501: remove obsolete NET_ReadV
Reviewed-by: alanb, vtewari
2019-11-20 14:16:29 +01:00
Prasanta Sadhukhan
3f517c65c0 Merge 2019-11-21 13:50:11 +05:30
Tejpal Rebari
5cd9439695 8190763: Class cast exception on (CompoundEdit) UndoableEditEvent.getEdit()
Reviewed-by: psadhukhan, pbansal, serb
2019-11-20 12:18:46 +05:30
Prasanta Sadhukhan
9d6ace51a2 Merge 2019-11-20 10:52:28 +05:30
Yasumasa Suenaga
0d30eb4fa9 8233707: systemScale.cpp could not compile with VS2019
Reviewed-by: serb, aivanov
2019-11-20 09:28:31 +09:00
Joe Darcy
8534e920b1 8234381: API docs should mention special handling of enums in serialization
Reviewed-by: rriggs
2019-11-19 16:26:58 -08:00
Weijun Wang
d5b423d17c 8234377: new BitArray(0).toString() throws ArrayIndexOutOfBoundsException
Reviewed-by: mullan, wetmore
2019-11-20 08:12:14 +08:00
Claes Redestad
f4a087036a 8233497: Optimize default method generation by data structure reuse
Reviewed-by: lfoltan, coleenp, igerasim
2019-11-19 23:22:27 +01:00
Sangheon Kim
9611320f69 8232533: G1 uses only a single thread for pretouching the java heap
Reviewed-by: tschatzl, sjohanss
2019-11-19 12:28:39 -08:00
Brent Christian
469cb2b334 8233272: The Class.forName specification should be updated to match the long-standing implementation with respect to class linking
Reviewed-by: dholmes, mchung
2019-11-19 10:02:46 -08:00
Matthias Baesken
227d57e548 8234323: NULL-check return value of SurfaceData_InitOps on macosx
Reviewed-by: clanger
2019-11-19 09:56:43 +01:00
Xiaohong Gong
8aafb0e12c 8234321: Call cache flush after generating trampoline
Reviewed-by: adinn, iklam
2019-11-20 05:58:19 +00:00
Alan Bateman
745feb207c 8233922: Service binding augments module graph with observable incubator modules
Reviewed-by: mchung
2019-11-19 11:35:29 +00:00
David Holmes
ec51784c0d 8215355: Object monitor deadlock with no threads holding the monitor (using jemalloc 5.1)
Reviewed-by: rehn, stuefe, dcubed, sspitsyn
2019-11-18 23:41:06 -05:00
Christoph Göttschkes
b3860fd4da 8234324: ARM32 build broken after 8231610
Reviewed-by: iklam, aph
2019-11-18 13:22:27 +01:00
Martin Doerr
03763ec090 8233193: Incorrect bailout from possibly_add_compiler_threads
Reviewed-by: dholmes, thartmann
2019-11-18 18:21:18 +01:00
Daniel Fuchs
be18a54cb1 8233141: DatagramSocket.send doesn't specify exception thrown when no target address
DatagramSocket and MulticastSocket send methods are changed to throw IllegalArgumentException if no target address can be determined.

Reviewed-by: alanb
2019-11-18 16:48:05 +00:00
Lutz Schmidt
91b7fd7659 8233787: Break cycle in vm_version* includes
Reviewed-by: kbarrett, mdoerr
2019-11-18 17:11:06 +01:00
Claes Redestad
5e7123d669 8234248: More VectorSet cleanups
Reviewed-by: neliasso, thartmann
2019-11-18 16:10:32 +01:00
Mario Torre
9f2d6b8d2c 8234107: Several AWT modal dialog tests failing on Linux after JDK-8231991
Fix off by one in wheel detection logic

Reviewed-by: prr
2019-11-15 09:27:50 +01:00
Sergey Bylokhov
d2c74d0c97 8232433: [macos 10.15] java/awt/Window/LocationAtScreenCorner/LocationAtScreenCorner.java may fail
Reviewed-by: prr
2019-11-14 15:13:29 -08:00
Mario Torre
194c2726ea 8231991: Mouse wheel change focus on awt/swing windows
Avoid focus logic when only mouse wheel is moved up/down.

Reviewed-by: serb, dmarkov
2019-11-12 15:54:24 +01:00
Martin Balao
0e5a288dfe 8233404: System property to set the number of PBE iterations in JCEKS keystores
Reviewed-by: weijun
2019-11-12 00:30:55 -03:00
Erik Österlund
8e709f03bb 8234512: Missing pieces from JDK-8224816
Reviewed-by: rehn, pliden, kbarrett, gziemski
2019-11-20 14:51:42 +00:00
Daniel D. Daugherty
b10495d436 8230876: baseline cleanups from Async Monitor Deflation v2.0[789]
Reviewed-by: dholmes, kvn
2019-11-20 09:10:02 -05:00