Claes Redestad
82f2a0e2e4
8245024: Simplify and eagerly initialize StringConcatFactory
...
Reviewed-by: psandoz
2020-05-15 12:25:37 +02:00
Mandy Chung
b883badc47
8244961: MethodHandles::privateLookupIn throws NPE when called during initPhase2
...
Reviewed-by: chegar
2020-05-14 17:05:41 -07:00
Naoto Sato
80c75c9fa9
8239383: Support for Unicode 13.0
...
Reviewed-by: rriggs, joehw
2020-05-13 15:46:08 -07:00
Claes Redestad
fc842d2b4b
8193066: Avoid use of capturing lambdas in JarFile
...
Reviewed-by: lancea, alanb
2020-05-11 21:43:57 +02:00
Claes Redestad
ceda3089db
8244624: Improve handling of JarFile META-INF resources
...
Reviewed-by: lancea, weijun, martin
2020-05-11 10:37:54 +02:00
Naoto Sato
ed4bc1bf23
8244245: localizedBy() should override localized values with default values
...
Reviewed-by: joehw, rriggs, scolebourne
2020-05-07 09:27:48 -07:00
Alan Bateman
f6dda95113
8243596: ModuleLayer::parents should return an unmodifiable list
...
Reviewed-by: mchung
2020-05-07 14:44:09 +01:00
Claes Redestad
72704aaba1
8244413: Avoid rebinds in MethodHandle.viewAsType
...
Reviewed-by: mchung, jrose
2020-05-06 15:51:49 +02:00
Ioi Lam
eadcb08c3c
8241071: Generation of classes.jsa with -Xshare:dump is not deterministic
...
Reviewed-by: dholmes, stuefe
2020-05-05 11:10:02 -07:00
Anirvan Sarkar
704749a094
8244293: Remove outdated @apiNote in java.util.Objects
...
Reviewed-by: psandoz
2020-05-05 09:12:40 -07:00
Jorn Vernee
31041d406a
8241100: Make Boolean, Character, Byte, and Short implement Constable
...
Reviewed-by: jrose, briangoetz, psandoz
2020-05-04 09:41:01 -07:00
Mandy Chung
560da25f46
8243598: Typos in java.lang.invoke package-info
...
Reviewed-by: psandoz, lancea
2020-04-29 13:14:27 -07:00
Naoto Sato
9697772b1f
8243664: JavaDoc of CompactNumberFormat points to wrong enum
...
Reviewed-by: rriggs, joehw
2020-04-27 14:03:45 -07:00
Claes Redestad
d2e0d0e06a
8243469: Lazily encode name in ZipFile.getEntryPos
...
Co-authored-by: Eirik Bjørsnøs <eirbjo@gmail.com>
Reviewed-by: lancea, simonis
2020-04-27 17:26:05 +02:00
Mandy Chung
33d9178ebd
8243574: java.lang.invoke.InvokerBytecodeGenerator.ClassData should be package-private
...
Reviewed-by: alanb
2020-04-24 12:59:04 -07:00
Raffaello Giulietti
e19d880581
8243575: Trivial javadoc fix of j.l.i.MethodHandles::arrayElementVarHandle
...
Reviewed-by: mchung
2020-04-24 12:58:44 -07:00
Volker Simonis
2594f0b9b8
8242848: Improve performance of InflaterOutputStream.write()
...
Reviewed-by: stuefe, vtewari, redestad, lancea
2020-04-23 14:23:53 +02:00
Patrick Concannon
42d2a7411b
8243408: Inconsistent Exceptions are thrown by MulticastSocket when sending a DatagramPacket to port 0
...
This fix adds a check for port == 0 to MulticastSocket's 2-arg send method to ensure a consistent exception is thrown across platforms
Reviewed-by: dfuchs
2020-04-22 20:41:56 +01:00
Claes Redestad
268ea904ec
8243254: Examine ZipFile slash optimization for non-ASCII compatible charsets
...
Reviewed-by: lancea, naoto, martin
2020-04-22 21:13:10 +02:00
Patrick Concannon
8e21a2a1e4
8237890: DatagramPacket::getSocketAddress doesn't specify what happens if address or port are not set
...
This fix changes the default port of a DatagramPacket from -1 to 0, which changes the behaviour of calling getSocketAddress with no port set from throwing an IAE to returning an InetSocketAddress representing any local address with port 0.
Reviewed-by: alanb, chegar, dfuchs
2020-04-22 12:34:09 +01:00
Mandy Chung
1c6ca09b02
8238195: Lookup::defineClass should link the class to match the specification
...
Reviewed-by: alanb, chegar
2020-04-21 07:09:18 -07:00
Mandy Chung
7cc1371059
8238358: Implementation of JEP 371: Hidden Classes
...
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Jim Laskey
642041adbc
8243168: Remove addition preview adornment from String::stripIndent and String::translateEscapes
...
Reviewed-by: chegar
2020-04-21 10:11:36 -03:00
Eirik Bjørsnøs
fc728278c2
8242959: Optimize ZipFile.getEntry by folding lookups for name and name+'/'
...
Reviewed-by: lancea, redestad
2020-04-18 20:19:45 +02:00
Claes Redestad
aeb2f9492e
8242596: Improve JarFile.getEntry performance for multi-release jar files
...
Co-authored-by: Eirik Bjørsnøs <eirbjo@gmail.com>
Reviewed-by: lancea, redestad
2020-04-17 11:46:59 +02:00
Philipp Kunz
455eaca215
8241055: Regex Grapheme Matcher Performance Depends too much on Total Input Sequence Size
...
Reviewed-by: naoto
2020-04-16 16:09:47 -07:00
Vipin Sharma
cc05419e1a
8242366: Fix JavaDoc warnings
...
Reviewed-by: dfuchs, mullan, prappo, weijun
2020-04-15 20:42:43 +01:00
Claes Redestad
941bb3bcb8
8242842: Avoid reallocating name when checking for trailing slash in ZipFile.getEntryPos
...
Co-authored-by: Eirik Bjørsnøs <eirbjo@gmail.com>
Reviewed-by: alanb, lancea
2020-04-15 19:03:59 +02:00
Henry Jen
0278846eaa
Merge
2020-04-14 23:11:49 +00:00
Christoph Langer
3602186430
8242039: Improve jlink VersionPropsPlugin
...
Reviewed-by: redestad
2020-04-14 21:43:34 +02:00
Denghui Dong
a62a0e5282
8238665: Add JFR event for direct memory statistics
...
Reviewed-by: egahlin, alanb
2020-04-14 20:36:33 +02:00
Stuart Marks
a46f4bfa95
8242327: List spec should state that unmodifiable lists implement RandomAccess
...
Reviewed-by: lancea
2020-04-13 14:37:07 -07:00
Brian Burkhalter
447d6499f1
8242292: (fs) FileSystems.getFileSystem(URI) should throw IAE if the URI scheme is null
...
Reviewed-by: lancea, alanb
2020-04-13 10:16:38 -07:00
Joe Darcy
455d2e7cea
8225540: In core reflection note whether returned annotations are declaration or type annotations
...
Reviewed-by: alanb, prappo
2020-04-09 14:16:17 -07:00
Jim Laskey
d9bf934831
8241742: Remove the preview status for methods introduced for Text Blocks
...
Reviewed-by: psandoz, chegar, alanb
2020-04-09 10:55:01 -03:00
Naoto Sato
62060fc278
8242337: javadoc typo in NumberFormat::setMinimumFractionDigits
...
Reviewed-by: lancea, martin
2020-04-08 11:40:33 -07:00
Pavel Rappo
4c4271f283
8242230: Whitespace typos, relaxed javadoc, formatting
...
Reviewed-by: darcy, igerasim
2020-04-08 11:16:56 +01:00
Patrick Concannon
378aef32ab
8240533: Inconsistent Exceptions are thrown by DatagramSocket and DatagramChannel when sending a DatagramPacket to port 0
...
Fix adds checks for port == 0 to the send and connect methods in DatagramSocket and DatagramChannelImpl
Reviewed-by: alanb, chegar, dfuchs, lancea
2020-04-07 16:21:01 +01:00
Christoph Dreis
08b90285b2
8242208: Use Method.getParameterCount where applicable
...
Reviewed-by: redestad, chegar
2020-04-06 13:46:09 +02:00
Christoph Dreis
e9adf7bbe1
8242186: Reduce allocations in URLStreamHandler.parseURL for some cases
...
Reviewed-by: redestad, chegar
2020-04-06 13:44:54 +02:00
Chris Hegarty
61940fe4ce
8241988: DatagramSocket incorrectly caches the first set of socket options
...
Reviewed-by: msheppar, dfuchs, alanb
2020-04-03 07:16:35 +01:00
Christoph Langer
15fcf27414
8241947: Minor comment fixes for system property handling
...
Reviewed-by: ihse, mchung, alanb
2020-04-02 13:06:29 +02:00
Tagir F. Valeev
0386b7d0c3
8176894: Provide specialized implementation for default methods putIfAbsent, computeIfAbsent, computeIfPresent, compute, merge in TreeMap
...
Co-authored-by: Sergey Kuksenko <sergey.kuksenko@oracle.com>
Reviewed-by: martin, stuefe, rriggs
2020-04-02 05:44:04 +00:00
Ivan Gerasimov
3790e58090
8241761: Typos: empty lines in javadoc, inconsistent indents, etc. (security-libs only)
...
Reviewed-by: weijun
2020-04-01 18:38:05 -07:00
Mandy Chung
5700a934bb
8241964: Clean up java.lang.Class javadoc
...
Reviewed-by: darcy
2020-03-31 19:18:16 -07:00
Ivan Gerasimov
53b2368d49
8241760: Typos: empty lines in javadoc, inconsistent indents, etc. (net and nio)
...
Reviewed-by: alanb, prappo, dfuchs
2020-03-30 13:59:16 -07:00
Joe Darcy
916f00acc1
8241374: add Math.absExact
...
Reviewed-by: smarks, chegar, bpb
2020-03-30 13:49:02 -07:00
Ivan Gerasimov
b0e1ee4b3b
8241727: Typos: empty lines in javadoc, inconsistent indents, etc. (core-libs only)
...
Reviewed-by: prappo
2020-03-28 21:07:55 -07:00
Joe Darcy
98e6be7cc2
8241789: Make citations of JLS and JVMS consistent in java.lang.Class
...
Reviewed-by: jjg
2020-03-28 13:01:26 -07:00
Brian Burkhalter
fc02d9872e
8238013: Enhance String writing
...
Reviewed-by: alanb, ahgross, rhalade, rriggs
2020-02-06 07:59:39 -08:00