318 Commits

Author SHA1 Message Date
Ivan Gerasimov
eebe346715 8221430: StringBuffer(CharSequence) constructor truncates when -XX:-CompactStrings specified
Co-authored-by: Andrew Leonard <andrew_m_leonard@uk.ibm.com>
Reviewed-by: igerasim, rriggs
2019-04-09 16:32:22 -07:00
Mandy Chung
a5b9e0f7ba 8221530: Caller sensitive methods not handling caller = null when invoked by JNI code with no java frames on stack
Reviewed-by: alanb, dholmes, sundar
2019-04-06 21:16:40 +08:00
Claes Redestad
1908897b93 8221723: Avoid storing zero to String.hash
Reviewed-by: shade, prappo, jiangli
2019-04-02 11:24:40 +02:00
Adam Farley
be132fcc65 8216558: Lookup.unreflectSetter(Field) fails to throw IllegalAccessException for final fields
Reviewed-by: mchung
2019-03-26 15:53:36 -07:00
Claes Redestad
274396e105 8221473: Configuration::reads can use Set.copyOf
Reviewed-by: alanb, forax
2019-03-26 15:20:23 +01:00
Jonathan Gibbons
2df0f4b4dd 8220249: fix headings in java.compiler
Reviewed-by: erikj, darcy
2019-03-20 15:35:26 -07:00
Ivan Gerasimov
c07c8d3eea 8220684: Process.waitFor(long, TimeUnit) can return false for a process that exited within the timeout
Reviewed-by: prappo, dholmes, rriggs
2019-03-16 15:05:21 -07:00
Daniel Fuchs
5f13ffec66 8219197: ThreadGroup.enumerate() may return wrong value
ThreadGroup.enumerate(list,n,recurse) should never return a value that is less than n.

Reviewed-by: clanger, chegar, prappo
2019-03-13 18:43:16 +00:00
Roger Riggs
2f3fc244eb 8220237: ProcessBuilder API documentation typo
Reviewed-by: dfuchs
2019-03-12 12:48:03 -04:00
Joe Darcy
3a072e4e45 8220346: Refactor java.lang.Throwable to use Objects.requireNonNull
Reviewed-by: lancea, mchung, tvaleev, forax, martin, plevart
2019-03-11 11:23:09 -07:00
Ivan Gerasimov
0052dff370 8218228: The constructor StringBuffer(CharSequence) violates spec for negatively sized argument
Reviewed-by: rriggs, darcy
2019-03-01 12:47:30 -08:00
Joe Darcy
fbc614712d 8218726: Minor Throwable.printStackTrace() typos
Reviewed-by: bpb
2019-02-27 12:19:29 -08:00
Vicente Romero
4d368850e1 8219480: j.l.c.ClassDesc::arrayType(int rank) throws IllegalArgumentException if rank = 0
Reviewed-by: mchung, briangoetz
2019-02-23 19:41:53 -05:00
Ivan Gerasimov
076d2267b6 8218227: StringBuilder/StringBuffer constructor throws confusing NegativeArraySizeException
Reviewed-by: rriggs
2019-02-05 17:05:40 -08:00
Naoto Sato
66c9e770df 8218386: Correct the SE version in j.l.Character
Reviewed-by: lancea
2019-02-04 10:04:04 -08:00
Jesper Wilhelmsson
b2d0be746a Merge 2019-02-02 00:11:54 +01:00
Naoto Sato
12e3cbaec9 8216546: Support new Japanese era in java.lang.Character for Java SE 11
Reviewed-by: chegar
2019-02-01 08:59:03 -08:00
Andrey Turbanov
cfeb359800 8218022: Repeated words typos in java.base
Reviewed-by: alanb, lancea, mchung
2019-01-30 00:24:32 +00:00
Roger Riggs
c99285ea9e 8217339: ClassCircularityError loading NumberFormatProvider
Reviewed-by: naoto, mchung
2019-01-23 09:57:31 -05:00
Vladimir Ivanov
6a61345684 8213234: Move LambdaForm.Hidden to jdk.internal.vm.annotation
Reviewed-by: mchung, dlong
2019-01-22 18:13:49 -08:00
Joe Darcy
38cf9d76c8 8217000: Refactor Class::methodToString
Reviewed-by: smarks
2019-01-15 19:10:40 -08:00
Jesper Wilhelmsson
528bc73ca4 Merge 2019-01-14 23:05:26 +01:00
Joe Darcy
01547499e7 8213299: runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java failed with java.lang.NoSuchMethodException
Reviewed-by: dholmes
2019-01-11 08:32:44 -08:00
Vicente Romero
0032475ef1 8215648: remove equals and hashCode implementations from j.l.i.VarHandle
Reviewed-by: mchung
2019-01-11 09:02:44 -05:00
Jim Laskey
0068f1aaa2 8215493: String::indent inconsistency with blank lines
Reviewed-by: rriggs, smarks
2019-01-09 18:17:36 -04:00
Jim Laskey
eeca4576d2 8215489: Remove String::align
Reviewed-by: vromero, sundar
2019-01-09 16:41:16 -04:00
Jim Laskey
c7d085fa64 8215112: String::transform spec clarification
Reviewed-by: smarks
2019-01-09 15:23:11 -04:00
Vicente Romero
eed3a536c0 8215510: j.l.c.ClassDesc is accepting descriptors not allowed by the spec
Reviewed-by: goetz
2019-01-09 08:07:23 -05:00
Deepak kejriwal
6774e567aa 8214567: Use {@systemProperty} for definitions of system properties
8214569: Use {@systemProperty} for definitions of system properties

Reviewed-by: lancea, mchung, alanb, naoto
2018-12-26 17:09:19 +05:30
Jesper Wilhelmsson
e13cc6d3a6 Merge 2019-01-10 21:52:33 +01:00
Jesper Wilhelmsson
67a5fc2529 Merge 2019-01-09 22:59:49 +01:00
Aleksey Shipilev
f44e59355c 8216302: StackTraceElement::fill_in can use cached Class.name
Reviewed-by: coleenp, dholmes, mchung
2019-01-09 20:28:16 +01:00
Ivan Gerasimov
79c92eadc3 8210788: Javadoc for Thread.join(long, int) should specify that it waits forever when both arguments are zero
Reviewed-by: martin, rriggs
2019-01-09 10:59:37 -08:00
Ivan Gerasimov
12bc8196d4 8216413: Long.parseLong() is specified to throw unless string contains parsable {@code int}; should be {@code long}
Reviewed-by: clanger
2019-01-09 06:18:33 -08:00
Roger Riggs
fc741865bd 8216205: Java API documentation formatting error in System.getEnv
Reviewed-by: lancea, bchristi, alanb
2019-01-07 14:15:00 -05:00
Jesper Wilhelmsson
59716b0bb3 Merge 2019-01-02 16:05:13 +01:00
Jesper Wilhelmsson
f4f859b446 Merge 2018-12-19 20:53:30 +01:00
Pengfei Li
556d79b518 8212043: Add floating-point Math.min/max intrinsics
Floating-point Math.min() and Math.max() intrinsics are enabled on AArch64 platform

Reviewed-by: adinn, aph
2018-12-18 16:50:35 +00:00
Vicente Romero
650f3fc113 8215300: additional changes to constants API
Reviewed-by: goetz
2018-12-13 10:35:09 -05:00
Claes Redestad
a3df1d618e 8215281: Use String.isEmpty() when applicable in java.base
Reviewed-by: dfuchs, alanb
2018-12-13 15:31:05 +01:00
Michihiro Horie
31fbc28af5 8213754: PPC64: Add Intrinsics for isDigit/isLowerCase/isUpperCase/isWhitespace
Reviewed-by: kvn, rriggs, mdoerr, gromero
2018-12-11 20:31:18 -05:00
Claes Redestad
d1ef9b19d7 8215159: Improve initial setup of system Properties
Reviewed-by: mchung, rriggs, plevart, briangoetz, robilad
2018-12-12 13:28:50 +01:00
Naoto Sato
c2364ff9e0 8215194: Initial size of UnicodeBlock map is incorrect
Reviewed-by: rriggs, rgoel, igerasim
2018-12-11 13:13:18 -08:00
Stuart Marks
7cea6f6ac2 8199394: Object.hashCode should not mention anything about memory addresses
Reviewed-by: shade, forax, adinn, rriggs
2018-12-11 13:10:14 -08:00
Martin Buchholz
100d5f79a6 8215048: Some classloader typos
Reviewed-by: alanb
2018-12-09 10:07:18 -08:00
Vicente Romero
9846588b31 8210031: implementation for JVM Constants API
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: jrose, mcimadamore, darcy, mchung, rriggs, dholmes, forax
2018-12-09 12:36:24 -05:00
Roger Riggs
938b844088 8214971: Replace use of string.equals("") with isEmpty()
Reviewed-by: jlaskey, prappo, lancea, dfuchs, redestad
2018-12-07 11:51:17 -05:00
Roger Riggs
f0279fd499 8214794: java.specification.version should be only the major version number
Reviewed-by: martin, mchung, bpb
2018-12-04 15:22:41 -05:00
Erik Österlund
3a5bccf5c6 8213565: Crash in DependencyContext::remove_dependent_nmethod
Reviewed-by: rehn, kvn
2018-11-30 11:40:48 +01:00
Claes Redestad
78669ad35e 8215380: Backout accidental change to String::length
Reviewed-by: darcy, smarks
2018-12-14 12:02:39 +01:00