David Katleman
24ec30a8e7
Merge
2013-04-16 15:00:19 -07:00
Coleen Phillimore
4b1fc01e88
Merge
2013-04-17 15:06:17 -04:00
Mandy Chung
fa54d97a10
8004260: dynamic proxy class should have the same Java language access as the proxy interfaces
...
Reviewed-by: alanb, jrose, jdn
2013-04-17 12:04:15 -07:00
Coleen Phillimore
bdcf6abb46
8009531: Crash when redefining class with annotated method
...
Add code to annotated methods and command line flags to the tests to verify bug above
Reviewed-by: acorn, sspitsyn, dcubed, dholmes, alanb
2013-04-17 12:50:45 -04:00
David Katleman
930dcf7d28
8012048: JDK8 b85 source with GPL header errors
...
Reviewed-by: iris, mduigou, jjg
2013-04-12 15:22:33 -07:00
Robert Field
60fae99960
8012028: Metafactory-generated lambda classes should be final
...
8008941: isSynthetic() returns false for lambda instances
Reviewed-by: mduigou
2013-04-12 20:23:13 -07:00
Joe Darcy
2c7f3d292f
6298888: Add toGenericString to j.l.Class and getTypeName to j.l.reflect.Type
...
6992705: Include modifiers in Class.toGenericString()
Class.toGenericString and supporting changes; additional reviews by Peter Levart
Reviewed-by: alanb
2013-04-08 17:06:20 -07:00
Jim Gish
4b5d81c510
8006036: (process) cleanup code in java/lang/Runtime/exec/WinCommand.java
...
Reviewed-by: lancea
2013-04-08 15:29:24 -04:00
Joe Darcy
76a59cf150
8011590: More tests for core reflection modeling of default methods
...
Reviewed-by: mduigou
2013-04-05 18:20:12 -07:00
Joe Darcy
fa0b9daa08
8004979: java.lang.reflect.Modifier.toString should include "default"
...
Reviewed-by: mduigou
2013-04-02 16:26:54 -07:00
Jim Gish
4c7d3a9bd1
5015163: (str) String merge/join that is the inverse of String.split()
...
7172553: A utility class that forms the basis of a String.join() operation
Integrate StringJoiner changes from lambda
Reviewed-by: alanb, mduigou
2013-04-02 18:41:04 -04:00
Joe Darcy
edbd8cf91c
8012044: Give more information about self-suppression from Throwable.addSuppressed
...
Reviewed-by: alanb, dholmes
2013-04-25 09:37:03 -07:00
Martin Buchholz
edcaf23233
8010316: Improve handling of char sequences containing surrogates
...
Fix and optimize codePointAt, codePointBefore and similar methods
Reviewed-by: sherman, okutsu, ulfzibis, kizune
2013-03-26 13:36:51 -07:00
Vladimir Ivanov
9aba745d56
8009222: java.lang.IllegalArgumentException: not invocable, no method type when attempting to get getter method handle for a static field
...
Reviewed-by: jrose, twisti
2013-03-06 16:59:42 +04:00
Alan Bateman
9849742625
8006000: TEST_BUG: java/lang/invoke/lambda/LambdaAccessControlTest.java fails intermittently
...
Reviewed-by: chegar
2013-03-08 12:03:26 +00:00
Joe Darcy
bc576240bc
8009267: Restore isAnnotationPresent methods in public AnnotatedElement implementations
...
Reviewed-by: jjg
2013-03-04 19:42:56 -08:00
Alan Bateman
f99a5d722e
8008793: SecurityManager.checkXXX behavior not specified for methods that check AWTPermission and AWT not present
...
Reviewed-by: hawtin, mullan, dsamersoff, mchung
2013-02-27 14:24:45 +00:00
Robert Field
b0dc9de25e
8008770: SerializedLambda incorrect class loader for lambda deserializing class
...
Current thread's context ClassLoader was used to load class by name, pass class not name in serialization (Thank you Peter Levart for test and prototype. Thank you Sundar and Peter for unofficial reviews)
Reviewed-by: forax
2013-02-26 10:38:58 -08:00
Chris Hegarty
4e9403c378
Merge
2013-02-26 11:06:49 +00:00
Krystal Mo
f5666f9a69
7087570: java.lang.invoke.MemberName information wrong for method handles created with findConstructor
...
REF_invokeSpecial DMHs (which are unusual) get marked explicitly; tweak the MHI to use this bit
Reviewed-by: jrose, twisti
2013-02-26 11:05:26 +00:00
Lana Steuck
835c35dc91
Merge
2013-02-21 17:43:57 -08:00
Robert Field
56baa11720
8008356: Test LambdaSerialization.java failing
...
Run in /othervm mode
Reviewed-by: ksrini
2013-02-21 15:46:37 -08:00
Daniel D. Daugherty
5eb01d191d
8008352: java/lang/instrument/RedefineSubclassWithTwoInterfaces.sh fails on MKS
...
Use more portable pattern counting constructs in test driver.
Reviewed-by: sspitsyn, sla, coleenp
2013-02-20 13:23:56 -08:00
David Holmes
390cc1d7a1
Merge
2013-02-17 16:44:19 -05:00
Daniel D. Daugherty
ba9cf66b48
8007935: java/lang/instrument/RedefineSubclassWithTwoInterfaces.sh should use $COMPILEJAVA for javac
...
Reviewed-by: sspitsyn, alanb
2013-02-13 13:22:31 -08:00
Joel Borggrén-Franck
e0eba88c1b
8007278: Rename j.l.r.AnnotatedElement.getAnnotations(Class) to getAnnotationsByType(Class)
...
Reviewed-by: darcy, abuckley
2013-02-13 10:36:36 +01:00
Mike Duigou
71666c4c5a
8004561: Additional functional interfaces, extension methods and name changes
...
Adds additional functional interfaces for primitives and "Bi" (two operand). Adds utility extension methods. Includes some name changes for existing functional interfaces per EG decisions.
Reviewed-by: briangoetz, darcy, chegar, dholmes
2013-02-19 11:56:49 -08:00
Eric McCorkle
78fe727c6d
8008312: Re-enable MethodParameter tests in JDK
...
Reviewed-by: darcy
2013-02-19 17:09:25 +00:00
Robert Field
381aecb7c2
8004970: Implement serialization in the lambda metafactory
...
Reviewed-by: forax
2013-02-16 12:36:54 -08:00
Daniel D. Daugherty
249b55b573
8007420: add test for 6805864 to com/sun/jdi, add test for 7182152 to java/lang/instrument
...
Reviewed-by: coleenp, sspitsyn
2013-02-11 10:07:01 -08:00
David Holmes
eb1726c151
Merge
2013-02-04 18:08:50 -05:00
Joe Darcy
757d9cdeb9
8007115: Refactor regression tests for java.lang.reflect.Parameter
...
Reviewed-by: emc
2013-01-31 12:23:04 -08:00
Joel Borggrén-Franck
34e1726860
8005712: Simplify support for repeating annotations in j.l.r.AnnotatedElement
...
8004919: AnnotationSupport uses possibly half-constructed AnnotationType instances
Implements the simplified semantics for repeating annotations and removes the incorrect obtaining of an AnnotationType
Reviewed-by: darcy, abuckley
2013-01-31 10:10:34 +01:00
Joel Borggrén-Franck
b29b479461
8004698: Implement Core Reflection for Type Annotations
...
Reviewed-by: darcy
2013-01-29 10:32:49 +01:00
Akhil Arora
5dc4c11b2b
8004201: Add static utility methods to primitives to be used for redution operations
...
Reviewed-by: darcy, mduigou, briangoetz, dholmes
2013-01-25 16:13:39 -08:00
Rob McKenna
6c5679d418
8004729: Add java.lang.reflect.Parameter and related changes for parameter reflection
...
Reviewed-by: darcy, forax, psandoz, dholmes, tbell
2013-01-23 17:54:34 +00:00
Stefan Karlsson
15d98b74e9
7140852: Add test for 7022100
...
Reviewed-by: sspitsyn, coleenp
2013-01-22 15:25:37 +01:00
Stefan Karlsson
fe173efccd
8006506: Add test for redefining methods in backtraces to java/lang/instrument tests
...
Reviewed-by: sspitsyn, coleenp
2013-01-22 13:53:53 +01:00
Alan Bateman
a23a1a942b
8004502: Compact Profiles contents
...
Reviewed-by: dholmes, mchung
2013-01-21 23:35:36 -05:00
Rob McKenna
bdca3e8f8c
8005618: TEST_BUG: java/lang/ProcessBuilder/Basic.java failing intermittently
...
Reviewed-by: alanb, martin, dholmes
2013-01-15 19:58:22 +00:00
Alan Bateman
c12b624078
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
...
Reviewed-by: chegar
2013-01-11 20:19:55 +00:00
Joe Darcy
3dfc6b7512
8006062: Add @Repeatable to repeating annotations regression tests in JDK repo
...
Reviewed-by: jjg
2013-01-10 21:12:27 -08:00
Jim Gish
5c5820e950
8005582: java/lang/Runtime/exec/WinCommand.java intermittent test failures
...
Remove file-deletion code at cleanup which conflicts with jtreg cleanup
Reviewed-by: chegar
2013-01-10 15:09:45 -05:00
Brent Christian
f7eb6cd556
8005962: TEST_BUG: java/util/Properties/MacJNUEncoding can fail in certain environments
...
Test script now sets LC_ALL, other small changes, relocate test
Reviewed-by: naoto, alanb
2013-01-10 10:21:44 -08:00
Lana Steuck
b7af263526
Merge
2012-12-28 18:36:41 -08:00
David Katleman
306cab1006
8004982: JDK8 source with GPL header errors
...
Reviewed-by: ohair
2012-12-20 16:24:50 -08:00
Joe Darcy
407aefdc02
8005042: Add Method.isDefault to core reflection
...
Reviewed-by: alanb, forax, mduigou, jgish, mchung
2012-12-18 14:44:13 -08:00
Alexey Utkin
c5c34df7bf
8004928: TEST_BUG: Reduce dependence of CoreLib tests from the AWT subsystem
...
The tests were refactored to drop AWT dependence where it was possible.
Reviewed-by: alanb, mchung
2012-12-17 14:34:37 +04:00
Mark Sheppard
c9063f559f
8003890: corelibs test scripts should pass TESTVMOPTS
...
Reviewed-by: chegar, alanb
2012-12-13 14:47:35 +00:00
Mike Duigou
20d79bf440
8004905: Correct license of test to remove classpath exception
...
Reviewed-by: akhil
2012-12-11 20:49:44 -08:00
Akhil Arora
ee1832fd74
8003246: Add InitialValue Supplier to ThreadLocal
...
Reviewed-by: mduigou, forax, dl, chegar, briangoetz
2012-12-11 15:33:16 -08:00
Robert Field
846f0f2ded
8003881: Prevent lambda implementing inner classes from allowing the creation of new instances
...
Lambda implementing inner classes now has private constructor (thanks Kumar)
Reviewed-by: ksrini
2012-12-06 21:55:55 -08:00
Krystal Mo
e6ab16c283
8004066: TEST_BUG: test/java/lang/Math/DivModTests.java assumes ArithmeticException message
...
Reviewed-by: twisti, alanb, dholmes
2012-12-04 15:10:03 +00:00
Joel Borggrén-Franck
36464f41e2
7154390: Add support for repeating annotations in j.l.r.AnnotatedElement
...
Reviewed-by: darcy
2012-11-28 09:21:37 -08:00
Mike Duigou
96aa3fad5a
7088913: Add compatible static hashCode(primitive) to primitive wrapper classes
...
Adds static utility methods to each primitive wrapper class to allow calculation of a hashCode value from an unboxed primitive.
Reviewed-by: darcy, smarks, dholmes
2012-11-13 20:02:48 -08:00
Roger Riggs
5d67e2bbb1
6282196: There should be Math.mod(number, modulo) methods
...
Added the requested methods
Reviewed-by: darcy, emcmanus, alanb
2012-11-07 20:50:09 -08:00
Yuka Kamiya
81afea6146
7198195: Support Unicode 6.2.0
...
Reviewed-by: okutsu
2012-11-07 09:58:39 +09:00
Jiangli Zhou
f3e4fda6ed
7197210: java/lang/invoke/CallSiteTest.java failing on armsflt
...
Reduce work load and set longer timeout for java/lang/invoke tests.
Reviewed-by: kvn, twisti
2012-11-05 12:51:14 -05:00
Alan Bateman
430592a30e
7197491: update copyright year to match last edit in jdk8 jdk repository
...
Reviewed-by: chegar, ksrini
2012-11-02 15:50:11 +00:00
Lana Steuck
bbf2d20d03
Merge
2012-10-31 08:29:44 -07:00
Jim Gish
a865f8b91a
6206780: (str) Forwarding append methods in String{Buffer,Builder} are inconsistent
...
Update StringBuilder & StringBuffer to consistently handle forwarding to AbstractStringBuilder. Some additional cleanup (removal of refs to sub-classes from AbstractStringBuilder)
Reviewed-by: chegar, alanb, mduigou
2012-10-29 16:51:59 -07:00
Lana Steuck
b8265239b8
Merge
2012-10-25 20:32:10 -07:00
Lana Steuck
736ab82961
Merge
2012-10-23 11:29:53 -07:00
Christian Thalinger
c915e9da09
6771058: TEST_BUG: java/lang/ref/Basic.java may fail with -server -Xcomp
...
Reviewed-by: dholmes, mchung
2012-10-22 14:22:30 -07:00
Christian Thalinger
01d0ba69ce
8000989: smaller code changes to make future JSR 292 backports easier
...
Reviewed-by: jrose
2012-10-19 17:04:35 -07:00
Rob McKenna
2dca3dc06b
8000817: Reinstate accidentally removed sleep() from ProcessBuilder/Basic.java
...
Reviewed-by: alanb, martin
2012-10-15 03:26:11 +01:00
Rob McKenna
7b940bac40
7152183: TEST_BUG: java/lang/ProcessBuilder/Basic.java failing intermittently [sol]
...
Reviewed-by: alanb, martin, dholmes
2012-10-11 18:24:38 +01:00
Abhijit Saha
93e31619c4
Merge
2012-10-10 14:31:07 -07:00
John R Rose
0a735e76f6
7196190: Improve method of handling MethodHandles
...
Bind callers to caller-sensitive methods.
Reviewed-by: twisti, jjh, vlivanov, ahgross
2012-09-20 14:02:55 -07:00
Lana Steuck
ebe7692e1d
Merge
2012-09-14 10:14:02 -07:00
Mandy Chung
c6064021fd
7193302: Remove ConstructorProperties annotation from java.lang.management.LockInfo
...
Reviewed-by: alanb, sla, egahlin
2012-09-14 09:47:14 -07:00
Mikael Gerdin
cfefd5fc47
7195557: NPG: Unexpected number of memory pools
...
Update management tests to work with a VM without a permanent generation memory pool
Reviewed-by: rbackman, brutisso, sla, dholmes
2012-09-06 14:07:12 +02:00
John Coomes
6ecb1dc545
Merge
2012-09-05 12:58:45 -07:00
Christian Thalinger
e48b871bdc
7194662: JSR 292: PermuteArgsTest times out in nightly test runs
...
Reviewed-by: kvn
2012-08-28 14:57:43 -07:00
Lana Steuck
47b747e08c
Merge
2012-08-27 10:58:40 -07:00
Rob McKenna
e81dadf112
7191777: test/java/lang/ProcessBuilder/Basic.java failing intermittently due to additions for 4244896
...
Reviewed-by: dholmes, alanb
2012-08-20 14:52:12 +01:00
John R Rose
9d9d7877aa
7191102: nightly failures after JSR 292 lazy method handle update (round 3)
...
Reviewed-by: twisti, kvn
2012-08-17 13:42:25 -07:00
Daniel D. Daugherty
3be453e452
7191322: add test for 7064927 to java.lang.instrument
...
Add support for canRetransform attribute to the test manager. Add test for 7064927.
Reviewed-by: dsamersoff, sspitsyn, ohair
2012-08-17 12:51:23 -07:00
Christian Thalinger
eadc52ac6e
Merge
2012-08-10 16:03:28 -07:00
Christian Thalinger
360d512854
7023639: JSR 292 method handle invocation needs a fast path for compiled code
...
6984705: JSR 292 method handle creation should not go through JNI
Remove assembly code for JDK 7 chained method handles
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Reviewed-by: jrose, twisti, mhaupt, forax
2012-07-24 10:47:44 -07:00
John R Rose
b9299f283f
7129034: VM crash with a field setter method with a filterArguments
...
Add null checks before unsafe calls that take a variable base reference; update unit tests
Reviewed-by: kvn, twisti
2012-07-12 00:11:35 -07:00
Eric Wang
b28493b31b
7123972: test/java/lang/annotation/loaderLeak/Main.java fails intermittently
...
Reviewed-by: dholmes, smarks
2012-07-05 15:13:45 -07:00
Lana Steuck
771d931915
Merge
2012-06-26 22:59:26 -07:00
Lana Steuck
e51eadc837
Merge
2012-06-26 10:57:46 -07:00
Rob McKenna
54ddaf5ab7
4244896: (process) Provide System.getPid(), System.killProcess(String pid)
...
Reviewed-by: alanb
2012-06-26 13:27:26 +01:00
Alan Bateman
519dc0c3f9
7174723: TEST_BUG: java/lang/ProcessBuilder/Basic.java failing [win]
...
Reviewed-by: mduigou
2012-06-07 18:42:47 +01:00
Abhijit Saha
5d202b67cc
Merge
2012-05-21 15:13:13 -07:00
John R Rose
6b14cf6b82
7165628: Issues with java.lang.invoke.MethodHandles.Lookup
...
Base SecurityManager checks on either of Lookup.lookupClass or caller class; also clarify Lookup access checks.
Reviewed-by: twisti
2012-05-18 20:31:28 -07:00
Coleen Phillimore
e776b337e8
Merge
2012-04-19 10:53:35 -04:00
Joe Wang
87e24367ff
7160380: Sync JDK8 with JAXP 1.4.5
...
Bring JDK8 up to date to what we have in 7u4
Reviewed-by: lancea, mullan
2012-04-17 11:21:35 -07:00
James Melvin
d090606f36
7130404: [macosx] "os.arch" value should be "x86_64" for compatibility with Apple JDK6
...
On Mac OS X, align system property "os.arch" with Apple legacy JDKs. Also, improve os.name string matching by using .contains() method instead of .startsWith(). This fix spans multiple repositories.
Reviewed-by: dcubed, phh, ohair, katleman
2012-04-16 18:09:53 -04:00
Yuka Kamiya
e127bc8acf
7070436: Support Unicode 6.1.0 in JDK 8
...
Reviewed-by: okutsu
2012-03-29 18:02:36 +09:00
Frederic Parain
b497391969
7074616: java.lang.management.ManagementFactory.getPlatformManagementInterfaces fails
...
Reviewed-by: dholmes, sla
2012-03-14 09:03:08 -07:00
Alan Bateman
3269d85838
7113349: Initial changeset for Macosx port to jdk
...
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:34:38 +00:00
Staffan Larsen
17f17157b9
7079093: TEST_BUG: java/lang/instrument/ManifestTest.sh fails with cygwin
...
Work around problems in some cygwin installations
Reviewed-by: alanb, sspitsyn
2012-02-24 20:09:49 +01:00
Roger Riggs
ac69a5f84a
6708398: Support integer overflow
...
Added add/sub/multiply/toIntExact methods to j.l.Math and StrictMath classes
Reviewed-by: emcmanus
2012-02-16 11:43:20 -08:00
Lana Steuck
0f98d16ad1
Merge
2012-01-28 20:41:27 -08:00
Alejandro Murillo
370735f2e4
Merge
2012-01-20 14:31:33 -08:00
John R Rose
cec41c4c9d
7030453: JSR 292 ClassValue.get method is too slow
...
Implement ClassValue cooperatively with Class like ThreadLocal with Thread.
Reviewed-by: twisti, mduigou
2012-01-18 17:34:32 -08:00
John R Rose
ef856f2fe0
7117167: Misc warnings in java.lang.invoke and sun.invoke.*
...
Reviewed-by: smarks
2012-01-18 17:34:29 -08:00