Commit Graph

1697 Commits

Author SHA1 Message Date
Alan Bateman
9aa277a541 6526860: (fc) FileChannel.position returns 0 when FileOutputStream opened in append mode
Reviewed-by: forax
2011-02-17 20:50:22 +00:00
Chris Hegarty
e5d4746fb4 7017901: OOME in java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java
Unbounded queues should be disabled in the test

Reviewed-by: alanb
2011-02-17 09:56:38 +00:00
Chris Hegarty
560ab81595 6562203: Thread doesn't terminate immediately if it was stopped before start
Reviewed-by: dholmes, alanb
2011-02-16 12:38:13 +00:00
Masayoshi Okutsu
0bfde7d243 6936350: API clarification needed on useDaylightTime() for timezones that have defined usage dates
Reviewed-by: peytoia
2011-02-16 16:51:21 +09:00
Andrew John Hughes
3073a78664 7017581: missing copyright header in test/sun/java2d/pipe/RegionOps.java
Reviewed-by: anthony
2011-02-15 15:09:20 +00:00
John R Rose
53a35e23ee 7016261: JSR 292 MethodType objects should be serializable
Define private writeObject, readObject, and readResolve methods.  Also add unit tests.

Reviewed-by: twisti
2011-02-15 00:16:50 -08:00
Weijun Wang
d4fbb08ec0 7018928: test failure: sun/security/krb5/auto/SSL.java
Reviewed-by: valeriep
2011-02-15 12:11:15 +08:00
Neil Richards
32b8c54ea3 6927486: Hashtable writeObject() may deadlock
Do not synchronize on self while writing hash table elements

Reviewed-by: alanb, mduigou
2011-02-14 11:00:02 -08:00
Mike Duigou
21d721f9ff Merge 2011-02-14 10:48:46 -08:00
Neil Richards
709cabc2f1 6934356: Vector.writeObject() serialization may deadlock
No longer synchronize on self while writing other objects.

Reviewed-by: alanb, forax, mduigou, peterjones
2011-02-14 10:38:51 -08:00
Alan Bateman
14997b102e 7016704: TEST_BUG: java/nio/file/Files/walk_file_tree.sh fails with new version of find (lnx)
Reviewed-by: forax
2011-02-14 18:30:53 +00:00
Lana Steuck
45968c05a0 Merge 2011-02-11 15:51:51 -08:00
Xueming Shen
0e63901156 7007596: (zipfs) FileSystems.newFileSystem(FileRef...) always employs zipfs regardless the real Path type
Updated newFileSystem() to throw UOE exception for non-zip/jar file

Reviewed-by: alanb
2011-02-11 12:20:45 -08:00
Lana Steuck
3eb4164d84 Merge 2011-02-11 12:14:38 -08:00
John R Rose
f485ab561e 7013730: JSR 292 reflective operations should report errors with standard exception types
Remove NoAccessException, replace it by ReflectiveOperationException subtypes; adjust javadoc of exceptions

Reviewed-by: twisti
2011-02-11 01:26:32 -08:00
John R Rose
54e473f9f8 7012650: implement JSR 292 EG adjustments through January 2010
Misc. EG changes and polishes (excluding 7013417)

Reviewed-by: twisti
2011-02-11 01:26:28 -08:00
John R Rose
eedbedae93 7013417: JSR 292 needs to support variadic method handle calls
Implement MH.asVarargsCollector, etc., and remove withTypeHandler.

Reviewed-by: twisti
2011-02-11 01:26:24 -08:00
Alexander Potochkin
17088aceaa 6993171: JavaTest/JDK7b114 - no help text is shown for interview questions, JavaTest HANGS UP
Reviewed-by: rupashka
2011-02-10 21:36:18 +03:00
Lana Steuck
6641ee235d Merge 2011-02-09 10:28:20 -08:00
Vladimir Yaroslavskiy
35f815a7b4 7018258: Dual-pivot updates in 7013585 can fail with ArrayIndexOutOfBoundsException
Reviewed-by: alanb
2011-02-09 15:59:27 +00:00
Lana Steuck
3899723bda Merge 2011-02-08 14:25:33 -08:00
Phil Race
a6241f31b1 7006865: Regression: Corrupted output when printing images with bit depth of 4
Reviewed-by: bae, jgodinez
2011-02-08 14:24:14 -08:00
Lana Steuck
458118d44d Merge 2011-02-08 14:19:54 -08:00
Lana Steuck
17c4bbff22 Merge 2011-02-08 14:19:11 -08:00
Xueming Shen
50ef3f8522 7017840: (zipfs) test/demo/zipfs/basic.sh needs to be updated due to 7013420
Updated try-with-resourcse usage in test/demo code

Reviewed-by: alanb
2011-02-08 13:30:30 -08:00
Dmitry Nadezhin
aa6f495fbe 4421494: infinite loop while parsing double literal
Reviewed-by: darcy, alanb
2011-02-08 19:31:44 +00:00
Naoto Sato
47a983f28a 7015500: Locale.toLanguageTag() uses "und" as lang subtag for private use only Locale
Reviewed-by: srl
2011-02-08 09:04:30 -08:00
Vladimir Yaroslavskiy
477c01454f 7013585: Dual-pivot quicksort improvements for highly structured (nearly sorted) and data with small periods
Reviewed-by: mduigou, alanb
2011-02-08 15:50:30 +00:00
Alan Bateman
6207a0fa9c 7003155: (fs) Paths.get(<file-uri>) does not handle escaped octets correctly
Reviewed-by: sherman
2011-02-07 13:55:40 +00:00
Alan Bateman
bc1f07b587 7012823: TEST_BUG: java/nio/MappedByteBuffer tests leave file mappingsthat prevent clean-up (win)
Reviewed-by: forax
2011-02-07 13:53:36 +00:00
Lana Steuck
10439e2650 Merge 2011-02-04 17:29:16 -08:00
Xueming Shen
4f8fd33ba8 7005986: (zipfs) ZipPath.startsWith() fails because of the implementation of getName(index)
Updated starsWith/endsWith to be consistent with default file system

Reviewed-by: alanb
2011-02-04 13:17:30 -08:00
Jennifer Godinez
0b8033ccf3 6995147: Case needs to be update. ServiceDialogTest.java failed as compilation error
Reviewed-by: prr
2011-02-04 11:48:51 -08:00
Jennifer Godinez
947318a06f 7014796: Regression test java/awt/PrintJob/Text/stringwidth.sh cannot be terminated on Windows
Reviewed-by: prr
2011-02-04 11:46:37 -08:00
Andrei Dmitriev
af8b8f7e35 6741526: KeyboardFocusManager.setDefaultFocusTraversalPolicy(FocusTraversalPolicy) affects created components
Reviewed-by: ant, dcherepanov
2011-02-04 17:32:33 +03:00
Vinnie Ryan
e6aca17c49 7017176: Several JNDI tests are mssing GPL header
Reviewed-by: alanb
2011-02-04 09:52:37 +00:00
Lana Steuck
8e2b437a8b Merge 2011-02-03 19:15:30 -08:00
Kumar Srinivasan
4c1f2a17d9 6968053: (launcher) hide exceptions under certain launcher failures
Reviewed-by: mchung
2011-02-03 15:41:23 -08:00
Xueming Shen
6435c3ecac 7014645: Support perl style Unicode hex notation \x{...}
Added the construct \x{...} for Unicode hex notation support

Reviewed-by: alanb, okutsu
2011-02-03 13:49:25 -08:00
Vinnie Ryan
e9f2c8444e 6997561: A request for better error handling in JNDI
Reviewed-by: robm
2011-02-03 19:09:05 +00:00
Pavel Porvatov
d48bd086df 7013453: BufferStrategyPaintManager.dispose will cause IllegalMonitorStateException in event thread
Reviewed-by: alexp
2011-02-03 16:30:51 +03:00
Michael McMahon
1d6cc8fc42 6751021: TEST_BUG: race condition in the test java/lang/Runtime/exec/Duped.java
Reviewed-by: alanb
2011-02-03 12:57:04 +00:00
Chris Hegarty
bdd3171405 6887710: Jar index should avoid putting META-INF in the INDEX.LIST
Reviewed-by: michaelm
2011-02-03 11:56:56 +00:00
Sean Coffey
6ed5196d7d 7016897: Copyright header correction : test/sun/security/provider/SeedGenerator/SeedGeneratorChoice.java
Reviewed-by: vinnie
2011-02-03 11:28:04 +00:00
Brian Goetz
ce8ab39164 7012540: java.util.Objects.nonNull() incorrectly named
Reviewed-by: darcy, weijun
2011-02-02 13:13:34 -05:00
Xueming Shen
d0c8cd6815 7015391: (zipfs) Update zip provider for 1/2011 changes
7014948: (zipfs) ZipFileSystem.newFileSystem(Path...) should not throw FileSystemAlreadyExistsException
7015139: (zipfs) ZipPath.delete() should throw DirectoryNotEmptyException when handling "real, non-empty" dir

Zip filesystem provider update

Reviewed-by: alanb
2011-02-01 14:20:01 -08:00
Andrew John Hughes
0c44452fef 7015232: missing copyright header in CheckZOrderChange.java
Add standard GPL header as on other tests

Reviewed-by: anthony
2011-02-01 17:44:47 +00:00
Athijegannathan Sundararajan
932380b9e0 7015908: 3 javax.script tests fail with openjdk build
Reviewed-by: alanb
2011-02-01 21:00:09 +05:30
Xue-Lei Andrew Fan
85a3f20cef 7011497: new CertPathValidatorException.BasicReason enum constant for constrained algorithm
Add new BasicReason and improve trust anchor searching method during cert path validation

Reviewed-by: mullan
2011-02-01 04:45:10 -08:00
Alan Bateman
26b3b9744f 7015410: test/java/net/Socks/SocksProxyVersion.java needs to be updated due to 7013420
Reviewed-by: chegar
2011-01-28 13:26:14 +00:00
Alan Bateman
256ce3b0ba Merge 2011-01-28 09:31:48 +00:00
Alan Bateman
2f37110eca 7006126: (fs) Updates to file system API (1/2011)
Reviewed-by: chegar, sherman
2011-01-28 09:28:43 +00:00
Denis Lila
c3ccfc3a2f 4645692: solveCubic does not return all solutions
More robust solveCubic implementation.

Reviewed-by: flar
2011-01-27 16:43:28 -05:00
Joe Darcy
1dd962a92e 7013420: Project Coin: remove general expression support from try-with-resources statement
Reviewed-by: alanb
2011-01-26 12:32:23 -08:00
Andrei Dmitriev
5c7903af7d 6431076: Cursor gets reset to text cursor in xawt TextArea when autoscrolling on append
Reviewed-by: art, anthony
2011-01-25 19:07:27 +03:00
Lana Steuck
fce6dbe726 Merge 2011-01-24 13:24:56 -08:00
Lana Steuck
e73349918d Merge 2011-01-24 13:21:20 -08:00
Xueming Shen
8bce4225f6 7006576: (zipfs) Path.exists() always returns false on dirs when zip/JAR file built without dirs
7009092: (zipfs) ZipPath.isSameFile() should always return true if this Path and the given Path are equal
7009085: (zipfs) ZipPath.normalize("/./.") returns null
7009102: (zipfs) ZipPath.toRealPath() should always return absolute path

Zip filesystem provider update

Reviewed-by: alanb
2011-01-24 11:47:06 -08:00
Pavel Porvatov
76600dc535 6735293: javax.swing.text.NavigationFilter.getNextVisualPositionFrom() not always throws BadLocationException
Reviewed-by: peterz
2011-01-24 18:04:37 +03:00
Paul Hohensee
75f781fa99 Merge 2011-01-22 08:43:25 -05:00
Paul Hohensee
300590e5ac Merge 2011-01-22 08:42:14 -05:00
Chris Hegarty
d840c67658 Merge 2011-01-21 17:04:13 +00:00
Chris Hegarty
e615d63fad 7012768: InetAddress lookupTable leaks/deadlocks when using unsupported name service spi
Reviewed-by: alanb, michaelm
2011-01-21 17:02:57 +00:00
Phil Race
6c31af960e 6892138: Windows GDI platform font lookup apis affect start-up for small UI apps
Reviewed-by: igor, jgodinez
2011-01-21 08:04:04 -08:00
Mandy Chung
3a985f5c15 7013739: jdk_rmi target is missing in the top repo's test/Makefile
Reviewed-by: ohair, igor
2011-01-20 22:17:31 -08:00
Paul Hohensee
c37b51609d 6173675: M&M: approximate memory allocation rate/amount per thread
Subclass com.sun.management.ThreadMXBean from java.lang.management.ThreadMXBean, add getAllocatedBytes() and friends to c.s.m.ThreadMXBean and have sun.management.ThreadImpl implement c.s.m.ThreadMXBean rather than j.l.m.ThreadMXBean.

Reviewed-by: mchung, alanb, dholmes, emcmanus
2011-01-20 19:34:40 -05:00
Chris Hegarty
5eb8f2a9ef 7011857: java/util/concurrent/Phaser/FickleRegister.java fails on solaris-sparc
Remove from ProblemList, failure resolved by 7009231

Reviewed-by: alanb
2011-01-20 15:23:57 +00:00
Lana Steuck
52038b7a11 Merge 2011-01-19 21:51:10 -08:00
Lana Steuck
e02ca6c7fd Merge 2011-01-19 19:35:27 -08:00
Lana Steuck
cb72d9f503 Merge 2011-01-19 19:00:30 -08:00
Pavel Porvatov
4edf584b30 6342301: Bad interaction between setting the ui and file filters in JFileChooser
Reviewed-by: alexp
2011-01-17 19:14:58 +03:00
Athijegannathan Sundararajan
19889fbd3e 6508943: small typo in the documentation
6759414: javascript engine can not write to StringWriter
6869617: RhinoScriptEngine bug : ScriptException cause not set (with fix)
7012701: Add a test to check that Rhino's RegExp parser accepts unescaped '['

Reviewed-by: alanb, jjh
2011-01-17 13:29:12 +05:30
Stuart Marks
ba58eb7896 7012003: diamond conversion for ssl
Reviewed-by: wetmore
2011-01-14 15:31:45 -08:00
Jennifer Godinez
01e63ab0d1 6939417: ArrayIndexOutOfBoundsException in Win 7 on selected printers
Reviewed-by: igor, prr
2011-01-14 14:25:47 -08:00
Phil Race
d7db7e3515 6925760: Scaled graphics can cause overlapped LCD mode strings on Windows for pixel size > 48
Reviewed-by: igor, jgodinez
2011-01-14 12:10:45 -08:00
Pavel Porvatov
593f3c20f4 6990651: Regression: NPE when refreshing applet since 6u22-b01
Reviewed-by: peterz
2011-01-13 20:12:45 +03:00
Michael McMahon
f8bfe29fae 7003398: NetworkInterface equals() and hashCode() behaviors depend on permissions granted
Reviewed-by: chegar, alanb
2011-01-13 16:33:07 +00:00
Michael McMahon
16604f391f Merge 2011-01-13 14:41:53 +00:00
Chris Hegarty
ab0fe3d421 6964547: Impossible to set useV4 in SocksSocketImpl
Add socksProxyVersion property

Reviewed-by: alanb, michaelm
2011-01-13 13:24:58 +00:00
Michael McMahon
7558885d92 Merge 2011-01-13 11:10:14 +00:00
Michael McMahon
911a265def Merge 2011-01-13 11:02:28 +00:00
Michael McMahon
de3e3830d2 6896088: URLClassLoader.close() apparently not working for JAR URLs on Windows
Reviewed-by: chegar
2011-01-13 11:01:30 +00:00
Phil Race
efefa14038 6958221: java.awt.Font.getFamily() leads to JVM crash on Linux on JDK7 for "custom" fonts
Reviewed-by: igor, jgodinez
2011-01-12 15:58:15 -08:00
Keith McGuigan
eae0998268 Merge 2011-01-12 15:27:43 -08:00
Stuart Marks
07549260db 7008713: diamond conversion of kerberos5 and security tools
Reviewed-by: weijun
2011-01-12 13:52:09 -08:00
Keith McGuigan
8867f6b298 6436034: Instance filter doesn't filter event if it occurs in native method
Use 'GetLocalInstance' JVMTI extension if it exists

Reviewed-by: coleenp, dcubed
2011-01-12 11:47:35 -05:00
Michael McMahon
058b35d369 6829919: URLClassLoader.close() doesn't close resource file if getResourceAsStream(...) was called before
Reviewed-by: chegar
2011-01-12 15:05:10 +00:00
Doug Lea
677a39996a 7005424: Resync java.util.concurrent classes with Dougs CVS - Jan 2011
Reviewed-by: dholmes, chegar, mduigou
2011-01-12 14:40:36 +00:00
Stuart Marks
b2ef93e7d4 7008728: diamond conversion of basic security, permissions, authentication
Reviewed-by: mullan
2011-01-07 15:39:58 -08:00
Chris Hegarty
e208093ec8 7000511: PrintStream, PrintWriter, Formatter, Scanner leave files open when exception thrown
Reviewed-by: alanb, mduigou
2011-01-07 13:08:18 +00:00
Lana Steuck
388f2f8c41 Merge 2011-01-06 18:05:56 -08:00
Lana Steuck
71d7768f29 Merge 2011-01-06 18:03:25 -08:00
Lana Steuck
38b965363c Merge 2011-01-06 18:01:33 -08:00
Lana Steuck
d9d089213f Merge 2011-01-05 15:54:45 -08:00
Lana Steuck
ef05d0b18a Merge 2011-01-05 11:21:00 -08:00
Lana Steuck
87a68ef861 Merge 2011-01-04 23:41:13 -08:00
Lana Steuck
fb91d40572 Merge 2011-01-04 17:05:38 -08:00
Xueming Shen
022d6b1633 7009618: regression test failed caused by the fix for 7003462
Avoid caching the "ended" Inflater in ZipFile class

Reviewed-by: alanb
2011-01-04 14:17:45 -08:00
Andrei Dmitriev
25a7d0c26f 7008106: com/sun/awt/Translucency/WindowOpacity.java test fails just against jdk7 b122
Reviewed-by: dcherepanov
2010-12-29 15:13:00 +03:00
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00