Commit Graph

343 Commits

Author SHA1 Message Date
Tim Bell
7a94d5e47f Merge 2009-05-04 22:16:02 -07:00
Alan Bateman
e4f45d0a0b 6834246: (ch) AsynchronousSocketChannel#write completes with wrong number of bytes written under load (win)
Reviewed-by: sherman
2009-05-04 19:25:14 +01:00
Jennifer Godinez
934dac40ef Merge 2009-04-29 12:27:05 -07:00
Yuri Nesterenko
035ca4f0c8 Merge 2009-04-29 00:27:46 -07:00
Kelly O'Hair
2756e99316 6835241: Annotate some tests with @ignore that have shown to be unpredictable
Reviewed-by: tbell
2009-04-28 14:43:44 -07:00
Yuri Nesterenko
06a805b13f Merge 2009-04-28 13:30:42 -07:00
Jennifer Godinez
b7456052cd Merge 2009-04-28 13:25:25 -07:00
Mandy Chung
f7b87611c6 6829503: addShutdownHook fails if called after shutdown has commenced
Allow shutdown hook to be added during shutdown and handle properly if it fails to add

Reviewed-by: alanb, dholmes, martin
2009-04-27 12:08:41 -07:00
Alan Bateman
b5ace034c3 6832557: TEST_BUG: java/lang/Class/getEnclosingConstructor/EnclosingConstructorTests.java fails to compile
Reviewed-by: darcy, mcimadamore
2009-04-23 19:44:43 +01:00
Anthony Petrov
176a41f92e 6802853: API: shaped & translucent windows
A public API for the feature forward-ported from 6u10.

Reviewed-by: yan
2009-04-21 11:35:52 +04:00
Martin Buchholz
c0b32f4e3c 6278014: java.util.logging.LogRecord.getThreadID() should provide real thread id
Make j.u.l. thread id a copy of Thread's id, for small values of thread id.

Reviewed-by: alanb
2009-04-20 21:57:01 -07:00
Martin Buchholz
4910f50ea2 6716076: test UTIL_REGRESSION/test/java/util/logging/LoggingDeadlock2.java failed with exit code 1
Reviewed-by: swamyv, mchung
2009-04-20 21:53:38 -07:00
Jeremy Manson
8d5b9cfad8 6830220: Logging issues due to regression from bug fix 6797480
Reviewed-by: swamyv
2009-04-20 21:23:47 -07:00
Jennifer Godinez
f662d4d726 6821495: test/java/awt/print/PrinterJob/PrtException.java fails
Reviewed-by: igor, prr
2009-04-20 12:31:36 -07:00
Alan Bateman
cab29c9b7a 6830721: (fc) test/java/nio/channels/AsynchronousFileChannel/Basic.java intermittent failure
Reviewed-by: sherman
2009-04-20 09:30:50 +01:00
Tim Bell
f70e9b8dd9 Merge 2009-04-18 14:10:27 -07:00
Abhijit Saha
d3af1f284c Merge 2009-04-17 09:21:27 -07:00
Anthony Petrov
4b321c2bfc 6829858: JInternalFrame is not redrawing heavyweight children properly
The Container.recursiveApplyCurrentShape() is now recursively called for all hw containers, even those having non-null layout

Reviewed-by: art, dcherepanov
2009-04-17 16:42:14 +04:00
Alan Bateman
dd28a663e4 Merge 2009-04-17 09:38:24 +01:00
Abhijit Saha
885f8851c5 Merge 2009-04-16 22:47:29 -07:00
Abhijit Saha
32bc86d541 Merge 2009-04-16 21:08:04 -07:00
Xueming Shen
c435a0905d 4244499: ZipEntry() does not convert filenames from Unicode to platform
4532049: IllegalArgumentException in ZipInputStream while reading unicode file
5030283: Incorrect implementation of UTF-8 in zip package
4700978: ZipFile can't treat Japanese name in a zipfile properly
4980042: Cannot use Surrogates in zip file metadata like filenames
4820807: java.util.zip.ZipInputStream cannot extract files with Chinese chars in name

Add new constructors for zip classes to support non-UTF-8 encoded names/comments in ZIP file

Reviewed-by: alanb, martin
2009-04-16 21:00:42 -07:00
Alan Bateman
26dc2b8949 6543863: (fc) FileLock.release can deadlock with FileChannel.close
6429910: (fc) FileChannel.lock() IOException: Bad file number, not AsynchronousCloseException
6814948: (fc) test/java/nio/channels/AsynchronousFileChannel/Lock.java failed intermittently
6822643: (fc) AsynchronousFileChannel.close does not invalidate FileLocks

Reviewed-by: sherman
2009-04-15 16:16:35 +01:00
Alan Bateman
9e2590b7bf 6795561: (bf) CharBuffer.subSequence() uses wrong capacity value for new buffer
Reviewed-by: sherman, iris
2009-04-15 14:53:34 +01:00
Lana Steuck
1c53c596df Merge 2009-04-14 04:21:02 -07:00
Lana Steuck
b290c5dc99 Merge 2009-04-14 00:05:07 -07:00
Lana Steuck
9769fa9e3b Merge 2009-04-13 22:34:29 -07:00
Valerie Peng
bca01e0826 6829098: Regression test java/security/Security/ClassLoaderDeadlock/Deadlock2.java error - missing ";"
Added back the missing ";"

Reviewed-by: weijun
2009-04-13 18:20:51 -07:00
Tim Bell
b5b691accb Merge 2009-04-10 15:30:37 -07:00
Lana Steuck
92f020bb7c Merge 2009-04-09 20:34:56 -07:00
Yuka Kamiya
7a543510bd 6404304: RFE: Unicode 5.1 support
Reviewed-by: okutsu, naoto
2009-04-10 11:51:36 +09:00
Lana Steuck
415053276d Merge 2009-04-09 13:12:58 -07:00
Xiomara Jayasena
8e36dcb9a5 Merge 2009-04-07 14:02:54 -07:00
Lana Steuck
39202ea815 Merge 2009-04-07 10:04:29 -07:00
Valerie Peng
a2a7ded4d4 6440846: (cl) Deadlock between AppClassLoader and ExtClassLoader
Fixed a deadlock between the two class loaders

Reviewed-by: alanb
2009-04-06 18:52:03 -07:00
Valerie Peng
c10f593c2c 4735126: (cl) ClassLoader.loadClass locks all instances in chain when delegating
Added support for parallel-capable class loaders

Reviewed-by: alanb
2009-04-06 18:46:20 -07:00
Alan Bateman
91db470ae6 Merge 2009-04-06 11:29:03 +01:00
Alan Bateman
9676f044cb 6823609: (se) Selector.select hangs on Windows under load
Reviewed-by: sherman
2009-04-03 22:10:36 +01:00
Xueming Shen
21aa30606a 4681995: Add support for large (> 4GB) zip/jar files
The ZIP64 format support is added for > 4GB jar/zip files

Reviewed-by: alanb, martin
2009-04-02 15:35:46 -07:00
Kelly O'Hair
208dfa22cd 6825765: Further adjustments to regression tests run by jprt
Reviewed-by: tbell
2009-04-02 15:04:33 -07:00
Alan Bateman
78e9762656 6824477: (se) Selector.select fails with IOException: "Invalid argument" if maximum file descriptors is low
Reviewed-by: sherman
2009-04-02 19:47:24 +01:00
Alan Bateman
f83fd900a9 6824141: test/java/rmi/activation/rmidViaInheritedChannel tests fail
Reviewed-by: peterjones
2009-04-02 16:31:44 +01:00
Alan Bateman
d2cd251815 6824135: (ch) test/java/nio/channels/AsyncCloseAndInterrupt.java fails (lnx)
Reviewed-by: sherman
2009-04-02 11:13:56 +01:00
Kelly O'Hair
36ce084168 Merge 2009-04-01 09:44:34 -07:00
Kelly O'Hair
1e18bf2d6e 6824583: regtest TimeUnit/Basic.java fails intermittently on Windows - again
Reviewed-by: dholmes
2009-04-01 09:08:54 -07:00
Kelly O'Hair
c9ce349372 6824012: Add jdk regression tests to default jprt jobs
A work in progress on adding to the jprt testing.

Reviewed-by: tbell
2009-03-31 16:14:14 -07:00
Andrew John Hughes
f38ce53536 6819601: Fix AWT JTReg tests which fail to compile
Fix compilation of tests.

Reviewed-by: anthony, son
2009-03-31 18:47:31 +04:00
Alan Bateman
445c56f3ea Merge 2009-03-30 19:22:27 +01:00
Alan Bateman
f59df4d489 6693490: (se) select throws "File exists" IOException under load (lnx)
Reviewed-by: sherman
2009-03-27 15:24:37 +00:00
Yuri Nesterenko
51ef95c396 6680988: KeyEvent is still missing VK values for many keyboards
2 new methods and some fields added to KeyEvent, plus hash of constants introduced

Reviewed-by: art
2009-03-27 12:01:24 +03:00
Doug Lea
b63d6d68d9 6801020: Concurrent Semaphore release may cause some require thread not signaled
Introduce PROPAGATE waitStatus

Reviewed-by: martin
2009-03-26 11:59:07 -07:00
Anthony Petrov
a1fd30eb7a 6693253: Security Warning appearance requires enhancements
6779717: A Window does not show applet security warning icon on X platforms
6785058: Parent dn't get the focus after dialog is closed if security warning is applied

Forward-port from 6u10-6u14

Reviewed-by: art, dcherepanov
2009-03-26 14:38:46 +03:00
Doug Lea
01a36018d3 6800572: Removing elements from views of NavigableMap implementations does not always work correctly
Replace use of new TreeSet with new KeySet

Reviewed-by: martin
2009-03-24 19:42:23 -07:00
Lana Steuck
8888335104 Merge 2009-03-24 19:12:02 -07:00
Alan Bateman
6af949fe24 6621689: (dc spec) DatagramChannel.receive when channel is not bound is not specified
Reviewed-by: sherman
2009-03-24 14:10:38 +00:00
Alan Bateman
a2b46bd320 6807702: Integer.valueOf cache should be configurable
Reviewed-by: darcy
2009-03-24 14:05:44 +00:00
Phil Race
4db0a48b10 6745225: Memory leak while drawing Attributed String
Reviewed-by: jgodinez, dougfelt
2009-03-23 10:40:54 -07:00
Dmitry Cherepanov
cd71edadc5 6730447: Support for high resolution mouse wheel is still incomplete. AWT panel needs to be supported
Reviewed-by: art, dav
2009-03-23 09:47:39 -04:00
Xueming Shen
94bd6b212a Merge 2009-03-20 17:40:52 -07:00
Xueming Shen
df65a88edb 6817475: named-capturing group name started with digit causes PSE exception
Need accept the digit as the first char of the group name

Reviewed-by: alanb
2009-03-20 16:22:59 -07:00
Dmitry Cherepanov
dc5ad18362 6774258: api/java_awt/Component/index.html#PaintUpdate fails randomly
Reviewed-by: art
2009-03-20 08:41:43 -04:00
Tim Bell
a787d51eea 6814587: Legal notice repair needed in jdk/src/share/classes/java/nio
6814590: Legal notice repair needed in jdk/test/java/awt/Frame/FrameSize/TestFrameSize.java
6814591: Legal notice repair needed in jdk/test/javax/script/Test3.java

Reviewed-by: alanb, xdono
2009-03-17 13:20:56 -07:00
Xue-Lei Andrew Fan
6a44e920f6 6383095: CRL revoked certificate failures masked by OCSP failures
Remove the mask if certificate revoked

Reviewed-by: mullan
2009-03-17 11:54:13 +08:00
Anton Tarasov
56f4a68e6b 6806217: implement synthetic focus model for MS Windows
Reviewed-by: art, dcherepanov
2009-03-10 18:33:29 +03:00
Lana Steuck
be8bd14e3c Merge 2009-03-04 10:57:24 -08:00
Phil Race
de4c8e0eb5 2163516: Font.createFont can be persuaded to leak temporary files
Reviewed-by: igor
2009-03-03 16:10:37 -08:00
Xue-Lei Andrew Fan
ff67e1ba9a 6549506: Specification of Permission.toString() method contradicts with JDK implementation
Update the spec, and add double quotes around component.

Reviewed-by: weijun
2009-03-02 23:17:53 +08:00
Kevin Walls
53cf69e562 6809463: Missing license header in test LargeZipFile.java
Reviewed-by: alanb
2009-02-24 19:03:58 +00:00
Kevin Walls
ee5c2301ec 6599383: Unable to open zip files more than 2GB in size
Reviewed-by: alanb
2009-02-24 14:22:08 +00:00
Alan Bateman
4f2325cf75 Merge 2009-02-24 11:33:25 +00:00
Alan Bateman
6d59271ca9 6808647: (file) Paths.get("C:").newDirectoryStream() iterates over Path elements with additional slash [win]
6808648: (file) Files.walkFileTree should obtain file attributes during iteration [win]

Reviewed-by: sherman
2009-02-24 09:11:42 +00:00
Xueming Shen
952857e682 6350801: Add support for named (instead of numbered) capture groups in regular expression
6676425: Opensource unit/regression tests for java.util.regex

Added "named capturing group" into regex. Moved most of reg/unit tests to openjdk.

Reviewed-by: alanb, okutsu
2009-02-23 21:06:15 -08:00
Lana Steuck
2ba8da1975 Merge 2009-02-23 11:16:04 -08:00
Weijun Wang
7465090acf 6535697: keytool can be more flexible on format of PEM-encoded X.509 certificates
Reviewed-by: vinnie
2009-02-23 10:03:36 +08:00
Tim Bell
354897da83 Merge 2009-02-19 18:04:30 -08:00
Lana Steuck
0b8159d689 Merge 2009-02-18 10:05:41 -08:00
Alan Bateman
030a13d8fe 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
4313887: New I/O: Improved filesystem interface
4607272: New I/O: Support asynchronous I/O

Reviewed-by: sherman, chegar
2009-02-15 12:25:54 +00:00
Lana Steuck
f9c7b83d22 Merge 2009-02-10 12:26:12 -08:00
Tim Bell
04d96f9698 Merge 2009-02-05 09:28:04 -08:00
Tim Bell
354177b550 Merge 2009-02-05 09:24:45 -08:00
Sergey Malenkov
8f96eb9cea 6669869: Beans.isDesignTime() and other queries should be per-AppContext
Reviewed-by: peterz, rupashka
2009-02-05 17:00:57 +03:00
Andrew Brygin
b56f073148 6799583: LogManager shutdown hook may cause a memory leak
Reviewed-by: igor, swamyv
2009-02-04 14:06:18 +03:00
Anthony Petrov
13c271c69b 6797195: Forward-port enhancements for hw/lw mixing from 6u12 to 7
Reviewed-by: art, dcherepanov
2009-02-04 11:58:13 +03:00
Lana Steuck
c88ad511d0 Merge 2009-02-03 22:02:55 -08:00
Jean-Christophe Collet
57a4df4e50 6791927: Wrong Locale in HttpCookie::expiryDate2DeltaSeconds
Force Locale.US when parsing the cookie expiration date.

Reviewed-by: chegar
2009-02-02 16:50:54 +01:00
Michael McMahon
71dfa4d2db 4167874: URL-downloaded jar files can consume all available file descriptors
Added close method to URLClassLoader

Reviewed-by: alanb
2009-01-30 22:05:30 +00:00
Lana Steuck
0d1c16da0e Merge 2009-01-29 18:33:52 -08:00
Joe Darcy
0476ba59fb 6327048: Enum javadoc could link to JLS
6653154: Exception message for bad Enum.valueOf has spurious "class"

Reviewed-by: emcmanus
2009-01-29 13:04:44 -08:00
Lana Steuck
6701ca1be7 Merge 2009-01-29 09:25:47 -08:00
Sergey Malenkov
d36d789593 6788531: java.beans.Statement imposes excessive access control
Reviewed-by: peterz, rupashka
2009-01-29 15:34:50 +03:00
Omair Majid
9ea7492522 6721088: Bad window size calculation after using pack()
Reviewed-by: anthony
2009-01-29 14:58:12 +03:00
Joe Darcy
79ec4bf8d3 6704655: Test test/java/lang/reflect/Generics/Probe.java fails under OpenJDK
Reviewed-by: ksrini
2009-01-28 10:30:33 -08:00
Jean-Christophe Collet
285d905e09 6790677: java.net.HttpCookie.parse(String) should ignore unrecognized attributes, RFC2965
Changed code not to throw an exception on unknown attributes

Reviewed-by: chegar
2009-01-27 11:36:28 +01:00
Joe Darcy
61f89b0025 6601457: Move wrapper class tests from closed to open
6601458: Move java.math tests from closed to open
6740185: Move java/lang/annotations tests to open
6759433: Move Math and StrictMath regression tests from closed to open

Move some more regression tests to the open

Reviewed-by: jjg
2009-01-26 19:49:26 -08:00
Xueming Shen
a9c275ed18 6476425: (fmt)java.util.Formatter.print() throws IllegalArgumentException on large BigDecima
Correct the wrong calculation of "precision" in certain circumstances.

Reviewed-by: darcy, alanb
2009-01-22 20:29:54 -08:00
Naoto Sato
c0b51b7972 6627549: ISO 3166 code addition: Saint Barthelemy and Saint Martin
6786276: Locale.getISOCountries() still contains country code "CS"

Reviewed-by: okutsu
2009-01-21 13:58:46 -08:00
Tim Bell
9298831bab Merge 2009-01-09 22:01:38 -08:00
Jeremy Manson
e8974fee90 6791458: FileInputStream/RandomAccessFile.read leaks memory if invoked on closed stream with len > 8k
Reviewed-by: alanb
2009-01-08 14:07:45 -08:00
Gary Benson
95f5222445 6788196: (porting) Bounds checks in io_util.c rely on undefined behaviour
Reviewed-by: alanb
2009-01-07 11:50:32 -08:00
Lana Steuck
e39c4cbfe7 Merge 2009-01-06 16:24:03 -08:00