318 Commits

Author SHA1 Message Date
Mandy Chung
19ec64630a 8228671: Fastdebug VM throws InternalError when publicLookup.in(T) is used to resolve a member
Reviewed-by: alanb
2019-07-27 14:49:16 -07:00
Mandy Chung
068575e9b1 8173978: Lookup.in should allow teleporting from a lookup class in a named module without dropping all access
Reviewed-by: alanb, plevart
2019-07-24 16:46:42 -07:00
Mandy Chung
203db2596f 8219774: Reexamine the initialization of LangReflectAccess shared secret at AccessibleObject::<clinit>
Reviewed-by: alanb
2019-07-23 20:03:03 -07:00
Mikael Vidstedt
f08a9de3b2 Merge 2019-07-17 04:33:37 -07:00
Claes Redestad
78a1c8ea0a 8227587: Add internal privileged System.loadLibrary
Reviewed-by: rriggs, mchung, chegar
2019-07-17 12:35:46 +02:00
Joe Darcy
86adc981f1 8227202: clarify Class.isEnum() doc
Reviewed-by: bpb
2019-07-03 16:29:20 -07:00
Joe Darcy
d96ed63fd0 8226809: Circular reference in printed stack trace is not correctly indented & ambiguous
Reviewed-by: bpb
2019-06-28 18:51:01 -07:00
Jesper Wilhelmsson
16548883ec Merge 2019-06-26 22:16:00 +02:00
Vicente Romero
b2e7d0367e 8226709: MethodTypeDesc::resolveConstantDesc needs access check per the specification
Reviewed-by: mchung, mcimadamore
2019-06-25 18:21:21 -04:00
Tagir F. Valeev
985e0c53b3 8226286: Remove unused method java.lang.Integer::formatUnsignedInt and cleanup Integer/Long classes
Reviewed-by: bpb, redestad
2019-06-20 03:32:14 +00:00
Joe Darcy
78f3c596a3 8225675: Outdated citation of JLS in java.lang.ref.Reference
Reviewed-by: lancea, jjg, mchung
2019-06-12 14:14:39 -07:00
Joe Darcy
d3dd56d3b2 7086604: (reflect) Clarifications to javadoc for getGeneric*Type methods in j.l.r
Reviewed-by: lancea, abuckley
2019-06-11 17:20:51 -07:00
Stuart Marks
6758853b54 8205131: remove Runtime trace methods
Reviewed-by: lancea, rriggs, iklam
2019-06-10 17:33:11 -07:00
Joe Darcy
12802b7e8d 8212328: Exceptional throw cases
Reviewed-by: smarks, rriggs, igerasim, ahgross, skoivu
2019-03-28 14:18:57 -07:00
Joe Darcy
de1584263d 8181869: getAnnotatedParameterTypes%G​%@() specification should be clarified
Reviewed-by: lancea
2019-06-09 15:21:43 -07:00
Jim Laskey
189345db4a 8225448: String::translateEscapes javadoc has accessibility issues
Reviewed-by: jjg
2019-06-07 08:47:28 -03:00
Joe Darcy
a073e354ce 8225465: Add @jls tags to receiver type methods
Reviewed-by: lancea, jjg
2019-06-06 17:48:06 -07:00
Mark Reinhold
332d079057 8197927: Allow the system property java.vendor.version to be undefined
Reviewed-by: lancea, mchung, clanger
2019-06-06 10:01:36 -07:00
Jim Laskey
9c6c6eae1d 8203444: String::formatted (Preview)
Reviewed-by: smarks, rriggs, sherman
2019-06-06 12:24:44 -03:00
Jim Laskey
fead01f2c9 8223780: String::translateEscapes (Preview)
Reviewed-by: abuckley, vromero, jlahoda, bchristi, igerasim, smarks
2019-06-06 12:24:44 -03:00
Jim Laskey
0777a86d68 8223775: String::stripIndent (Preview)
Reviewed-by: abuckley, vromero, jlahoda, bchristi, rriggs, smarks
2019-06-06 12:24:44 -03:00
Joe Darcy
c31f5bfa4a 8225353: Add @jls links to java.lang.Enum
Reviewed-by: lancea, jjg
2019-06-05 10:49:09 -07:00
Roger Riggs
ab88704c67 8220238: Enhancing j.l.Runtime/System::gc specification with an explicit 'no guarantee' statement
Reviewed-by: shade, dholmes, mchung, plevart
2019-06-05 10:21:02 -04:00
Jonathan Gibbons
077ecbf2b2 8225314: broken links in java.base
Reviewed-by: darcy
2019-06-04 15:42:16 -07:00
Claes Redestad
fd7c38aa35 8224986: (str) optimize StringBuilder.append(CharSequence, int, int) for String arguments
Reviewed-by: jlaskey, rriggs
2019-05-31 12:20:21 +02:00
Joe Darcy
f5f5767eae 8224783: Javadoc of String strip methods uses link where linkplain would be better
Reviewed-by: lancea, jlaskey
2019-05-28 10:54:59 -07:00
Christoph Langer
fd67f8ee69 8223553: Fix code constructs that do not compile with the Eclipse Java Compiler
Reviewed-by: smarks, dfuchs
2019-05-24 07:56:29 +01:00
Naoto Sato
93fabcdc5a 8221431: Support for Unicode 12.1
Reviewed-by: erikj, rriggs
2019-05-23 12:21:21 -07:00
Vicente Romero
ff2fa1e422 8223914: specification of j.l.c.MethodTypeDesc::of should document better the exceptions thrown
Reviewed-by: rriggs
2019-05-22 09:26:48 -04:00
Ivan Gerasimov
218204b1a3 8223593: Refactor code for reallocating storage
Reviewed-by: prappo, plevart, rriggs, smarks
2019-05-21 18:40:29 -07:00
Vicente Romero
94619467c8 8223725: j.l.c.MethodHandleDesc::of throws undocumented exception IllegalArgumentException
Reviewed-by: rriggs
2019-05-21 15:59:46 -04:00
Vicente Romero
6002c4e426 8223723: j.l.c.MethodTypeDesc.dropParameterTypes​ throws the undocumented exception: IllegalArgumentException
Reviewed-by: rriggs
2019-05-21 15:44:00 -04:00
Joe Darcy
6930e80c31 8224175: Fix inconsistencies in @jls and @jvms tags
Reviewed-by: jjg, rfield
2019-05-20 17:29:44 -07:00
Joe Darcy
867d84d731 8224174: java.lang.Number has a default constructor
Reviewed-by: rriggs, bpb
2019-05-20 10:16:45 -07:00
Vicente Romero
917645194b 8223803: j.l.c.MethodTypeDesc::insertParameterTypes​ doesn't control type of parameters
Reviewed-by: rriggs
2019-05-17 13:16:07 -04:00
Vicente Romero
fa2ea6a6d8 8223726: j.l.c.MethodTypeDesc spec should contain precise assertions for one parameter's methods
Reviewed-by: darcy
2019-05-16 13:34:33 -04:00
Claes Redestad
5d1df35fe7 8223454: Reduce String concatenation shapes by folding initialLengthCoder into last mixer
Reviewed-by: jlaskey
2019-05-09 17:28:27 +02:00
Sandhya Viswanathan
707c30fae6 8222074: Enhance auto vectorization for x86
Reviewed-by: kvn, vlivanov
2019-05-07 13:33:27 -07:00
Ivan Gerasimov
4f02d011b0 8222955: Optimize String.replace(CharSequence, CharSequence) for common cases
Reviewed-by: redestad, tvaleev
2019-05-06 18:07:55 -07:00
Vicente Romero
c7faef0785 8219483: j.l.c.ClassDesc::nested(String, String...) doesn't throw NPE if any arg is null
Reviewed-by: darcy
2019-05-06 14:47:55 -04:00
Claes Redestad
c23dc4dfcf 8222895: StackOverflowError in custom security manager that relies on ClassSpecializer
Reviewed-by: alanb
2019-05-02 10:38:00 +02:00
Brent Christian
aeaa78cb26 8221267: Document the jdk.net.URLClassPath.showIgnoredClassPathEntries system property
Reviewed-by: alanb, bpb, lancea
2019-05-01 13:07:30 -07:00
Claes Redestad
e7a6cbbd38 8222852: Reduce String concat combinator tree shapes by folding constants into prependers
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: shade, plevart, forax
2019-04-30 12:54:07 +02:00
Vicente Romero
c748887332 8219487: j.l.c.ClassDesc spec should contain precise assertions for one parameter's methods
Reviewed-by: darcy, jlaskey
2019-04-26 12:49:51 -04:00
David Holmes
ded4f6b5cf 8222518: Remove unnecessary caching of Parker object in java.lang.Thread
Reviewed-by: dcubed, rehn
2019-04-26 00:57:03 -04:00
Claes Redestad
5b2d4559b1 8215017: Improve String::equals warmup characteristics
Reviewed-by: jlaskey
2019-04-11 14:56:52 +02:00
Claes Redestad
781fb29580 8222484: Specialize generation of simple String concatenation expressions
Reviewed-by: jrose, jlaskey
2019-04-17 00:06:38 +02:00
Sergei Tsypanov
9d979eaf56 8222151: refactoring: enhancements to java.lang.Class::methodToString and java.lang.Class::getTypeName
Reviewed-by: darcy
2019-04-11 22:56:11 -04:00
Claes Redestad
8ee30d4fbe 8222029: Optimize Math.floorMod
Reviewed-by: aph, darcy
2019-04-10 20:03:07 +02:00
Claes Redestad
89a267ca46 8221836: Avoid recalculating String.hash when zero
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: jrose, adinn
2019-04-10 12:05:50 +02:00