Commit Graph

1481 Commits

Author SHA1 Message Date
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
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
Abhijit Saha
1e52a8c736 Merge 2010-07-16 09:26:55 -07: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
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
Kumar Srinivasan
e5b31c9351 6921472: RFE: java launcher code needs clean up
This changeset also contains fixes for 6405284, 6753938 and 6922500

Reviewed-by: darcy
2010-07-09 11:04:34 -07:00
Kumar Srinivasan
6474c4d2a3 6930056: (launcher) Need to remove or build as part of test these liblibrary.so files
Reviewed-by: ohair, darcy
2010-07-09 09:54:10 -07:00
Sergey Malenkov
049e350efd 6894597: test/closed/javax/swing/JPopupMenu/6495920/bug6495920.java fails
Reviewed-by: alexp, peterz
2010-07-09 19:42:17 +04:00
Lana Steuck
ddc7fcdc27 Merge 2010-07-08 11:28:01 -07:00
Abhijit Saha
8d4635befb Merge 2010-07-08 08:23:32 -07:00
Pavel Porvatov
93a394d6ee 6520101: FileChooser will cause OutOfMemory when application will run long time
Reviewed-by: peterz
2010-07-08 19:09:41 +04:00
Kelly O'Hair
2b8c80bc91 6954517: Testcase failure tools/launcher/UnicodeTest.sh
Reviewed-by: ksrini
2010-07-07 10:17:36 -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
Alexander Potochkin
4b7f7c425e 6711682: JCheckBox in JTable: checkbox doesn't alaways respond to the first mouse click
Reviewed-by: rupashka
2010-07-02 19:28:51 +04:00
Abhijit Saha
fe88c65a29 Merge 2010-07-01 08:31:39 -07:00
Vladimir Yaroslavskiy
6593dfa333 6947216: Even more Dual-pivot quicksort improvements
Reviewed-by: jjb
2010-07-01 16:28:08 +01:00
Sergey Malenkov
55db965e8d 6959266: test javax/swing/JInternalFrame/6725409/bug6725409.java should be modified
Reviewed-by: alexp
2010-07-01 18:47:56 +04:00
Sergey Malenkov
41f3ac5368 4129681: Cannot get a title border to display its label as disabled
Reviewed-by: alexp, rupashka
2010-07-01 18:09:45 +04: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
Jon VanAlten
a55533ffab 6963870: NPE in CompoundBorder.getInsets()
Reviewed-by: alexp
2010-06-29 14:42:30 +04:00
Kumar Srinivasan
7511a7950b 6856415: Enabling java security manager will make programe thrown wrong exception ( main method not found )
Reviewed-by: darcy
2010-06-28 18:25:03 -07:00
Abhijit Saha
833dfdcbf2 Merge 2010-06-28 13:07:23 -07: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
Abhijit Saha
97d968d3ff Merge 2010-06-24 10:56:00 -07:00
Weijun Wang
c93ecb6623 6946669: SSL/Krb5 should not call EncryptedData.reset(data, false)
Reviewed-by: xuelei
2010-06-24 14:26:35 +08:00
Weijun Wang
6426b52076 6844907: krb5 etype order should be from strong to weak
Reviewed-by: valeriep
2010-06-24 14:26:28 +08:00
Weijun Wang
4bdcad4b69 6958026: Problem with PKCS12 keystore
Reviewed-by: mullan
2010-06-24 14:26:22 +08: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
Kelly O'Hair
9ff93a56c0 Merge 2010-06-22 19:18:06 -07:00
Kelly O'Hair
dfb66312ab 6933622: Duplicate class files in rt.jar and charsets.jar
6895003: JarReorder is not excluding a requested file

Reviewed-by: jjg
2010-06-22 17:26:32 -07:00
Daniel D. Daugherty
34d162ce41 Merge 2010-06-22 16:18:54 -07:00
Xueming Shen
62854e9b81 6963156: TEST_BUG: Several tests under sun/nio/cs failed
Updated the test cases and removed them from ProblemList.txt

Reviewed-by: alanb
2010-06-22 14:04:36 -04: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
Alexander Potochkin
3e7a0f0bfd 6777378: NullPointerException in XPDefaultRenderer.paint()
Reviewed-by: rupashka
2010-06-22 19:38:27 +04:00
Peter Zhelezniakov
c24951c366 6959260: javax/swing/JLabel/6501991/bug6501991.java failed on build 1.7.0-ea-b96
Reviewed-by: rupashka
2010-06-22 14:36:46 +04: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
Lana Steuck
fa13ff6051 Merge 2010-06-21 22:06:28 -07:00
Mandy Chung
239fc2abf7 6962815: support enable and disable of the servicetag's system registry for testing purpose
Allow the system registry to be disabled/enabled at runtime

Reviewed-by: ksrini
2010-06-21 15:02:47 -07:00
Pavel Porvatov
6b39e91deb 6938813: Swing mutable statics
Reviewed-by: peterz, alexp
2010-06-21 16:47:05 +04:00
Kelly O'Hair
b383b9ba47 6962617: Testcase changes, cleanup of problem list for jdk_tools targets
Reviewed-by: alanb
2010-06-20 14:53:36 -07:00
Kumar Srinivasan
30c988b71e 6712743: pack200: should default to 150.7 pack format for classfiles without any classes
Reviewed-by: jrose
2010-06-19 17:42:39 -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
John R Rose
f3779adaed Merge 2010-06-18 15:23:57 -07:00
Alan Bateman
30e0321d0a 6962045: TEST_BUG: Tests in test/java/io/Serializable leave files open
Reviewed-by: mchung
2010-06-18 20:59:13 +01:00
Mandy Chung
0a801a25db 6961894: TEST_BUG: jdk_lang tests fail in samevm mode
Fixed jdk_lang tests to run in samevm mode or mark to run in othervm

Reviewed-by: alanb
2010-06-18 09:35:22 -07:00
Alan Bateman
0b946fc36e 4981129: (dc) DatagramSocket created by DatagramChannel does not provide sender info
Reviewed-by: chegar
2010-06-18 16:16:51 +01:00
Xueming Shen
12d90b9484 6962067: TEST_BUG: Tests in java/util/zip/ZipFile leave file open
Close zipfile and io stream when done

Reviewed-by: alanb
2010-06-17 13:21:46 -07:00
Alan Bateman
29b2194847 6395224: (so) SocketChannel writer blocked on large buffer is not preempted by close method (vista)
Reviewed-by: chegar
2010-06-17 17:49:59 +01:00
Mandy Chung
ec720fb754 6961408: test/java/util/logging/ParentLoggersTest.java fails in samevm mode
Check against the list of loggers added since the test begins to run

Reviewed-by: dcubed
2010-06-16 23:27:41 -07:00
Weijun Wang
5141220c5e 6959292: regression: cannot login if session key and preauth does not use the same etype
Reviewed-by: xuelei, valeriep
2010-06-17 13:46:15 +08:00
Lana Steuck
ce4febb72c Merge 2010-06-16 14:07:47 -07:00
Mandy Chung
0f0ac3ef39 6961502: TEST_BUG: test/java/lang/ClassLoader/defineClass/DefineClassByteBuffer.java fails
Fix the test to define TestClass by DummyClassLoader as it intends to do

Reviewed-by: alanb
2010-06-16 12:40:22 -07:00
Kumar Srinivasan
fad23a5a1f 6575373: Error verifying signatures of pack200 files in some cases
Reviewed-by: jrose, forax
2010-06-16 12:36:49 -07:00
Alan Bateman
dadf7053f7 6961630: TEST_BUG: Several SocketChannel and Selector tests can fail with "address already in use"
Reviewed-by: chegar
2010-06-16 14:24:46 +01:00
Anthony Petrov
f79194f505 6959787: java/awt/FileDialog/FilenameFilterTest/FilenameFilterTest.html failed on 7b94
Add a delay to the test to make sure the filename filters are called.

Reviewed-by: dcherepanov, art
2010-06-16 11:26:15 +04:00
Mandy Chung
008e969429 6961506: TEST_BUG: ResourceBundle/Bug4168625Test.java and TestBug4179766.java fails in samevm mode
Set the proper parent class loader of Loader and SimpleLoader

Reviewed-by: naoto
2010-06-15 20:34:49 -07:00
Mandy Chung
fc99cf1793 6961518: TEST_BUG: add @run main/othervm in tests that call setSecurityManager
Mark tests to run in othervm

Reviewed-by: ohair
2010-06-15 20:29:22 -07:00
Alan Bateman
a98209a61f Merge 2010-06-15 21:43:59 +01:00
Alexander Potochkin
f27b8e12bd 6739756: JToolBar leaves space for non-visible items under Nimbus L&F
Reviewed-by: peterz
2010-06-15 21:32:59 +04:00
Alexander Potochkin
0b9679e5b7 6771547: SynthParser throws StringIndexOutOfBoundsException parsing custom ColorTypes
Reviewed-by: rupashka
2010-06-15 21:28:22 +04:00
Mandy Chung
9e05cd8605 6959641: testcase failing java/util/Locale/Bug4184873Test.java
Revert the Bug4184873_{he,id,yi} files to revision 0 (before rebranding)

Reviewed-by: naoto
2010-06-15 09:54:03 -07:00
Mandy Chung
c1c925728c Merge 2010-06-15 09:52:34 -07:00
Alan Bateman
cee6cf433e 6961358: TEST_BUG: java/nio/channels/SocketChannel/OpenLeak.java can't run in samevm mode
Reviewed-by: chegar
2010-06-15 16:42:54 +01:00
Alan Bateman
52c2b63a7a 6932744: TEST_BUG: java/nio/channels/Selector/OpRead.java failing
Reviewed-by: chegar
2010-06-15 16:36:20 +01:00
Abhijit Saha
5d45157e24 Merge 2010-06-15 08:12:51 -07:00
Alexander Potochkin
db380d5775 6788484: NPE in DefaultTableCellHeaderRenderer.getColumnSortOrder() with null table
Reviewed-by: rupashka
2010-06-15 19:05:44 +04:00
Alan Bateman
788f7f3485 6961062: (dc) Several DatagramChannel tests timeout or fail with "address already in use"
Reviewed-by: chegar
2010-06-15 10:03:37 +01:00
Mandy Chung
612e107faa 6960789: com.sun.servicetag API needs to be added in ct.sym
Include com.sun.servicetag classes when generating ct.sym

Reviewed-by: alanb, jjg
2010-06-14 14:44:00 -07:00
Abhijit Saha
cd7e00cd53 Merge 2010-06-13 07:40:36 -07:00
Xue-Lei Andrew Fan
53a219bfee 6914943: Implement final TLS renegotiation fix
RFC 5746 implementation

Reviewed-by: wetmore, weijun
2010-06-12 00:42:51 -07:00
Martin Buchholz
45b78120fc 6944584: Improvements to subprocess handling on Unix
Use thread pool for reaper thread; move most I/O operations out of reaper thread

Reviewed-by: michaelm, hiroshi
2010-06-11 18:55:45 -07:00
Alan Bateman
82adf1a224 6934585: TEST_BUG: java/nio/channels/AsynchronousSocketChannel/Basic.java
Reviewed-by: chegar
2010-06-11 14:31:26 +01:00
Weijun Wang
b0277a9631 6958869: regression: PKIXValidator fails when multiple trust anchors have same dn
Reviewed-by: xuelei, wetmore, mullan
2010-06-11 11:38:36 +08:00
Mandy Chung
50cb7df534 Merge 2010-06-10 14:21:37 -07:00
Lana Steuck
c6d6482bfe Merge 2010-06-10 14:18:45 -07:00
Mandy Chung
22ac1684a0 6959965: jstat: Add new -classload option to print class loading statistics
Add a new jstat -classload option

Reviewed-by: alanb
2010-06-10 14:14:17 -07:00
Alan Bateman
3c05d51ed6 6935563: (dc) Improve connection reset/port unreachable handling [win]
Reviewed-by: chegar
2010-06-09 18:51:32 +01:00
John R Rose
4df63bafc0 6939203: JSR 292 needs method handle constants
Add new CP types CONSTANT_MethodHandle, CONSTANT_MethodType to verifier; put in runtime support upcall.

Reviewed-by: twisti
2010-06-08 23:08:56 -07:00
Chris Hegarty
2f408651fb 6957375: java/net/ResponseCache getResponseCode and ResponseCacheTest fail after rebranding
Reviewed-by: ohair, wetmore, alanb
2010-06-08 10:46:14 +01:00
Lana Steuck
27a539e27c Merge 2010-06-07 17:08:26 -07:00
Weijun Wang
2d9fcecd29 6951366: kerberos login failure on win2008 with AD set to win2000 compat mode
Reviewed-by: valeriep, xuelei
2010-06-04 19:28:53 +08:00
Pavel Porvatov
5d3cbf89ec 6636983: Japanese text does not display correctly in a JEditorPane
Reviewed-by: peterz
2010-06-02 12:53:35 +04:00
Pavel Porvatov
94422f1795 6857057: api/javax_swing/text/GlyphView/index.html#Methods test fails
Reviewed-by: peterz
2010-06-02 11:59:27 +04:00
Lana Steuck
2c036dc823 Merge 2010-06-01 21:36:00 -07:00
Lana Steuck
282d182ec2 Merge 2010-06-01 14:17:38 -07:00
Weijun Wang
141897fe19 6950931: test fails on windows sun/security/tools/jarsigner/crl.sh
Reviewed-by: wetmore, xuelei
2010-06-01 10:52:42 +08:00
Lana Steuck
fd45b4188c Merge 2010-05-28 12:10:14 -07:00
Alexander Potochkin
bb99e22943 6670274: Incorrect tab titles for JTabbedPane if using HTML (BasicTabbedPanelUI problem)
Reviewed-by: rupashka
2010-05-28 19:55:52 +04:00
Alexander Potochkin
38bcbb7d6f 6889007: No resize cursor during hovering mouse over JTable
Reviewed-by: rupashka
2010-05-28 19:46:26 +04:00
Kelly O'Hair
80b67f81af 6956202: Fix a few missed rebranding issues, please contact lines etc
Reviewed-by: jjg, darcy, weijun
2010-05-26 20:28:04 -07:00
Pavel Porvatov
433dfec05a 6925473: REGRESSION: JOptionPane in dialog is full-screen height
Reviewed-by: peterz
2010-05-26 22:02:32 +04:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Jonathan Gibbons
d864e54627 6934615: Relative classpaths in jarfile manifests are handled inefficiently by rmic
Reviewed-by: darcy
2010-05-25 15:39:38 -07:00
Alexander Potochkin
dd916173db 6884066: JTableHeader listens mouse in disabled state and doesn't work when not attached to a table
Reviewed-by: rupashka
2010-05-25 20:54:59 +04:00
Alexander Potochkin
f6adc01088 6768387: REGRESSION: JTable no longer serializable
Reviewed-by: rupashka
2010-05-25 20:39:52 +04:00
Alexander Potochkin
42ddf1f667 6937798: Nimbus: Issues with JTable grid
Reviewed-by: rupashka
2010-05-25 20:30:54 +04:00
Weijun Wang
235a3e379c 6948287: KDC test strange knvo
Reviewed-by: xuelei
2010-05-25 18:20:54 +08:00
Lana Steuck
ff8daaf36c Merge 2010-05-24 09:06:11 -07:00
Xueming Shen
0bc8b10673 4691425: GZIPInputStream fails to read concatenated .gz files
To support concatenated .gz streams

Reviewed-by: martin
2010-05-24 00:39:57 -04:00
Weijun Wang
480f0af4e8 6932525: Incorrect encryption types of KDC_REQ_BODY of AS-REQ with pre-authentication
Reviewed-by: valeriep
2010-05-24 10:05:04 +08:00
Weijun Wang
37ae69dba3 6948781: CertificateFactory.generateCertificate doesn't throw CertificateException for malformed certificate
Reviewed-by: mullan
2010-05-24 09:37:16 +08:00
Weijun Wang
a7fbe2d858 6882687: KerberosTime too imprecise
Reviewed-by: valeriep
2010-05-24 09:37:02 +08:00
Weijun Wang
874ec0972c 6948803: CertPath validation regression caused by SHA1 replacement root and MD2 disable feature
Reviewed-by: xuelei, mullan
2010-05-24 09:28:06 +08:00
Lana Steuck
f5b5248994 Merge 2010-05-21 17:49:15 -07:00
Alexander Potochkin
09d031cd10 6953396: javax.swing.plaf.basic.BasicViewportUI.uninstallDefaults() is not called when UI is uninstalled
Reviewed-by: rupashka
2010-05-21 22:04:35 +04:00
Michael McMahon
8f950e676a 6773270: java.net.URI fails to escape \u0000
Check for \u0000

Reviewed-by: alanb
2010-05-21 07:29:48 +01:00
Kelly O'Hair
d738280014 6954064: Fix the windows arch settings in the makefiles and chmod logic in test/Makefile
Reviewed-by: wetmore
2010-05-20 13:57:58 -07:00
Sergey Malenkov
7c2929aaf8 6910490: MatteBorder JScrollpane interaction
Reviewed-by: alexp
2010-05-20 20:42:56 +04:00
Sergey Malenkov
cd6f30d3bc 6479191: LTP: XMLEncoder does not update initialized property of GridBagConstraints type
Reviewed-by: rupashka
2010-05-20 18:44:51 +04:00
Xueming Shen
bb2be852aa 6945564: Unicode script support in Character class
6948903: Make Unicode scripts available for use in regular expressions

Added Unicode script suport

Reviewed-by: martin
2010-05-18 15:36:47 -07:00
Xueming Shen
6d1dc62ab1 4813885: RFE: GZIPOutputStream should implement flush using Z_SYNC_FLUSH
Added new constructors to allow flush() work in Z_SYNC_FLUSH mode

Reviewed-by: martin
2010-05-17 12:19:49 -07:00
Martin Buchholz
3927da83d0 6952330: Fix for 6933217 broke contract of StringBuffer.ensureCapacity
Make sure to grow with size => size * 2 + 2

Reviewed-by: dholmes, chegar, ohair
2010-05-13 21:56:13 -07:00
Pavel Tisnovsky
fb9c4505a1 6951887: Wrong redirection useage in test sun/nio/cs/Test4200310.sh
Testcase correction.

Reviewed-by: sherman
2010-05-13 10:11:17 +02:00
Kelly O'Hair
56131863a7 6943915: Adjust jdk/test/Makefile to deal with .dll and .so libraries needing execute permissions
And adjustments to test problem list.

Reviewed-by: jjg
2010-05-12 21:35:55 -07:00
Lana Steuck
6125917976 Merge 2010-05-11 16:35:36 -07:00
Lana Steuck
490e8fb7d3 Merge 2010-05-11 16:34:07 -07:00
Martin Buchholz
75e3cde928 6937857: Concurrent calls to new Random() not random enough
Seed uniquifier should use an independent PRNG

Reviewed-by: dl
2010-05-09 16:03:13 -07:00
Martin Buchholz
b455514c89 6950540: PriorityQueue(collection) should throw NPE if collection contains a null
Rewrite PriorityQueue constructors for best performance and error handling

Reviewed-by: dholmes, chegar
2010-05-09 00:59:49 -07:00
Chris Hegarty
473182bb12 6947917: Error in basic authentication when user name and password are long
Reviewed-by: weijun
2010-05-07 10:11:37 +01:00
Peter Zhelezniakov
5a66416a07 6919629: Nimbus L&F Nimbus.Overrides option leaks significant amounts of memory
Reviewed-by: rupashka
2010-05-06 12:57:30 +04:00
Weijun Wang
7c6813eb7a 6890876: jarsigner can add CRL info into signed jar
Reviewed-by: mullan
2010-05-06 13:42:52 +08:00
Weijun Wang
a94d06f6b7 6948909: Jarsigner removes MANIFEST.MF info for badly packages jar's
Reviewed-by: mullan, xuelei
2010-05-06 11:26:16 +08:00
Chris Hegarty
e3e5b8ad72 6886723: light weight http server doesn't return correct status code for HEAD requests
Reviewed-by: michaelm
2010-05-05 13:18:31 +01:00
John R Rose
07ee2dd259 6939196: method handle signatures off the boot class path get linkage errors
Remove workaround from MethodHandleImpl lookup code; add JUnit regression test to MethodHandlesTest.

Reviewed-by: twisti
2010-05-03 23:32:47 -07:00
Lana Steuck
fadbc27979 Merge 2010-05-02 15:54:20 -07:00
John R Rose
0d30a781cf 6939134: JSR 292 adjustments to method handle invocation
Split MethodHandle.invoke into invokeExact and invokeGeneric; also clean up JVM-to-Java interfaces

Reviewed-by: twisti
2010-04-30 23:48:23 -07:00
Lana Steuck
529eba0d94 Merge 2010-04-30 17:03:15 -07:00
Lana Steuck
5d6c7f37ba Merge 2010-04-30 11:03:38 -07:00
Weijun Wang
20fbeb53cd 6844193: support max_retries in krb5.conf
Reviewed-by: valeriep
2010-04-29 15:51:10 +08:00
Michael Wilkerson
dc22d413ff Merge 2010-04-28 20:04:33 -07:00
Artem Ananiev
d052130c49 6880336: SwingWorker deadlocks due one thread in the swingworker-pool
Reviewed-by: dcherepanov, alexp
2010-04-27 18:08:26 +04:00
Chris Hegarty
77a56e5d33 6718504: IN6_IS_ADDR_ANY tests only 12 bytes of 16-byte address
Reviewed-by: alanb
2010-04-27 09:42:51 +01:00
Weijun Wang
7cc72590c7 6856069: PrincipalName.clone() does not invoke super.clone()
Reviewed-by: chegar
2010-04-22 12:45:36 +08:00
Pavel Porvatov
f05dd156c2 6945316: The Win32ShellFolderManager2.isFileSystemRoot can throw NPE
Reviewed-by: alexp
2010-04-21 18:12:21 +04:00
Yuka Kamiya
ed15f54cfb 6943963: NumericShaper with ARABIC doesn't shape digits correctly after calling another instance
Reviewed-by: okutsu
2010-04-21 10:34:56 +09:00
Lana Steuck
561ea30dc6 Merge 2010-04-20 16:51:13 -07:00
Lana Steuck
dbd75e1a7d Merge 2010-04-20 16:50:10 -07:00
Weijun Wang
5d137e0d2f 6944847: native gss lib names on linux
Reviewed-by: valeriep
2010-04-20 19:30:31 +08:00
Yong Jeffrey Huang
a7b302b493 Merge 2010-04-20 01:24:48 -07:00
Andrew Brygin
8403ec67a3 6936389: FontManager.fileCloser may cause memory leak in applets
Reviewed-by: igor, prr, ant
2010-04-20 11:06:47 +04:00
Naoto Sato
4d2c11649f 6943941: Rebranding issues with some tests in jdk/test/java/util
Reviewed-by: ohair
2010-04-19 14:48:46 -07:00
Lana Steuck
552f2a578c Merge 2010-04-17 08:12:00 -07:00
Weijun Wang
592e8de4e1 6939248: Jarsigner can't extract Extended Key Usage from Timestamp Reply correctly
Reviewed-by: xuelei, mullan
2010-04-16 10:13:23 +08:00
Weijun Wang
7afbc895a8 6937978: let keytool -gencert generate the chain
Reviewed-by: mullan
2010-04-16 10:06:07 +08:00
Xueming Shen
d0a7eafe8d 6931676: TEST_BUG: wrong value for bugid in comments
Update to the correct bugid

Reviewed-by: martin
2010-04-15 17:00:55 -07:00
Lana Steuck
951fbb9129 Merge 2010-04-15 11:51:48 -07:00
Chris Hegarty
61ab8e5bfd 6943219: test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/DNSIdentities.java fail in linux
Reviewed-by: andrew
2010-04-15 16:37:16 +01:00
Masayoshi Okutsu
6cfd12db85 6941948: NumaricShaper.shape() doesn't work with NumericShaper.Range.EASTERN_ARABIC
Reviewed-by: peytoia
2010-04-14 13:53:17 +09:00
Yong Jeffrey Huang
6798c200f0 Merge 2010-04-11 21:04:45 -07:00
Xue-Lei Andrew Fan
52e1e32cdb 6941936: Broken pipe error of test case DNSIdentities.java
Reviewed-by: chegar
2010-04-10 09:13:12 +08:00
Lana Steuck
e98b3651ea Merge 2010-04-08 15:34:29 -07:00
Martin Buchholz
6b4917957f 6941130: Semaphore should throw if number of permits overflows or underflows
Check if release could make number of permits negative

Reviewed-by: dl, dholmes
2010-04-07 12:30:49 -07:00
Chris Hegarty
cb7c94da7e 6648001: Cancelling HTTP authentication causes subsequent deadlocks
Reviewed-by: michaelm
2010-04-06 13:47:59 +01:00
Abhijit Saha
9039997db4 Merge 2010-04-05 16:11:59 -07:00
Xueming Shen
ec70851450 4947220: (process)Runtime.exec() cannot invoke applications with unicode parameters(win)
To use CreateProcessW on Windowns platform

Reviewed-by: martin
2010-04-03 18:29:11 -07:00
Xueming Shen
0020f5af66 6902790: Converting/displaying HKSCs characters issue on Vista and Windows7
6911753: NSN wants to add Big5 HKSCS-2004 support

Support HKSCS2008 in Big5_HKSCS and MS950_HKSCS

Reviewed-by: okutsu
2010-03-30 19:10:47 -07:00
Abhijit Saha
39f32d7819 Merge 2010-03-29 07:17:02 -07:00
Xue-Lei Andrew Fan
0f50eeb222 6693917: regression tests need to update for supporting ECC on solaris 11
Reviewed-by: weijun
2010-03-29 13:27:25 +08:00
Abhijit Saha
3ec9318035 Merge 2010-03-25 07:12:43 -07:00
Chris Hegarty
6fb499dc04 6937703: java/net regression test issues with samevm
Reviewed-by: alanb
2010-03-25 09:38:56 +00:00
Weijun Wang
512e4f93a3 6813340: X509Factory should not depend on is.available()==0
Reviewed-by: xuelei
2010-03-25 12:07:42 +08:00
Abhijit Saha
4e39344d24 Merge 2010-03-24 17:32:04 -07:00
Abhijit Saha
b60d36a19a Merge 2010-03-24 14:16:57 -07:00
Chris Hegarty
498067c8a3 6614957: HttpsURLConnection not using the set SSLSocketFactory for creating all its Sockets
6771432: createSocket() - smpatch fails using 1.6.0_10 because of "Unconnected sockets not implemented"
6766775: X509 certificate hostname checking is broken in JDK1.6.0_10

All three bugs are interdependent

Reviewed-by: xuelei
2010-03-23 13:54:36 +00:00
Chris Hegarty
6fb9ea7278 6935233: java/net/ServerSocket/AcceptCauseFileDescriptorLeak.java fails with modules build
Reviewed-by: alanb
2010-03-19 13:07:42 +00:00
Lana Steuck
7268d4595b Merge 2010-03-18 18:52:10 -07:00
Valerie Peng
b05376b108 6837847: PKCS#11 A SecureRandom and a serialization error following installation of 1.5.0_18
Added a custom readObject method to PKCS11 SecureRandom impl

Reviewed-by: wetmore
2010-03-18 17:56:39 -07:00
Valerie Peng
c0cdafcd43 6695485: SignedObject constructor throws ProviderException if it's called using provider "SunPKCS11-Solaris"
Added checking for RSA key lengths in initSign and initVerify

Reviewed-by: vinnie
2010-03-18 17:05:42 -07:00
Weijun Wang
23a0fee518 6829283: HTTP/Negotiate: Autheticator triggered again when user cancels the first one
Reviewed-by: chegar
2010-03-18 18:26:37 +08:00
Lana Steuck
1f82f6a3f0 Merge 2010-03-17 14:19:07 -07:00
Pavel Porvatov
a0553816a1 6933784: NIMBUS: ImageView getNoImageIcon and getLoadingImageIcon returns nulls instead of an icon
Reviewed-by: peterz
2010-03-17 12:48:21 +03:00
Weijun Wang
69e5f8b791 6868865: Test: sun/security/tools/jarsigner/oldsig.sh fails under all platforms
Reviewed-by: wetmore
2010-03-17 09:55:04 +08:00
Chris Hegarty
9b23617373 6935199: java/net regression tests failing with Assertions
Reviewed-by: michaelm
2010-03-16 14:31:57 +00:00
Chris Hegarty
f2034e6bba 6934923: test/java/net/ipv6tests/TcpTest.java hangs on Solaris 10
Reviewed-by: alanb
2010-03-16 10:05:51 +00:00
Kelly O'Hair
7fbd8c28c1 Merge 2010-03-12 09:06:00 -08:00
Kelly O'Hair
7913295040 6933294: Fix some test/Makefile issues around Linux ARCH settings, better defaults
Reviewed-by: jjg
2010-03-12 09:03:02 -08:00
Damjan Jovanovic
63a75eead0 6223635: Code hangs at connect call even when Timeout is specified when using a socks proxy
Reviewed-by: michaelm, chegar
2010-03-11 17:50:30 +00:00
Chris Hegarty
9cf7c0352d 6933629: java/net/HttpURLConnection/HttpResponseCode.java fails if run in samevm mode
Reviewed-by: alanb
2010-03-11 17:37:33 +00:00
Chris Hegarty
ae14beadd3 6934054: java/net/Socket/FDClose.java return error in samevm
Test is no longer useful

Reviewed-by: alanb
2010-03-11 16:17:57 +00:00
Sergey Malenkov
a55a44a6e2 6707226: java.beans.Statement & java.beans.Expression miss one important usecase
Reviewed-by: rupashka
2010-03-11 17:39:33 +03:00
Chris Hegarty
77c61b9819 6933618: java/net/MulticastSocket/NoLoopbackPackets.java fails when rerun
Reviewed-by: alanb
2010-03-10 14:44:53 +00:00
Lana Steuck
55ca6aeb17 Merge 2010-03-09 15:29:13 -08:00
Lana Steuck
4a25f3ef9c Merge 2010-03-09 15:28:09 -08:00
Lana Steuck
6df5f2e72d Merge 2010-03-09 15:26:32 -08:00
Yumin Qi
9e32d0d9d1 6918065: Crash in Java2D blit loop (IntArgbToIntArgbPreSrcOverMaskBlit) in 64bit mode
Reviewed-by: igor, bae
2010-03-08 11:35:30 -08:00
Kelly O'Hair
e4fce69702 6915983: testing problems, adjusting list of tests, needs some investigation
Reviewed-by: alanb
2010-03-06 14:59:23 -08:00
Denis Fokin
ec862c8b43 6932659: JTreg test files were missed in push of 6887703
Reviewed-by: uta
2010-03-06 03:37:53 +03:00
Lana Steuck
954fd4b4d9 Merge 2010-03-04 13:40:03 -08:00
Lana Steuck
35bf330316 Merge 2010-03-04 13:07:48 -08:00
Sergey Malenkov
b3a9b5dca9 6921644: XMLEncoder generates invalid XML
Reviewed-by: peterz
2010-03-04 21:17:03 +03:00
Weijun Wang
8055ab99b7 6844909: support allow_weak_crypto in krb5.conf
Reviewed-by: valeriep
2010-03-04 10:37:16 +08:00
Pavel Porvatov
8b6f1b6e6f 6917744: JScrollPane Page Up/Down keys do not handle correctly html tables with different cells contents
Reviewed-by: peterz, alexp
2010-03-03 20:53:35 +03:00
Pavel Porvatov
8f8262e829 6913768: With default SynthLookAndFeel instance installed new JTable creation leads to throwing NPE
Reviewed-by: peterz
2010-03-03 20:08:55 +03:00