387 Commits

Author SHA1 Message Date
Julia Boes
d15a57b842 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base
Minor coding style update of javadoc tag in any file in java.base

Reviewed-by: bchristi, lancea
2019-09-24 09:43:43 +01:00
Julia Boes
b15b322cf3 8230648: Replace @exception tag with @throws in java.base
Minor coding style update of javadoc tag in any file in java.base

Reviewed-by: prappo, lancea
2019-09-20 11:07:52 +01:00
Claes Redestad
52f9024232 8230768: Arrays of SoftReferences in MethodTypeForm should not be @Stable
Reviewed-by: mchung
2019-09-19 23:38:50 +02:00
Mandy Chung
5d397eea9f 8229785: MethodType::fromMethodDescriptorString should require security permission if loader is null
Reviewed-by: vromero
2019-09-10 10:35:52 -07:00
Brent Christian
a4613d4a8f 8212117: Class.forName may return a reference to a loaded but not linked Class
Reviewed-by: dholmes, mchung
2019-09-09 11:04:04 -07:00
Joe Darcy
10f1f10f2e 8230723: Remove default constructors from java.lang and java.io
Reviewed-by: bpb, rriggs
2019-09-09 10:13:42 -07:00
Claes Redestad
c788d9841c 8230662: Remove dead code from MethodTypeForm
Reviewed-by: vlivanov, mchung
2019-09-07 15:44:04 +02:00
Naoto Sato
2aac0e925d 8229831: Upgrade Character.isUnicodeIdentifierStart/Part() methods to the latest standard
Reviewed-by: rriggs
2019-09-05 17:38:54 -07:00
Joe Darcy
9d764ee48e 8229997: Apply java.io.Serial annotations in java.base
Reviewed-by: alanb, rriggs
2019-08-29 16:31:34 -07:00
Claes Redestad
b4c63048bb 8230302: GenerateJLIClassesPlugin can generate invalid DirectMethodHandle methods
Reviewed-by: mchung
2019-08-29 15:59:00 +02:00
Joe Darcy
9b0cfaf53e 8230074: Improve specification for {Math, StrictMath}.negateExact
Reviewed-by: bpb
2019-08-28 22:30:26 -07:00
Julia Boes
ce3face998 8229485: Add decrementExact(), incrementExact(), and negateExact() to java.lang.StrictMath
Three methods are added to StrictMath for consistency with Math. Tests are updated accordingly.

Reviewed-by: bpb, lancea, igerasim, dfuchs, joehw, rriggs
2019-08-23 19:55:08 +01:00
Julia Boes
3ba89c3e98 8229337: java.lang.Math class doc should be adjusted regarding -Exact methods
Reviewed-by: rriggs, bpb
2019-08-23 18:40:59 +01:00
Roger Riggs
de8d01d4d3 8207814: (proxy) upgrade the proxy class generator
Reviewed-by: mchung
2019-08-21 16:19:17 -04:00
Claes Redestad
2c245bd2b9 8229773: Resolve permissions for code source URLs lazily
Reviewed-by: alanb, mullan, rriggs, dfuchs
2019-08-19 06:13:52 +02:00
Ivan Gerasimov
c0b8844dce 8221307: String.substring() OOB exception on start index reports improper information
Reviewed-by: rriggs, redestad
2019-08-16 11:35:17 -07:00
Mandy Chung
5542307097 8193325: StackFrameInfo::getByteCodeIndex returns wrong value if bci > 32767
Reviewed-by: coleenp, fparain, shade, plevart
2019-08-15 13:41:30 -07:00
Mandy Chung
182c19e8c4 8209005: Lookup.unreflectSpecial fails for default methods when Lookup.findSpecial works
8209078: Unable to call default method from interface in another module from named module

Reviewed-by: dfuchs, plevart
2019-08-13 15:49:11 -07:00
Claes Redestad
46e4b55e23 8229283: StringLatin1 should consistently use CharacterDataLatin1.instance when applicable
Reviewed-by: jlaskey
2019-08-09 13:58:48 +02:00
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