Henry Jen
9ac2f8b654
8234542: code removal of Pack200 Tools and API
...
Reviewed-by: alanb, mchung, erikj
2019-12-10 00:36:30 +00:00
Patrick Concannon
12e43e216e
8233191: MulticastSocket joinGroup/leaveGroup do not specify their behavior when the outgoing interface has not been set
...
Clarifies the behaviour of 2-arg joinGroup/leaveGroup methods when null is passed for the NetworkInteface argument. The fix also clarifies what is returned by getInterface() and getNetworkInterface() methods when no previous NetworkInterface has been set.
Reviewed-by: alanb, chegar, dfuchs
2019-12-09 15:54:44 +00:00
Patrick Concannon
22e26b2a81
8234148: DatagramSocket.setOption/getOption/supportedOption should support multicast options
...
Fix adds multicast socket options to DatagramSocket
Reviewed-by: alanb, dfuchs, vtewari
2019-12-09 14:25:37 +00:00
Julia Boes
3ea25ecdfe
8233319: Deprecate MulticastSocket methods that operate on java.net.InetAddress
...
Deprecate any method that operates on InetAddress as well as getLoopbackMode and setLoopbackMode
Reviewed-by: chegar, dfuchs, alanb
2019-12-09 12:06:26 +00:00
Mandy Chung
e7fa637179
8235351: Lookup::unreflect should bind with the original caller independent of Method's accessible flag
...
Reviewed-by: alanb
2019-12-06 15:10:40 -08:00
Harold Seigel
b8dbdd1232
8235359: Simplify method Class.getRecordComponents()
...
Change getRecordComponents0() to return an array of RecordComponent's so no conversion is needed
Reviewed-by: lfoltan, chegar, fparain, vromero, mchung
2019-12-06 13:05:25 +00:00
Joe Darcy
81ec9e3087
8235369: Class.toGenericString need to be updated for records
...
Reviewed-by: vromero, mchung, chegar
2019-12-05 14:19:35 -08:00
Naoto Sato
730d0ecf19
8222756: Plural support in CompactNumberFormat
...
Reviewed-by: joehw, rriggs
2019-12-05 13:10:18 -08:00
Vicente Romero
827e5e3226
8225054: Compiler implementation for records
...
8225052: javax.lang.model support for records
8225053: Preview APIs support for records
8225055: Javadoc for records
8226314: com.sun.source support for records
8227113: Specification for java.lang.Record
8233526: JVM support for records
Implement records in the compiler and the JVM, including serialization, reflection and APIs support
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-12-04 15:57:39 -05:00
Mandy Chung
a445b66e58
8233527: Update Lookup::hasPrivateAccess and Lookup::defineClass spec w.r.t. full power lookup
...
Add a new Lookup::hasFullPrivilegeAccess method and document the capabilities requiring full privileges
Reviewed-by: alanb, plevart
2019-12-04 10:46:49 -08:00
Alan Bateman
e7d68cd13b
8235193: (dc) Remove JNI overhead from DatagramChannel.send implementation
...
Reviewed-by: chegar
2019-12-04 16:37:00 +00:00
Vladimir Ivanov
a6daef527e
8234923: Missed call_site_target nmethod dependency for non-fully initialized ConstantCallSite instance
...
Reviewed-by: jrose
2019-12-03 20:13:21 +03:00
Jim Laskey
234f326d79
8233116: Escape Sequences For Line Continuation and White Space (Preview)
...
Reviewed-by: vromero, jlahoda, bchristi, mcimadamore
2019-12-03 08:35:21 -04:00
Roger Riggs
13569d67de
8233799: Review the need for overview.html in the java.time package
...
Reviewed-by: dfuchs, naoto, lancea
2019-12-02 09:45:32 -05:00
Ivan Gerasimov
cd589d8469
8234147: Avoid looking up standard charsets in core libraries
...
Reviewed-by: alanb
2019-12-01 15:29:37 -08:00
Patrick Concannon
55da7d34c9
8233307: MulticastSocket getOption(IP_MULTICAST_IF) returns interface when not set
...
The MulticastSocket method getOption has been changed to conform to the behavior described in StandardSocketOptions.IP_MULTICAST_IF.
Reviewed-by: chegar, dfuchs
2019-11-28 16:49:52 +00:00
Julia Boes
aa66dd422f
8234799: javadoc of java.util.Arrays.compare(T[] a, T[] b) misses the word "less"
...
Add word "less" to method-level javadoc
Reviewed-by: dfuchs, lancea
2019-11-27 15:13:58 +00:00
Joe Darcy
deb0c481e7
8234917: Explicitly discuss java.lang.Enum in Class.isEnum spec
...
Reviewed-by: jjg
2019-11-27 10:23:40 -08:00
Joe Darcy
6cd20759b6
8234781: Update description of InvalidClassException to include more conditions
...
Reviewed-by: alanb, chegar
2019-11-27 06:36:41 -08:00
Vladimir Ivanov
e515a609e9
8234401: ConstantCallSite may stuck in non-frozen state
...
Reviewed-by: psandoz
2019-11-26 16:09:17 +03:00
Brian Burkhalter
4d86094783
8179320: File.getUsableSpace() returns a negative number on very large file system
...
Reviewed-by: alanb, rriggs, darcy
2019-11-25 15:30:35 -08:00
Mandy Chung
34c43f791e
8233956: MethodHandles.dropArguments javadoc lists parameters in wrong order
...
Reviewed-by: jjg
2019-11-22 11:34:22 -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
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
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
Alan Bateman
7e42642939
8231259: (dc) DatagramChannel::disconnect re-binds socket to the wildcard address (macOS)
...
Reviewed-by: dfuchs, chegar
2019-11-20 08:35:53 +00: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
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
Alan Bateman
745feb207c
8233922: Service binding augments module graph with observable incubator modules
...
Reviewed-by: mchung
2019-11-19 11:35:29 +00: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
Brian Burkhalter
f2e8dc42e2
8146298: (dc spec) connect and disconnect methods should specify that they may block
...
Reviewed-by: alanb, chegar, dfuchs, darcy
2019-11-14 09:06:43 -08:00
Jorn Vernee
be223c62fc
8233920: MethodHandles::tryFinally generates illegal bytecode for long/double return type
...
Reviewed-by: redestad, vlivanov, jrose
2019-11-14 10:55:46 +01:00
Sean Mullan
b171594072
8214483: Remove algorithms that use MD5 or DES from security requirements
...
Reviewed-by: xuelei
2019-11-13 13:43:06 -05:00
Kiran Ravikumar
25d3cf9216
8233731: repeated typo "fro" for "for"
...
Reviewed-by: dfuchs
2019-11-13 11:27:50 +00:00
Vladimir Yaroslavskiy
de54eb1513
8226297: Dual-pivot quicksort improvements
...
Reviewed-by: dl, lbourges
2019-11-12 13:49:40 -08:00
Ivan Gerasimov
68a7b58abb
8233658: Escape + in the expression describing Runtime.Version string
...
Reviewed-by: naoto
2019-11-06 09:45:26 -08:00
Ivan Gerasimov
1c2b406ab5
8233650: Javadoc for Math.floorMod(int, int) gives wrong example
...
Reviewed-by: bpb
2019-11-05 20:27:21 -08:00
Brent Christian
3561b4ed50
8233091: Backout JDK-8212117: Class.forName loads a class but not linked if class is not initialized
...
Reviewed-by: alanb, dholmes, mchung
2019-11-04 11:42:24 -08:00
David Holmes
1d50b2761c
8229516: Thread.isInterrupted() always returns false after thread termination
...
Reviewed-by: dnsimon, sspitsyn, dcubed, alanb
2019-11-03 18:02:29 -05:00
Alan Bateman
db4909bf99
8232673: (dc) DatagramChannel socket adaptor issues
...
Reviewed-by: dfuchs, chegar
2019-11-02 10:02:18 +00:00
Brian Burkhalter
2cea148cdf
8162520: (fs) FileStore should support file stores with > Long.MAX_VALUE capacity
...
Reviewed-by: alanb, darcy, rriggs
2019-11-01 13:16:50 -07:00
Julia Boes
012dffcd27
8231632: HttpURLConnection::usingProxy could specify that it may lazily evaluate the fact
...
Modified method description to disambiguate when false is returned and altered implementation
Reviewed-by: dfuchs, chegar, vtewari
2019-11-01 12:57:01 +00:00
Doug Lea
f29d1d172b
8231026: Miscellaneous changes imported from jsr166 CVS 2019-11
...
Reviewed-by: martin
2019-11-01 09:07:59 -07:00
Doug Lea
dc7d30d08e
8231592: Clarify that ConcurrentHashMap compute methods mapping functions execute at most once
...
Reviewed-by: martin
2019-11-01 09:04:04 -07:00
Alan Bateman
6d98a3bdd8
8205132: Degrade Thread.countStackFrames() to throw UOE
...
Reviewed-by: mchung, dholmes, dcubed
2019-10-31 16:45:58 +00:00
Vojin Jovanovic
29f2d74173
8232806: Introduce a system property to disable eager lambda initialization
...
Reviewed-by: briangoetz, mr, psandoz, forax
2019-10-28 15:03:36 +01:00
Lance Andersen
3cc7b5babe
8231451: ZipFileInputStream::skip handling of negative values with STORED entries
...
Reviewed-by: clanger, bpb, alanb
2019-10-30 15:54:41 -04:00
Mandy Chung
5b0fbb2560
8173975: Lookup::in should not allow target class be primitive or array class
...
Reviewed-by: alanb
2019-10-29 12:52:03 -07:00
Mark Reinhold
d83df45396
8232080: jlink plugins for vendor information and run-time options
...
Reviewed-by: ihse, alanb, kvn, bobv, mchung
2019-10-29 08:26:55 -07:00