612 Commits

Author SHA1 Message Date
Jesper Wilhelmsson
f72f966df1 Merge 2017-06-21 21:50:13 +02:00
Claes Redestad
81a4918f16 8181147: JNI_GetStringPlatformChars should have a fast path for UTF-8
8182451: Inconsistency between String.getBytes("Cp1252") and JNU_GetStringPlatformChars

Reviewed-by: martin, erikj, sherman, chegar, mikael
2017-06-19 09:29:11 +02:00
Lana Steuck
0d2c126339 Merge 2017-06-16 04:54:54 +00:00
Lana Steuck
be753c89af Merge 2017-06-14 19:58:49 +00:00
Ron Pressler
58eac96b16 8161207: remove extra MethodHandle subclass in MethodHandleImpl
Add intrinsic name to LambdaForm.NamedFunction, but keep IntrinsicMethodHandle; interim solution

Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Reviewed-by: psandoz
2017-06-13 01:34:30 +03:00
Jesper Wilhelmsson
db7a9c5b60 Merge 2017-06-08 14:49:07 +02:00
Mandy Chung
fd73998610 8181696: Package versioning link does not exist in JAR file specification
Reviewed-by: alanb
2017-06-07 18:54:45 -07:00
Ron Pressler
ac0bf2d401 8181292: Backport Rename internal Unsafe.compare methods from 10 to 9
Reviewed-by: psandoz, dholmes, mchung
2017-06-05 16:05:24 -07:00
Lana Steuck
ce477ddb3a Merge 2017-06-03 02:49:49 +00:00
Roger Riggs
4fff93d5b6 8181156: html5 issues in java.base javadoc
Reviewed-by: alanb
2017-06-01 09:28:59 -04:00
Hamlin Li
696328559d 8181082: class-level since tag issues in java.base & java.datatransfer module
Reviewed-by: alanb, serb
2017-05-31 19:54:16 -07:00
Jonathan Gibbons
d2b3d30d6a 8181290: Invalid HTML 5 in core-libs docs
Reviewed-by: mchung, lancea
2017-05-30 15:48:54 -07:00
Coleen Phillimore
ad874355d3 8174749: Use hash table/oops for MemberName table
Add a Java type called ResolvedMethodName which is immutable and can be stored in a hashtable, that is weakly collected by gc

Reviewed-by: sspitsyn, stefank, jrose
2017-05-27 09:21:21 -04:00
Joe Darcy
538f99f6ca 8074977: Constructor.getAnnotatedParameterTypes returns wrong value
Additional comments from plevart and forax

Reviewed-by: mchung, alanb
2017-05-23 14:34:45 -07:00
Jesper Wilhelmsson
04e3b6c0b1 Merge 2017-05-23 15:30:45 +02:00
Lana Steuck
40ed54262c Merge 2017-05-19 04:17:50 +00:00
Stuart Marks
44bdf50a3a 8180137: fix broken link in java.lang.Iterable
Reviewed-by: rriggs
2017-05-12 14:52:26 -07:00
Vladimir Kozlov
0a1859b858 Merge 2017-05-12 13:59:16 -07:00
Ron Pressler
999aabdd77 8180075: Javadoc of MethodHandles.Lookup::bind should note the difference from MethodHandle::bindTo
Reviewed-by: psandoz
2017-05-12 13:43:06 -07:00
Roger Riggs
48dc9fb500 8180082: Broken javadoc links
Reviewed-by: mchung, bpb, chegar, ihse
2017-05-12 15:15:43 -04:00
Lana Steuck
331e956b48 Merge 2017-05-11 23:21:42 +00:00
Lana Steuck
5d5921732e Merge 2017-05-11 20:22:54 +00:00
Ron Pressler
1f2554ca5c 8159995: Rename internal Unsafe.compare methods
Reviewed-by: psandoz, dholmes
2017-05-11 12:55:53 -07:00
Jonathan Gibbons
b05e3d5acf 8179592: Update tables in java.base to be HTML 5-friendly
Reviewed-by: mchung, darcy, martin
2017-05-11 10:48:00 -07:00
Stuart Marks
56a26d4865 8180128: small errors in String javadoc
Reviewed-by: lancea
2017-05-10 15:59:15 -07:00
Ron Pressler
30c35f5e34 8177153: LambdaMetafactory has default constructor
Reviewed-by: psandoz
2017-05-09 15:04:46 -07:00
Mandy Chung
429e4ac085 8020801: Apply the restriction of invoking MethodHandles.lookup to j.l.r.Method.invoke
Reviewed-by: plevart, psandoz
2017-05-08 21:21:39 -07:00
Jesper Wilhelmsson
2573db6b65 Merge 2017-05-05 17:48:44 +02:00
Lana Steuck
c582d3ffba Merge 2017-05-05 04:52:02 +00:00
Joe Darcy
71a6eb611b 8138672: Math. negativeZeroFloatBits and Math. negativeZeroDoubleBits should be final
Reviewed-by: psandoz, bpb
2017-05-04 20:43:00 -07:00
Alan Bateman
853c626781 Merge 2017-05-04 09:43:09 +01:00
Alan Bateman
4c0e26e374 8178380: Module system implementation refresh (5/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Reviewed-by: mchung, alanb, sspitsyn
2017-05-04 07:26:55 +00:00
Paul Sandoz
0bd3951f5a 8167229: Improve VarHandle documentation
Reviewed-by: martin, abuckley
2017-05-01 11:16:01 -07:00
Ron Pressler
b8116f74c0 8177146: MethodHandles.Lookup::bind allows illegal protected access
Reviewed-by: psandoz, vlivanov, redestad
2017-05-01 10:43:40 -07:00
Jonathan Gibbons
7f3d5dc40b 8179413: Fix remaining minor HTML5 issues in java.base module
Reviewed-by: darcy, lancea
2017-04-27 17:43:13 -07:00
Jonathan Gibbons
2c7e41e237 8179367: update use of align, valign attributes in java.base to use style attribute
Reviewed-by: martin, mchung
2017-04-26 16:05:55 -07:00
Jonathan Gibbons
1838d55322 8179364: update "<a name=" in java.base module to use id attribute
Reviewed-by: darcy
2017-04-26 13:38:21 -07:00
Jesper Wilhelmsson
0bd4eeb396 Merge 2017-04-24 21:34:23 +02:00
Rachel Protacio
13c24bba29 8165896: Use "open" flag from JVM_DefineModule to export all module packages
Implemented VM side of open modules, which export all their packages unqualifiedly. Automatic modules and unnamed modules are treated internally as open modules.

Reviewed-by: alanb, hseigel, lfoltan
2017-04-24 12:08:09 -04:00
Lana Steuck
9d2c7ad695 Merge 2017-04-22 00:22:08 +00:00
Pavel Rappo
83ca4d9575 8177738: Runtime.Version must be a value-based class
8148822: (spec) Regex in Runtime.Version and JEP 223 should match
8160954: (spec) Runtime.Version regex and $PRE/$OPT issues
8148877: (spec) Specify when an empty '+' is required in a version string

Co-authored-by: Iris Clark <iris.clark@oracle.com>
Reviewed-by: psandoz, rriggs
2017-04-21 19:13:47 +01:00
Lana Steuck
ae7df5fca9 Merge 2017-04-13 20:35:17 +00:00
Joe Darcy
d4bc626eb3 8177682: Suppress removal warning for System.runFinalizersOnExit
Reviewed-by: mchung, smarks
2017-04-13 11:08:52 -07:00
Dean Long
73551c45ef 8158168: Missing bounds checks for some String intrinsics
Reviewed-by: vlivanov, thartmann, sherman
2017-04-12 16:37:33 -04:00
Claes Redestad
3b47209a32 8178480: Wrong exception being thrown on an invalid MethodType
Reviewed-by: psandoz
2017-04-11 22:32:49 +02:00
Roger Riggs
19215787f8 8178347: Process and ProcessHandle getPid method name inconsistency
Reviewed-by: alanb, bpb
2017-04-11 14:18:22 -04:00
Claes Redestad
864cf0d5ca 8178387: Reduce memory churn when creating java.lang.invoke entities
Reviewed-by: psandoz, vlivanov
2017-04-11 18:57:46 +02:00
Claes Redestad
9ab899d481 8178384: Reduce work in java.lang.invoke initializers
Reviewed-by: vlivanov, psandoz
2017-04-11 11:24:12 +02:00
Stuart Marks
80eb904ede 8173152: Wrong wording in Comparator.compare() method spec
Reviewed-by: bpb
2017-04-07 15:41:07 -07:00
Alan Bateman
edcaebfcce Merge 2017-04-07 10:53:42 +01:00