2047 Commits

Author SHA1 Message Date
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
Andrew Brygin
2d2d444adf 6972495: javax/imageio/CachePremissionsTest/CachePermissionsTest.java failed
Reviewed-by: prr
2010-09-07 16:54:39 +04:00
Alan Bateman
225ef04d34 Merge 2010-09-03 21:03:45 +01:00
Kumar Srinivasan
ef7b8cbc9e 6981001: (launcher) EnsureJREInstallation is not being called in order
Reviewed-by: darcy
2010-09-03 07:59:21 -07:00
Alan Bateman
2fdbbbae4e 6965072: Need API to create SDP sockets
Reviewed-by: michaelm
2010-09-03 13:11:54 +01:00
Lana Steuck
022ee216f4 Merge 2010-09-02 12:17:21 -07:00
Naoto Sato
9a37a1e776 6930062: Need to remove or build as part of the test file jdk/test/java/util/Locale/data/deflocale.exe
Reviewed-by: okutsu
2010-09-02 11:13:42 -07:00
Naoto Sato
caef089b98 6981759: copyright header fix for test/java/util/Locale/LocaleCategory.java
Reviewed-by: okutsu
2010-09-02 11:09:09 -07:00
Lana Steuck
34f54b7bb3 Merge 2010-09-02 00:02:23 -07:00
Masayoshi Okutsu
bb11fa02a6 Merge 2010-09-02 10:52:52 +09:00
Lana Steuck
77b5bbb1b5 Merge 2010-09-01 16:15:57 -07:00
Naoto Sato
63495e2114 6981466: Adding missing test LocaleCategory.java
Reviewed-by: okutsu
2010-08-31 23:56:17 -07:00
Masayoshi Okutsu
d950166573 4267450: (cal) API: Need public API to calculate, format and parse "year of week"
6549953: (cal) WEEK_OF_YEAR and DAY_OF_YEAR calculation problems around Gregorian cutover

Reviewed-by: peytoia
2010-09-01 15:19:13 +09:00
Naoto Sato
6d2cb04013 4700857: RFE: separating user locale and user interface locale
Reviewed-by: okutsu
2010-08-31 11:27:10 -07:00
Mandy Chung
c8f3efcc75 6981005: TEST BUG: java/lang/ClassLoader/TestCrossDelegate.sh timeout on windows
Increase timeout value

Reviewed-by: alanb
2010-08-31 09:15:34 -07:00
Andrei Dmitriev
41e1560d14 6480547: REG: bug 4118621 which got Integrated in 1.1.8 fails in mustang from b25 onwards
6808185: test/closed/java/awt/Menu/NullMenuLabelTest crashes

Reviewed-by: dcherepanov
2010-08-31 15:05:09 +04:00
Weijun Wang
7fe5113fe7 6911951: NTLM should be a supported Java SASL mechanism
Reviewed-by: vinnie, michaelm
2010-08-30 14:37:43 +08:00
Martin Buchholz
aff3ad21b8 6980747: Runtime.exec can fail due to SecurityException (lnx)
Add missing doPrivileged to UNIXProcess.java.linux

Reviewed-by: alanb
2010-08-28 12:15:52 -07:00
Artem Ananiev
28253f9cb3 6949936: Provide API for running nested events loops, similar to what modal dialogs do
Reviewed-by: ant, anthony
2010-08-24 12:54:46 +04: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