Commit Graph

1275 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
Kumar Srinivasan
8f806006bd 6966740: (pack200) need to add the timezone regression test
Reviewed-by: jrose
2010-08-23 10:47:42 -07:00
Kumar Srinivasan
6f001f2e2f 6969063: (pack200) The default value of Pack200.Packer.SEGMENT_LIMIT property is empty string instead of -1
Reviewed-by: jrose
2010-08-23 10:19:20 -07:00
Chris Hegarty
f2e822b50f 6977851: NPE from FileURLConnection.connect
Reviewed-by: michaelm
2010-08-23 21:59:13 +01:00
Kumar Srinivasan
226ae73a8d 6531345: Memory leak in unpack200
Reviewed-by: jrose
2010-08-23 08:18:08 -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
Kumar Srinivasan
05802c5a7a Merge 2010-08-20 08:49:48 -07:00
Kumar Srinivasan
28fff3ad36 6966737: (pack200) the pack200 regression tests need to be more robust
Reviewed-by: jrose, ohair
2010-08-20 08:18:54 -07:00
Weijun Wang
34198dbc4c 6976536: Solaris JREs do not have the krb5.kdc.bad.policy configured by default
Reviewed-by: valeriep
2010-08-19 11:26:32 +08:00
Xueming Shen
51e553fe0e 6969651: TEST_BUG: tools/jar/JarEntryTime.java failed on JDK7 when run on NFS
Changed to use more appropriate nfs file time

Reviewed-by: martin
2010-08-17 16:01:54 -07: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
f87e976a33 Merge 2010-08-12 19:58:19 -07:00
Daniel D. Daugherty
438ccadcce 6962604: 3/3 Testcase sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh failure
Disable MonitorVmStartTerminate.sh until 6543856 is fixed.

Reviewed-by: ohair
2010-08-06 11:07:16 -07:00
Chris Hegarty
784f62993b 6973030: NTLM proxy authentication fails with https
Reviewed-by: michaelm
2010-08-03 12:03:03 +01:00
Lana Steuck
3d517c6b50 Merge 2010-08-02 19:45:28 -07:00
Michael McMahon
bf106fcab7 6510892: com/sun/net/httpserver/bugs/B6361557.java fails
Reviewed-by: chegar
2010-07-30 18:16:30 +01: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
Sergey Malenkov
d3b90b4164 6199676: REGRESSION: ColorChooser loses preview when change LandF in Java5
Reviewed-by: alexp, peterz
2010-07-30 19:21:27 +04:00
Lana Steuck
99a605b4b3 Merge 2010-07-29 22:02:45 -07:00
Lana Steuck
af17406ae2 Merge 2010-07-29 13:22:16 -07:00
Alexander Potochkin
476f58c4af 4743225: Size of JComboBox list is wrong when list is populated via PopupMenuListener
Reviewed-by: rupashka
2010-07-29 19:34:03 +04: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
Weijun Wang
9d92d626e3 6972005: ConfPlusProp.java test failure when DNS has info for realm
Reviewed-by: xuelei
2010-07-26 17:21:51 +08:00
Xue-Lei Andrew Fan
f5561769de 6867345: Turkish regional options cause NPE in sun.security.x509.AlgorithmId.algOID
Reviewed-by: mullan, weijun
2010-07-24 22:59:41 +08:00
Vinnie Ryan
575bf80be6 6676075: RegistryContext (com.sun.jndi.url.rmi.rmiURLContext) coding problem
Reviewed-by: mullan
2010-07-23 17:41:47 +01: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
Daniel D. Daugherty
9f5d2eb156 6962804: 4/4 ShellScaffold tests can fail without a specific reason
Add more diagnostics for failures. Only copy target file in grepForString when NL is missing.

Reviewed-by: ohair, dholmes
2010-07-21 16:59:40 -07:00
Daniel D. Daugherty
5d8f395e2b 6941287: 4/4 jrunscriptTest.sh test does not work right under Cygwin
Add golden_diff variable for doing proper golden file diffs on Cygwin.

Reviewed-by: ohair, dholmes
2010-07-21 16:58:35 -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
Peter Zhelezniakov
c3da619227 6462562: InternationalFormatter inserts text incorrectly
6578432: Currency format instance does not work with Swing's NumberFormatter

Reviewed-by: rupashka
2010-07-13 17:26:34 +04:00
Weijun Wang
c20e1ffd6c 6670889: Keystore created under Hindi Locale causing ArrayIndexOutOfBoundsException
Reviewed-by: chegar
2010-07-13 20:27:01 +08: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
Daniel D. Daugherty
9c1cae042e Merge 2010-07-12 15:52:06 -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