Commit Graph

689 Commits

Author SHA1 Message Date
John R Rose
65d25a6a2a 7001423: JSR 292 bytecode enhancements need unit tests
Reviewed-by: twisti
2010-12-02 02:59:02 -08:00
John R Rose
aa7f1cc826 6979327: method handle invocation should use casts instead of type parameters to specify return type
Change result type parameters to result type casts.  (Also, replace private placeholder class InvokeDynamic.)

Reviewed-by: twisti
2010-11-22 22:41:31 -08:00
John R Rose
4f508abf49 6981777: implement JSR 292 EG adjustments from summer 2010
Reviewed-by: twisti
2010-10-30 21:08:23 -07:00
John R Rose
2a322bbd1d 6939224: MethodHandle.invokeGeneric needs to perform the correct set of conversions
JDK changes which run atop the corresponding JVM hook

Reviewed-by: never, twisti
2010-10-30 21:02:30 -07:00
John R Rose
82088e1e2b 6982752: dynamic languages need to decorate types with runtime information
Add ClassValue

Reviewed-by: twisti
2010-09-14 01:42:03 -07:00
John R Rose
45c90a843e 6953246: JSR 292 should support SAM conversion
Conversion function MethodHandles.asInstance; initial slow implementation based on Proxy.

Reviewed-by: twisti
2010-09-08 18:40:34 -07:00
John R Rose
6fbfeff4e2 6980096: JSR 292 reflective lookup should throw checked exceptions
Make NoAccessException be a checked exception.  Also remove JavaMethodHandle.

Reviewed-by: twisti
2010-09-08 18:40:23 -07:00
John R Rose
c7b608b1ed 6964498: JSR 292 invokedynamic sites need local bootstrap methods
Add JVM_CONSTANT_InvokeDynamic records to constant pool to determine per-instruction BSMs; add MethodHandleProvider.

Reviewed-by: twisti
2010-09-08 18:40:11 -07:00
Alan Bateman
b7ca44871e 6978511: (file) Path.toRealPath should fail if not resolving links and file does not exist
Reviewed-by: forax, chegar
2010-08-23 17:11:07 +01:00
Michael McMahon
8eca7db307 6339649: URI.create should include a detail message when throwing IllegalArgumentException
Create enclosing exception with message of enclosed

Reviewed-by: alanb, chegar
2010-08-17 14:49:01 +01:00
Mandy Chung
a33a3ae92b 6921234: TEST_BUG: java/lang/ClassLoader/deadlock/TestCrossDelegate.sh needs to be modified for Cygwin
Add check for CYGWIN

Reviewed-by: ohair
2010-08-16 15:36:13 -07:00
Lana Steuck
3d517c6b50 Merge 2010-08-02 19:45:28 -07:00
Sergey Malenkov
e51e3b724f 6972468: Security manager should be used for tests in java/beans/XMLEncoder
Reviewed-by: peterz
2010-07-30 19:40:29 +04:00
Lana Steuck
99a605b4b3 Merge 2010-07-29 22:02:45 -07:00
Alan Bateman
1736731b74 6934977: (bf) MappedByteBuffer.load can SIGBUS if file is truncated
6799037: (fs) MappedByteBuffer.load crash with unaligned file-mapping (sol)

Reviewed-by: chegar, forax
2010-07-29 13:08:58 +01:00
Daniel D. Daugherty
cf3105821b 6971847: 4/4 jmap '-histo:live' option is necessary for proper leak detection
Add work around for 6971851. Abort if 'histo:live' option isn't supported.

Reviewed-by: alanb, darcy
2010-07-26 09:06:47 -07:00
Daniel D. Daugherty
7dea7787e2 6964018: 3/4 AnonLoggerWeakRefLeak and LoggerWeakRefLeak can fail in JPRT
Refactor test/sun/tools/common/* code and refactor AnonLoggerWeakRefLeak and LoggerWeakRefLeak to use it.

Reviewed-by: ohair, alanb
2010-07-21 17:01:31 -07:00
Alan Bateman
11b424e02b 6963907: (so) Socket adapter need to implement sendUrgentData
Reviewed-by: chegar
2010-07-21 18:08:46 +01:00
Chris Hegarty
c7d240fc1a 6970262: TEST_BUG: test/java/net/NetworkInterface/IPv4Only.java has wrong test name in @run tag
Reviewed-by: alanb, dsamersoff
2010-07-21 13:52:38 +01:00
Chris Hegarty
2890d62dbb 6969395: TEST_BUG: Tests in java/net sun/net problems
Reviewed-by: alanb
2010-07-21 13:29:26 +01:00
Joe Darcy
7dcb52915b 6963622: Project Coin: Refinements to suppressed exceptions
Reviewed-by: alanb, forax, jjb
2010-07-15 18:02:05 -07:00
Dmitry Samersoff
bd18ff374c 6964714: NetworkInterface getInetAddresses enumerates IPv6 addresses if java.net.preferIPvStack property set
User can disable ipv6 explicitly, have to check it

Reviewed-by: chegar, alanb
2010-07-13 15:32:36 +04:00
Lana Steuck
6b9ad54671 Merge 2010-07-12 19:42:02 -07:00
Lana Steuck
be587b0b28 Merge 2010-07-12 19:35:11 -07:00
Lana Steuck
8baf254d15 Merge 2010-07-12 19:33:50 -07:00
Igor Nekrestyanov
9ab742ede8 6968373: FontUtilities static initializer throws AccessControlException
Reviewed-by: prr
2010-07-12 15:11:20 -07:00
Daniel D. Daugherty
ccbd107813 6968401: 3/3 disable tests added by 6942989 until 6964018 is fixed
Disable AnonLoggerWeakRefLeak.sh and LoggerWeakRefLeak.sh

Reviewed-by: ohair
2010-07-12 14:19:44 -07:00
Chris Hegarty
25c1ab1e55 6967937: Scope id no longer being set after 6931566
Reviewed-by: alanb, dsamersoff
2010-07-12 18:13:40 +01:00
Sergey Malenkov
2ca2c1d52f 6963811: Deadlock-prone locking changes in Introspector
Reviewed-by: peterz, rupashka
2010-07-09 22:07:39 +04:00
Lana Steuck
ddc7fcdc27 Merge 2010-07-08 11:28:01 -07:00
Artem Ananiev
983ec86773 6424157: java.awt.EventQueue push/pop might cause threading issues
Reviewed-by: ant, dcherepanov
2010-07-06 17:59:56 +04:00
Vladimir Yaroslavskiy
6593dfa333 6947216: Even more Dual-pivot quicksort improvements
Reviewed-by: jjb
2010-07-01 16:28:08 +01:00
Lana Steuck
04b6a83eb6 Merge 2010-06-30 19:05:50 -07:00
Ulf Zibis
ff895e1ca9 6933322: Add methods highSurrogate(), lowSurrogate() to class Character
Add public variants of methods Surrogate.high, Surrogate.low

Reviewed-by: okutsu, sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
9c81e25271 6937112: String.lastIndexOf confused by unpaired trailing surrogate
Rewrite lastIndexOf for performance and correctness

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
a0f3e72c24 6934265: Add public method Character.isBmpCodePoint
Move isBmpCodePoint from sun.nio.cs.Surrogate to Character

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Lana Steuck
67de841056 Merge 2010-06-29 22:34:59 -07:00
Lana Steuck
acc448eb85 Merge 2010-06-29 10:50:11 -07:00
Alan Bateman
62b559b4e9 6213702: (so) non-blocking sockets with TCP urgent disabled get still selected for read ops (win)
Reviewed-by: michaelm, chegar
2010-06-29 17:11:12 +01:00
Chris Hegarty
8dd995ca0d 6961029: java/net/BindException/Test.java should not use wildcard address
Reviewed-by: michaelm, alanb
2010-06-28 20:52:37 +01:00
Chris Hegarty
fba8695a1c Merge 2010-06-28 15:06:24 +01:00
Chris Hegarty
85a8187c52 6954525: Testcase failure java/net/Authenticator/B4769350.java
Reviewed-by: michaelm, weijun
2010-06-28 14:55:25 +01:00
Alan Bateman
efa88ff48b 6963828: TEST_BUG: java/nio/channels/FileTransfer.java takes too long (win)
Reviewed-by: chegar
2010-06-25 18:31:41 +01:00
Joshua Bloch
50f960454d 6911258: Project Coin: Add essential API support for Automatic Resource Management (ARM) blocks
6911261: Project Coin: Retrofit Automatic Resource Management (ARM) support onto platform APIs
6962571: Infinite loop in printing out Throwable stack traces with circular references

Reviewed-by: darcy, alanb
2010-06-23 17:03:40 -07:00
Alan Bateman
670501c6c6 6963027: TEST_BUG: channels and buffer tests need to run in samevm mode
Reviewed-by: ohair, sherman, chegar
2010-06-23 20:19:29 +01:00
Jeremy Manson
9a0c9857b1 6942989: 2/2 Memory leak of java.lang.ref.WeakReference objects
Use ReferenceQueues to manage WeakReferences in LogManager and Logger.

Reviewed-by: dholmes, alanb, emcmanus, tonyp
2010-06-22 10:54:59 -07:00
Sergey Malenkov
3cd3bb0958 6707234: Method returned by Introspector.internalFindMethod not necessarily most specific
Reviewed-by: peterz
2010-06-22 12:06:33 +04:00
Lana Steuck
ac40d6f126 Merge 2010-06-21 22:08:10 -07:00
Alan Bateman
909d0bb109 6962419: TEST_BUG: java_io tests fails in samevm mode
Reviewed-by: ohair, sherman
2010-06-19 15:17:36 +01:00
John R Rose
2fb4d43825 Merge 2010-06-19 01:14:40 -07:00