Commit Graph

1183 Commits

Author SHA1 Message Date
Masayoshi Okutsu
4e60b6278a 7035446: some regression tests take too long
Reviewed-by: peytoia
2011-04-15 22:57:15 +09:00
Joe Darcy
b4d4e3bed4 6430675: Math.round has surprising behavior for 0x1.fffffffffffffp-2
Reviewed-by: alanb
2011-04-14 21:27:10 -07:00
Masayoshi Okutsu
899e0913f3 7028818: (lc) Lazily initialize locale extension
7029740: (lc) New Locale class implementation doesn't follow the Java coding conventions
7032820: (lc) sun.util.locale.InternalLocaleBuilder.CaseInsensitiveChar.equals problems
7033503: (lc) Restore optimization code for Locale class initialization
7033504: (lc) incompatible behavior change for ja_JP_JP and th_TH_TH locales

Reviewed-by: naoto
2011-04-14 15:59:47 +09:00
Kelly O'Hair
7c8e01891a Merge 2011-04-13 16:56:16 -07:00
Neil Richards
44505cde63 6597112: referential integrity loophole during remote object export
Reviewed-by: peterjones
2011-04-13 18:39:48 +01:00
Erik Trimble
5c3b84ba2d Merge 2011-04-12 16:37:16 -07:00
Abhijit Saha
b27b971f1f Merge 2011-04-12 14:23:03 -07:00
Xueming Shen
e27e4cb99b 7033561: Missing Unicode Script aliases
Added 6.0 aliases

Reviewed-by: okutsu, peytoia, alanb
2011-04-10 23:33:14 -07:00
John R Rose
06a8e9b35e 7019529: JSR292: java/dyn/ClassValueTest.java depends on sub-test execution order
Test should not use static variables, because they may contain stale values.

Reviewed-by: twisti
2011-04-09 21:38:40 -07:00
Abhijit Saha
f8f46ca105 Merge 2011-04-08 10:27:23 -07:00
Anthony Petrov
c2d4b9c218 7008513: Case TranslucentJAppletTest.jtr automatically failed due to java.lang.RuntimeException
Set transparent background to the applet

Reviewed-by: art, dcherepanov
2011-04-08 17:04:35 +04:00
Anthony Petrov
8ca505ebed 7027013: Regression: JComponent.revalidate() has no effect on invisible components
Dialog.conditionalShow() should call validateUnconditionally() instead of simple validate()

Reviewed-by: art, dcherepanov
2011-04-08 15:00:20 +04:00
John R Rose
e60c5b1af0 6817525: turn on method handle functionality by default for JSR 292
JVM bug 6817525 requires changes to some JDK unit tests; update test invocation flags and "Indify" snapshot

Reviewed-by: kvn, twisti
2011-04-07 22:07:06 -07:00
Doug Lea
1693ab3b69 7034657: Update Creative Commons license URL in legal notices
Reviewed-by: chegar
2011-04-07 15:06:32 +01:00
Kelly O'Hair
d2b1e20c7d 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 22:06:11 -07:00
Naoto Sato
81221f1be0 7031546: test/java/util/ResourceBundle/Bug4168625Test.java fails on solaris10u9 sparc
Reviewed-by: okutsu
2011-04-06 10:53:13 -07:00
Neil Richards
7f998c2049 6312706: Map entrySet iterators should return different entries on each call to next()
Reviewed-by: mduigou, alanb
2011-04-06 09:31:13 -07:00
Andrei Dmitriev
58ceadaf02 7002839: Static initialization deadlock between sun.awt.Win32GraphicsEnvironment and sun.awt.windows.WToolkit
Reviewed-by: art, dcherepanov, denis
2011-04-06 17:13:08 +04:00
Sergey Bylokhov
15113a03ad 6998877: After double-click on the folder names , FileNameOverrideTest FAILED
Reviewed-by: art, dcherepanov, anthony
2011-04-05 16:50:11 +04:00
Lana Steuck
1c712d2e72 Merge 2011-04-04 17:28:28 -07:00
Lana Steuck
c88dc579bd Merge 2011-04-04 17:20:24 -07:00
Lana Steuck
300730e127 Merge 2011-04-04 17:18:35 -07:00
Alan Bateman
679dfe21f6 Merge 2011-04-04 19:32:56 +01:00
Xueming Shen
363df8be6a 6751338: ZIP inflater/deflater performance
To use GetPrimitiveArrayCritical for bye array access

Reviewed-by: bristor, alanb
2011-04-04 11:30:55 -07:00
Alan Bateman
fba270080e 7029979: (fs) Path.toRealPath(boolean) should be toRealPath(LinkOption...)
Reviewed-by: sherman
2011-04-04 18:09:53 +01:00
Lana Steuck
abd7c7bcde Merge 2011-04-01 23:55:08 -07:00
Lana Steuck
0ee5cb3c4d Merge 2011-04-01 16:55:47 -07:00
Lana Steuck
1e260ac520 Merge 2011-04-01 14:47:59 -07:00
Lana Steuck
24ab596494 Merge 2011-03-31 22:07:32 -07:00
Joe Darcy
92c64a56ae 7005628: Clarify NPE behavior of Throwable.addSuppressed(null)
Reviewed-by: dholmes, mchung, jjb
2011-03-31 19:09:02 -07:00
Mandy Chung
47a20b7526 6381464: SimpleFormatter should use one single line format
Define a new logging properties to support custom output format

Reviewed-by: alanb
2011-03-29 15:58:18 -07:00
Mandy Chung
793f1078b6 7024172: Move BufferPoolMXBean and PlatformLoggingMXBean java.lang.management
Reviewed-by: alanb
2011-03-29 15:50:55 -07:00
Erik Trimble
344dad5b73 Merge 2011-03-29 13:28:10 -07:00
Andrei Dmitriev
e39693ced3 7023011: Toolkit.getPrintJob(Frame,String,Properties) throws HE instead of specified NPE
Reviewed-by: dcherepanov, art
2011-03-28 15:25:24 +04:00
Weijun Wang
f7860d24d9 7023056: NPE from sun.security.util.ManifestEntryVerifier.verify during Maven build
Reviewed-by: mullan
2011-03-25 11:58:30 +08:00
Sergey Malenkov
4eb4d46567 6825739: jdk regression test failing on linux: java/lang/reflect/Method/InheritedMethods.java
Reviewed-by: rupashka
2011-03-24 21:45:46 +03:00
Jim Holmlund
1273c8e233 7029823: (ann) test/java/lang/annotation/package-info.java no longer compiles
Use @Deprecated instead of @java.lang.annotation.Documented

Reviewed-by: jjg, smarks
2011-03-24 11:40:13 -07:00
John R Rose
3718824e69 7012648: move JSR 292 to package java.lang.invoke and adjust names
Package and class renaming only; delete unused methods and classes; add @since tags; no code changes

Reviewed-by: twisti
2011-03-23 23:02:31 -07:00
Andrew Brygin
91f8f158a4 6993561: java.awt.image.SampleModel.setSamples() methods not always throw ArrayIndexOutOfBoundsException
Reviewed-by: jgodinez, prr
2011-03-22 11:22:38 +03:00
Lana Steuck
99bae3bd28 Merge 2011-03-21 16:57:18 -07:00
Mike Duigou
8629655e8b Merge 2011-03-21 11:49:37 -07:00
Mike Duigou
af9167398f 7029491: fix broken test file committed with CR 5045147
An incorrect file was committed with CR 5045147. This commit corrects that error and also applies minor review suggestions.

Reviewed-by: alanb
2011-03-21 11:31:54 -07:00
Alan Bateman
8dfe1d556a 7017446: (fs) Updates to file system API (3/2011)
Reviewed-by: sherman
2011-03-19 14:21:52 +00:00
Lana Steuck
4e70e79c7f Merge 2011-03-18 23:33:34 -07:00
John R Rose
e7ebd4792b 6839872: remove implementation inheritance from JSR 292 APIs
Move everything into a single package; remove all multi-package machinery

Reviewed-by: twisti, forax
2011-03-18 00:03:24 -07:00
Mike Duigou
deb8d5a4ff 5045147: Prevent insertion of null Key into empty TreeMap (and null element into TreeSet) when no Comparator is used. Prevent insertion of key of incorrect type into empty TreeMap and incorrect type element into TreeSet and incorrect type when Comparator is used
Reviewed-by: alanb, dl, mduigou
2011-03-17 14:42:40 -07:00
David Holmes
117062efaa Merge 2011-03-15 20:00:45 -04:00
Alan Bateman
4b0829340e 7026376: (dc) DatagramChannel created without specifying protocol family fails to join IPv4 group
Reviewed-by: chegar
2011-03-15 13:15:31 +00:00
Neil Richards
b96d0e610a 7014637: Improve behavior of EnumSet Iterator.remove()
Reviewed-by: mduigou, alanb
2011-03-14 14:49:52 -07:00
Naoto Sato
d7b9fcfbd4 7023613: (lc) Incorrect string returned by Locale.toString() with non-empty script field
Reviewed-by: srl
2011-03-11 11:31:10 -08:00
Chris Hegarty
b6f518d3c1 7023363: URI("ftp", "[www.abc.com]", "/dir1/dir2", "query", "frag") should throw URISyntaxException
Reviewed-by: alanb, michaelm
2011-03-11 13:50:09 +00:00
Charles Lee
15ddaff2ab 7026346: URLConnection.guessContentTypeFromStream does not support UTF-8 and UTF-32 xml streams with BOM
Reviewed-by: alanb
2011-03-11 08:57:14 +00:00
Lana Steuck
d67aed550b Merge 2011-03-10 19:38:44 -08:00
Alan Bateman
a36a5ce599 7025468: Tests using diamond with anonymous inner classes needs to be reverted
Reviewed-by: dholmes, forax
2011-03-08 10:32:18 +00:00
Steven Loomis
a816ca8a51 6962082: merge back in lines from bad merge in CR 6501644 and open up a test
Reviewed-by: igor, prr
2011-03-07 19:37:07 -08:00
Steven Loomis
58bbf34391 7017324: Kerning crash in JDK 7 since ICU layout update
Reviewed-by: igor, prr
2011-03-07 17:23:39 -08:00
Lana Steuck
8b14c7551d Merge 2011-03-07 14:48:27 -08:00
Lana Steuck
5f0efd5e7c Merge 2011-03-07 11:36:37 -08:00
Lana Steuck
1b471215b4 Merge 2011-03-05 20:54:53 -08:00
Alan Bateman
d048451ca2 7023403: (ch) sun.nio.ch.SolarisEventPort.startPoll failed with AssertionError
Reviewed-by: forax
2011-03-04 21:26:50 +00:00
Chris Hegarty
23ff61a1ff 6721694: java/lang/Thread/StartOOMTest.java fails with timeout or with crash
The test is not suitable to be run automatically

Reviewed-by: alanb
2011-03-03 16:48:53 +00:00
Michael McMahon
340701d021 7018606: (process) test/java/lang/ProcessBuilder/Basic.java failing intermittently (win)
Reviewed-by: alanb
2011-03-03 15:34:09 +00:00
Jim Graham
799cba0df4 7016495: Crash in Java 2D transforming an image with scale close to zero
Reviewed-by: prr, bae
2011-03-02 05:35:14 -08:00
Stuart Marks
90194bc501 7022624: use try-with-resources in java.io tests
Reviewed-by: alanb
2011-03-01 15:05:32 -08:00
Lana Steuck
49f555c5b5 Merge 2011-03-01 14:04:59 -08:00
Alan Bateman
c4da54f7a9 7023034: Files.createTempDirectory((Path)null, "temp") does not throw NPE
Reviewed-by: forax
2011-03-01 12:03:44 +00:00
Weijun Wang
314c75c742 7020531: test: java/security/cert/CertificateFactory/openssl/OpenSSLCert.java file not closed after run
Reviewed-by: alanb, smarks
2011-03-01 16:22:22 +08:00
Erik Trimble
41fcd26eb6 Merge 2011-02-25 12:48:18 -08:00
Stuart Marks
cea2f39843 7021582: convert jar/zip code and tests to use try-with-resources
Reviewed-by: alanb, dholmes, sherman
2011-02-25 02:06:10 -08:00
Chris Hegarty
9607630405 7020136: java/net/URLConnection/RedirectLimit.java fails intermittently
Increase the socket timeout and clean up the test

Reviewed-by: alanb
2011-02-24 12:57:59 +00:00
Masayoshi Okutsu
2b3aef04c3 6772689: java.sql.Date.valueOf("2042-10-xx").toString() wrong in some time zones
Reviewed-by: peytoia
2011-02-24 16:29:42 +09:00
Lana Steuck
d686419127 Merge 2011-02-23 10:29:15 -08:00
Masayoshi Okutsu
66ca7600c4 6623219: Font.canDisplayUpTo does not work with supplementary characters
Reviewed-by: prr, peytoia
2011-02-23 14:09:23 +09:00
Stuart Marks
dd0e38d73a 7021209: convert lang, math, util to use try-with-resources
Reviewed-by: alanb, darcy, naoto
2011-02-22 15:34:17 -08:00
Alan Bateman
4c2006a780 7021327: Changes for 7020888 included changes to other files in error
Reviewed-by: chegar
2011-02-22 14:28:13 +00:00
Alan Bateman
17cace4c58 7020888: (file) Miscellaneous and trivial clean-ups (typos and opportunities to use suppressed exceptions)
Reviewed-by: mduigou, chegar
2011-02-22 12:04:48 +00:00
Alan Bateman
7966b53750 Merge 2011-02-22 10:19:35 +00:00
Mike Duigou
7ddd950b1d 7019705: Add -XX:+AggressiveOpts options to MOAT test
Reviewed-by: alanb
2011-02-21 14:53:11 -08:00
Lana Steuck
9e058711b1 Merge 2011-02-21 14:33:58 -08:00
Lana Steuck
12134b9ba9 Merge 2011-02-21 14:31:07 -08:00
Lana Steuck
3bbc62d525 Merge 2011-02-21 14:22:08 -08:00
Alan Bateman
8e29241702 7020517: (fs) FileStore.equals returns true if both volumes have the same serial number
Reviewed-by: chegar
2011-02-21 13:54:13 +00:00
Jennifer Godinez
dd383efe04 Merge 2011-02-18 12:04:36 -08:00
Phil Race
7b9e1ea0d5 7017637: closed/java/awt/font/StyledMetrics/BoldSpace.java failed : Space char should have 0 advance
Reviewed-by: igor, jgodinez
2011-02-18 09:18:32 -08:00
Alan Bateman
d1cf52c16a Merge 2011-02-17 20:53:26 +00:00
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
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
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
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
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
Weijun Wang
e8b79573d2 6618658: Deserialization allows creation of mutable SignedObject
Reviewed-by: hawtin, mullan
2011-02-09 11:50:29 +08: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
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
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
Lana Steuck
8e2b437a8b Merge 2011-02-03 19:15:30 -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
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
Brian Goetz
ce8ab39164 7012540: java.util.Objects.nonNull() incorrectly named
Reviewed-by: darcy, weijun
2011-02-02 13:13:34 -05: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
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
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
Lana Steuck
e02ca6c7fd Merge 2011-01-19 19:35:27 -08:00
Lana Steuck
cb72d9f503 Merge 2011-01-19 19:00:30 -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
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
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
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
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
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Masayoshi Okutsu
f2bb972af4 7003643: [Fmt-Me] MessageFormat.toPattern produces wrong quoted string and subformat modifiers
7008195: [Fmt-Me] Improve MessageFormat.applyPattern performance

Reviewed-by: naoto, peytoia
2010-12-27 14:13:52 +09:00
Andrew Brygin
8769a48a69 6983028: java/awt/FontClass/FontPrivilege.java
Reviewed-by: prr
2010-12-24 14:05:42 +03:00
Jennifer Godinez
a5689daad8 6949749: regression cases need to be updated by removing "System.exit(0)"
Reviewed-by: igor, prr
2010-12-23 11:01:37 -08:00
Lana Steuck
ed5a7ec3f8 Merge 2010-12-23 10:20:57 -08:00
Lana Steuck
5547d6966c Merge 2010-12-23 00:03:46 -08:00
Lana Steuck
4010e0a7cb Merge 2010-12-22 23:12:17 -08:00
Lana Steuck
c02539239e Merge 2010-12-22 16:57:08 -08:00
Phil Race
01d8aee41b 6996867: Garbage rendering of LCD text with SRC composite mode
Reviewed-by: igor, jgodinez
2010-12-22 13:49:23 -08:00
Pavel Tisnovsky
7e5478ceab 6560348: PIT : java/awt/xembed/server/RunTestXEmbed.java fails
Testcase correction.

Reviewed-by: anthony
2010-12-22 14:37:15 +01:00
Erik Trimble
ba3a935a60 Merge 2010-12-21 16:49:36 -08:00
Naoto Sato
c84359f622 4940539: Constructor of java.util.Locale should handle ISO 639-2 Language Codes
Reviewed-by: okutsu
2010-12-21 16:14:14 -08:00
Stuart Marks
6e7cb44eea 6880112: Project Coin: Port JDK core library code to use diamond operator
Reviewed-by: darcy, lancea, alanb, briangoetz, mduigou, mchung
2010-12-20 13:47:04 -08:00
Masayoshi Okutsu
c1d0a22eac 6644493: [Fmt-Da] SimpleDateFormat parsing RFC822 time offset is slow
Reviewed-by: peytoia
2010-12-17 17:13:43 +09:00
John R Rose
34cd7bc224 7001424: implement JSR 292 EG adjustments, November 2010
Reviewed-by: twisti
2010-12-16 15:59:27 -08:00
John R Rose
494c1f5c75 Merge 2010-12-16 00:32:15 -08:00
Lana Steuck
15c1c32516 Merge 2010-12-15 11:49:36 -08:00
Andrew Brygin
f5e1bc5ca8 6782574: AffineTransformOp.filter(BufferedImage, BufferedImage) fails with InternalError
Reviewed-by: igor, prr
2010-12-15 19:47:01 +03:00
Jim Graham
80cb99bacb 6766342: Improve performance of Ductus rasterizer
Reviewed-by: jgodinez, prr
2010-12-14 13:25:29 -08:00
Andrew John Hughes
0e6307f4b7 6444769: java/awt/Insets/WindowWithWarningTest/WindowWithWarningTest.html fails
Remove unneeded test

Reviewed-by: anthony
2010-12-14 13:51:07 +00:00
Lana Steuck
9ed3faea7a Merge 2010-12-13 16:25:26 -08:00
Lana Steuck
0376b163c5 Merge 2010-12-13 16:22:29 -08:00
Xueming Shen
675d4c42a3 7003462: cannot read InputStream returned by java.util.ZipFile.getInputStream(ZipEntry)
The returned InflatedInputStream object should be kept in map streams

Reviewed-by: alanb
2010-12-13 14:12:56 -08:00
Naoto Sato
c961543922 7002320: Locale.forLanguageTag()/toLanguageTag() not working properly with ja_JP_JP locale
Reviewed-by: dougfelt
2010-12-13 13:16:08 -08:00
Vinnie Ryan
7d90fc05af Merge 2010-12-13 15:07:20 +00:00
Vinnie Ryan
26382e27dd 6799854: CodeSigner.hashCode() does not work with serialization
Reviewed-by: mullan
2010-12-13 14:58:52 +00:00
Lana Steuck
612fdb2793 Merge 2010-12-12 15:28:57 -08:00
Lana Steuck
dc44526b3f Merge 2010-12-10 14:02:33 -08:00
Lana Steuck
03324a834c Merge 2010-12-09 21:55:41 -08:00
Masayoshi Okutsu
8818a29165 4396385: [Fmt-Da] SimpleDateFormat too lenient when parsing 1-based hours
Reviewed-by: peytoia
2010-12-08 12:50:26 +09:00
Joe Darcy
e9ba5a8f34 6990094: ObjectInputStream cloneArray doesn't handle short[]
Reviewed-by: alanb, smarks, peterjones
2010-12-07 01:09:17 -08:00
Steven Loomis
740215236a 6886358: layout code update
Reviewed-by: igor, prr
2010-12-06 16:10:01 -08:00
Lana Steuck
987b04c8e9 Merge 2010-12-05 15:26:16 -08:00
Lana Steuck
1595b3f078 Merge 2010-12-03 11:30:28 -08:00
John R Rose
531c22ce5f Merge 2010-12-02 03:02:56 -08:00
John R Rose
65d25a6a2a 7001423: JSR 292 bytecode enhancements need unit tests
Reviewed-by: twisti
2010-12-02 02:59:02 -08:00
Mandy Chung
c380ff11d0 6402006: FileInputStream.available() returns negative values when reading a large file
Reviewed-by: alanb
2010-12-01 15:58:49 -08:00
Doug Lea
f9a00e6199 7003745: Code style cleanups (sync from Dougs CVS)
Reviewed-by: chegar, dholmes
2010-12-01 21:46:52 +00:00
Alan Bateman
3111dfa081 6709457: (fc) lock/tryLock() throws IOException "Access is denied" when file opened for append [win]
Reviewed-by: chegar
2010-12-01 13:49:02 +00:00
Lana Steuck
366828ecb8 Merge 2010-11-30 15:07:42 -08:00
Lana Steuck
24ba84f611 Merge 2010-11-30 14:51:07 -08:00
Lana Steuck
4e8893f874 Merge 2010-11-30 14:50:04 -08:00
Andrei Dmitriev
efca767f82 6783910: (dav) java.awt.Color.brighter()/darker() methods make color opaque
Reviewed-by: art, yan
2010-11-30 21:54:55 +03:00
Lana Steuck
a0eaaf3f1e Merge 2010-11-29 10:50:49 -08:00
Naoto Sato
d2a42e4896 6807534: CurrencyNameProvider.getDisplayName(String, Locale) doesn't throw IllegalArgumentException
Reviewed-by: okutsu
2010-11-24 15:26:41 -08:00
Alan Bateman
b6b4b5086c 6878369: (ch) AsynchronousSocketChannel read/write methods that specify timeouts should not throw IAE
Reviewed-by: forax
2010-11-24 09:51:31 +00:00
Yuka Kamiya
2a09eb6d22 7002398: Apply Corrigendum #8 for Unicode 6.0.0
Reviewed-by: okutsu
2010-11-24 14:13:37 +09:00
Naoto Sato
0386e25365 6930106: Testcases with legal notice problems
Reviewed-by: ohair
2010-11-23 13:06:57 -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
Valerie Peng
b3d5652149 6203816: Can not run test/java/security/Security/ClassLoaderDeadlock.sh from the command line
Fixed the script to not delete the provider sub-directory

Reviewed-by: weijun
2010-11-19 16:59:48 -08:00
Doug Lea
823b331f15 6712185: java/util/concurrent/Executors/AutoShutdown.java fails on slow or busy systems
Reviewed-by: chegar, alanb
2010-11-19 10:43:24 +00:00
Alan Bateman
c1b0efa732 7000913: (bf) CharBuffer.wrap, slice, position, slice leads to CharBuffer with incorrect offser
Reviewed-by: forax
2010-11-18 19:16:45 +00:00
Andrei Dmitriev
cd9eaf7bcc 6990904: (dav) on oel5.5, Frame doesn't show if the Frame has only a MenuBar as its component
Reviewed-by: dcherepanov, art
2010-11-18 14:26:19 +03:00
Sergey Malenkov
3f7a78b5b0 6447751: Bean Customizer should be detectable by reflection name alone
Reviewed-by: peterz
2010-11-17 22:17:01 +03:00
Naoto Sato
1451cced85 6997999: Remove duplicated entries from ISO language/country code tables
Reviewed-by: okutsu
2010-11-16 10:47:01 -08:00
Yuka Kamiya
4a4fb15178 6959267: Support Unicode 6.0.0
Reviewed-by: okutsu
2010-11-17 01:02:20 +09:00
Lana Steuck
41c256442e Merge 2010-11-15 19:05:15 -08:00
Xueming Shen
0407a3cf9e 6544278: SecurityException not thrown for Indexed Jar file whose signature is corrupted
Added code to deal with the index case specially.

Reviewed-by: mullan
2010-11-15 09:42:39 -08:00
Chris Hegarty
cdcbbea8cb 6993789: LinkedBlockingDeque iterator/descendingIterator loops and owns lock forever
Reviewed-by: dl, dholmes
2010-11-15 15:11:04 +00:00
Alan Bateman
4dfa884fe5 6999915: TEST_BUG: test/java/nio/channels/AsynchronousSocketChannel/Leaky.java failed intermittently (win)
Reviewed-by: forax
2010-11-15 14:34:04 +00:00
Joe Darcy
3aae57e052 6991528: Support making Throwable.suppressedExceptions immutable
Reviewed-by: mchung, dholmes
2010-11-14 07:22:39 -08:00
Lana Steuck
c420cdefc2 Merge 2010-11-13 18:56:50 -08:00
Lana Steuck
b2e3b2f545 Merge 2010-11-12 15:07:29 -08:00
Erik Trimble
ae511866fd Merge 2010-11-10 20:40:19 -08:00
Andrei Dmitriev
1524b98ebc 6960516: sun.awt.UngrabEvent has an ID over AWTEvent.RESERVED_ID_MAX
Reviewed-by: dcherepanov, art
2010-11-10 10:38:18 +03:00
Alan Bateman
8b7cdbeb44 Merge 2010-11-09 18:57:12 +00:00
Alan Bateman
4f08e82908 6979009: (fc) FileChannel.read() fails to throw ClosedByInterruptException
Reviewed-by: forax, sherman, chegar
2010-11-09 18:56:39 +00:00
Kelly O'Hair
39a2b6c9ff 6792706: Add JAR file to bootclasspath when using AggressiveOpts
Reviewed-by: alanb, kvn, darcy
2010-11-08 09:29:18 -08:00
Sean Mullan
8676006f11 6994717: expired certificate in test ValidateCertPath
Reviewed-by: vinnie
2010-11-08 11:33:24 -05:00
Anthony Petrov
a77052796a 6988428: Shape is not applied sometimes
Always call ::SetWindowRgn() on the toolkit thread

Reviewed-by: art, dcherepanov
2010-11-08 17:51:35 +03:00
Naoto Sato
ddf465f954 6997928: LocaleCategory test fails with b118 PIT
Reviewed-by: sherman
2010-11-05 20:58:10 -07:00
Lana Steuck
ac1e3ac7bc Merge 2010-11-05 08:18:46 -07:00
Erik Trimble
9c9fc5ccc2 Merge 2010-11-04 16:09:49 -07:00
Lana Steuck
431c033058 Merge 2010-11-04 15:38:39 -07:00
Mandy Chung
fb4886a3b5 6720170: ByteArrayInputStream.skip(long) can overflow internally
Reviewed-by: dholmes, alanb
2010-11-04 14:19:31 -07:00
Lana Steuck
fba090f3e8 Merge 2010-11-02 19:40:45 -07:00
Lana Steuck
458c60b276 Merge 2010-11-02 12:45:49 -07:00
Naoto Sato
63cb31c203 6989111: Incorrect default locale for New Zealand
6990452: Provide system properties for the user specified script
6992312: Currency becomes XXX if do not specify user.country.format

Reviewed-by: okutsu
2010-11-02 10:34:46 -07:00
Alan Bateman
b1deb7b1e3 6431343: (dc) DatagramChannel may not report its local address correctly after connect or disconnect
Reviewed-by: chegar
2010-11-02 10:07:21 +00:00
Alan Bateman
c51ac2a369 6993126: (aio) remove AsynchronousDatagramChannel
Reviewed-by: chegar
2010-11-02 10:05:42 +00: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
Naoto Sato
d6aaa2692f 6993339: Bug4168625Test.java fails
Reviewed-by: peytoia
2010-10-22 11:32:26 -07:00
Alan Bateman
f8b4e1e1bd 6816049: (bf) MappedByteBuffer.force() method does not flush data correctly
Reviewed-by: chegar
2010-10-22 17:40:31 +01:00
Sergey Malenkov
704780d250 4358979: javax.swing.border should have a DashedBorder
Reviewed-by: flar, alexp
2010-10-21 20:41:20 +04:00
Alan Bateman
c6d66451cf 6993267: TEST_BUG: java/nio/file/Path/InterruptCopy.java fails intermittently (win)
Reviewed-by: forax
2010-10-21 14:39:58 +01:00
Mandy Chung
d0f3de3b59 6992121: StringBuilder.ensureCapacity(int minCap) throws OutOfMemoryError with minCap=Integer.MIN_VALUE
Reviewed-by: dholmes, alanb
2010-10-19 10:02:25 -07:00
Mandy Chung
441155f0d9 6992968: test/java/lang/management/MemoryMXBean/CollectionUsageThresholdConcMarkSweepGC.sh should not hang
Reviewed-by: alanb, dholmes
2010-10-19 09:49:08 -07:00
Lana Steuck
45d07f9520 Merge 2010-10-18 21:50:02 -07:00
Lana Steuck
725109cea1 Merge 2010-10-18 21:46:27 -07:00
Lana Steuck
cfb1ea458c Merge 2010-10-18 21:44:47 -07:00
Yoshito Umaoka
8df28ab0e3 6992272: I18N: Locale.getDisplayName() and toString() return empty if just script is set
Reviewed-by: srl
2010-10-18 14:45:00 -07:00
Lana Steuck
67a5640f22 Merge 2010-10-18 12:43:39 -07:00
Sean Coffey
9b05f554fa 6974104: TEST: sun/nio/ch/6645197.java should be fixed in 1.5.0u25b05 and jdk6 workspace
Reviewed-by: alanb
2010-10-18 18:04:02 +01:00
Alan Bateman
7ed3e0a896 4837564: (bf) Please make DirectByteBuffer performance enhancements
Reviewed-by: chegar
2010-10-18 10:29:59 +01:00
Lana Steuck
42fc60ebfd Merge 2010-10-17 19:43:33 -07:00
Lana Steuck
649b50b659 Merge 2010-10-15 11:45:30 -07:00
Alan Bateman
444dc7067b 6743526: (bf) -XX:MaxDirectMemorySize=<size> limits memory usage rather than total capacity as intended
Reviewed-by: chegar
2010-10-15 15:09:37 +01:00
Vladimir Yaroslavskiy
aa1307fc6e 6976036: Dual-pivot quicksort update (10/2010 tune-up)
Reviewed-by: alanb
2010-10-15 12:10:32 +01:00
Andrew Brygin
5e04c64e9e 6773022: java.awt.image.SampleModel.getDataElements() does't throw ArrayIndexOutOfBoundsEx for Integer.MAX_V
Reviewed-by: igor, prr
2010-10-15 11:26:43 +04:00
Dmitry Cherepanov
0af2737f3a 6838089: java.awt.Window.setOpacity() doesn't throw IllegalComponentStateException for two-display conf
Reviewed-by: art, anthony
2010-10-14 18:56:18 +04:00
Lana Steuck
0ffa1c4042 Merge 2010-10-13 17:51:41 -07:00
Yoshito Umaoka
822884735d 6989440: tomcat test from dacapo benchmark fails with ConcurrentModificationException
Reviewed-by: okutsu
2010-10-12 17:09:14 -07:00