Commit Graph

1907 Commits

Author SHA1 Message Date
Mikhail Cherkasov
fc6a9c2d07 8005932: Java 7 on mac os x only provides text clipboard formats
Reviewed-by: alexp, denis
2013-02-08 22:08:10 +04:00
Daniel D. Daugherty
249b55b573 8007420: add test for 6805864 to com/sun/jdi, add test for 7182152 to java/lang/instrument
Reviewed-by: coleenp, sspitsyn
2013-02-11 10:07:01 -08:00
Doug Lea
724f325f44 8005697: Add StampedLock
Reviewed-by: chegar, alanb, dice, martin
2013-02-09 08:35:57 +00:00
Naoto Sato
ea5819f8d3 8007038: ArrayIndexOutOfBoundsException on calling localizedDateTime().print() with JapaneseChrono
Reviewed-by: okutsu
2013-02-08 09:35:14 -08:00
Lana Steuck
bab241d2e7 Merge 2013-02-05 11:11:53 -08:00
Edvard Wendelin
11036fb4d5 Merge 2013-02-05 15:35:35 +01:00
David Holmes
eb1726c151 Merge 2013-02-04 18:08:50 -05:00
Xueming Shen
db8ced219f 8006295: Base64.Decoder.wrap(java.io.InputStream) returns InputStream which throws unspecified IOException on attempt to decode invalid Base64 byte stream
8006315: Base64.Decoder decoding methods are not consistent in treating non-padded data
8006530: Base64.getMimeDecoder().decode() throws exception for non-base64 character after adding =

Updated the spec to describe the expected behave explicitly and the implementation to follow

Reviewed-by: alanb, chegar, lancea
2013-02-04 11:58:43 -08:00
Vinnie Ryan
ddbfa5fe53 8006994: Cleanup PKCS12 tests to ensure streams get closed
Reviewed-by: mullan
2013-02-04 17:20:26 +00:00
Chris Hegarty
b61bb15030 8007322: untangle ftp protocol from general networking URL tests
Reviewed-by: alanb
2013-02-02 17:15:13 +00:00
Andrew Brygin
01ea5d17ec 8004801: The image of BufferedImage.TYPE_INT_ARGB is blank
Reviewed-by: prr
2013-02-01 20:06:27 +04:00
Chris Hegarty
d0830009e8 8006395: Race in async socket close on Linux
Reviewed-by: alanb, dsamersoff
2013-02-01 06:51:37 +00:00
Brian Burkhalter
f7f0768c22 6355704: (fmt) %f formatting of BigDecimals is incorrect
Reviewed-by: darcy
2013-01-31 14:29:19 -08:00
Lana Steuck
15cde403c4 Merge 2013-01-31 14:10:14 -08:00
Xueming Shen
320ce960ce 8007298: Base64.getMimeDecoder().decode() throws IAE for a single non-base64 character
8006526: Base64.Decoder.decode(String) spec contains a copy-paste mistake

To ignore single non-base64 char in mime decoding

Reviewed-by: alanb
2013-01-31 13:13:14 -08:00
Joe Darcy
757d9cdeb9 8007115: Refactor regression tests for java.lang.reflect.Parameter
Reviewed-by: emc
2013-01-31 12:23:04 -08:00
Xueming Shen
907f0724ce 8005394: Base64.Decoder/Encoder.wrap(XStream) don't throw NPE for null args passed
To check null for dec/enc.wrap methods

Reviewed-by: alanb
2013-01-31 11:09:36 -08:00
David Buck
b3fa7187ae 7042126: (alt-rt) HashMap.clone implementation should be re-examined
Test case for cr7042126. Issue only found in OracleJDK, but test case is valid for OpenJDK as well

Reviewed-by: mduigou
2013-01-31 10:55:15 -08:00
Lana Steuck
40c0ad3990 Merge 2013-01-31 10:22:25 -08:00
Joel Borggrén-Franck
34e1726860 8005712: Simplify support for repeating annotations in j.l.r.AnnotatedElement
8004919: AnnotationSupport uses possibly half-constructed AnnotationType instances

Implements the simplified semantics for repeating annotations and removes the incorrect obtaining of an AnnotationType

Reviewed-by: darcy, abuckley
2013-01-31 10:10:34 +01:00
Lana Steuck
58717e9087 Merge 2013-01-29 20:19:48 -08:00
Joel Borggrén-Franck
b29b479461 8004698: Implement Core Reflection for Type Annotations
Reviewed-by: darcy
2013-01-29 10:32:49 +01:00
Sergey Malenkov
6d5f0df029 8005138: test/java/beans/Introspector/TestTypeResolver.java fails
Reviewed-by: alexsch
2013-01-24 17:57:02 +04:00
Sergey Bylokhov
2c1808e68d 8003173: [macosx] Fullscreen on Mac leaves an empty rectangle
Reviewed-by: anthony, alexsch
2013-01-24 17:50:03 +04:00
Akhil Arora
5dc4c11b2b 8004201: Add static utility methods to primitives to be used for redution operations
Reviewed-by: darcy, mduigou, briangoetz, dholmes
2013-01-25 16:13:39 -08:00
Henry Jen
293df92991 8005632: Extend java.util.Logger to use Supplier<String> for messages
Reviewed-by: briangoetz, mduigou
2013-01-25 16:13:32 -08:00
Vinnie Ryan
3727e751f6 8006855: PKCS12 test failures due to unsupported algorithm
Reviewed-by: mullan
2013-01-24 16:44:15 +00:00
Vinnie Ryan
7dcd0b38a8 8006591: Protect keystore entries using stronger PBE algorithms
Reviewed-by: mullan
2013-01-23 21:25:49 +00:00
Xueming Shen
60e625f275 Merge 2013-01-23 10:31:10 -08:00
Xueming Shen
c3343fdb49 8006773: test/java/util/zip/ZipFile/FinalizeZipFile.java failing intermittently
Fixed the test case

Reviewed-by: alanb
2013-01-23 10:29:50 -08:00
Rob McKenna
6c5679d418 8004729: Add java.lang.reflect.Parameter and related changes for parameter reflection
Reviewed-by: darcy, forax, psandoz, dholmes, tbell
2013-01-23 17:54:34 +00:00
Stephen Colebourne
df4d235c1f 8003680: JSR 310 Date/Time API
Integration of JSR310 Date/Time API for M6

Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Richard Warburton <richard.warburton@gmail.com>
Co-authored-by: Michael Nascimento <misterm@gmail.com>
Reviewed-by: alanb, naoto, dholmes
2013-01-22 20:59:21 -08:00
Stuart Marks
54752a2afe 8005646: TEST_BUG: java/rmi/activation/ActivationSystem/unregisterGroup/UnregisterGroup leaves process running
Reviewed-by: mchung
2013-01-22 18:30:49 -08:00
Stefan Karlsson
15d98b74e9 7140852: Add test for 7022100
Reviewed-by: sspitsyn, coleenp
2013-01-22 15:25:37 +01:00
Stefan Karlsson
fe173efccd 8006506: Add test for redefining methods in backtraces to java/lang/instrument tests
Reviewed-by: sspitsyn, coleenp
2013-01-22 13:53:53 +01:00
Alan Bateman
a23a1a942b 8004502: Compact Profiles contents
Reviewed-by: dholmes, mchung
2013-01-21 23:35:36 -05:00
Alan Bateman
3ca765dfbd 8004931: add/removePropertyChangeListener should not exist in subset Profiles of Java SE
Reviewed-by: dholmes, mchung, ksrini
2013-01-21 23:23:12 -05:00
Alan Bateman
99f3285106 8003255: (profiles) Update JAR file specification to support profiles
Reviewed-by: dholmes, mchung, ksrini
2013-01-21 23:20:42 -05:00
Doug Lea
3f14786363 8005311: Add Scalable Updatable Variables, DoubleAccumulator, DoubleAdder, LongAccumulator, LongAdder
Reviewed-by: chegar, darcy, goetz
2013-01-21 13:50:05 +00:00
Masayoshi Okutsu
6bc0d6d200 8004489: Add support for Minguo and Hijrah calendars to CalendarNameProvider SPI
8006509: Add more calendar symbol names from CLDR

Reviewed-by: peytoia
2013-01-21 15:41:30 +09:00
Masayoshi Okutsu
f9d0dd3d72 4745761: (cal) RFE: Support builder for constructing Calendar
Reviewed-by: peytoia
2013-01-21 12:04:55 +09:00
Chris Hegarty
6b32c387f1 8006560: java/net/ipv6tests/B6521014.java fails intermittently
Reviewed-by: khazra, wetmore
2013-01-20 09:37:51 +00:00
Alan Bateman
69b0c6aad4 6939260: (fs) BasicFileAttributes.lastModifiedTime() should return last modified time with higher precision
Reviewed-by: chegar
2013-01-18 18:48:44 +00:00
Jim Gish
a7f43eaad5 8006534: CLONE - TestLibrary.getUnusedRandomPort() fails intermittently-doesn't retry enough times
Increase number of retries to twice the number of ports in the reserved range

Reviewed-by: mduigou
2013-01-17 15:09:46 -05:00
Kurchi Subhra Hazra
8f2bd71dc9 7171415: java.net.URI.equals/hashCode not consistent for some URIs
Rewrite URI.hashCode() to consider encoded characters, also reviewed by vitalyd@gmail.com, schlosna@gmail.com

Reviewed-by: chegar
2013-01-17 14:50:02 -08:00
Lana Steuck
270d599981 Merge 2013-01-16 15:57:25 -08:00
Rob McKenna
bdca3e8f8c 8005618: TEST_BUG: java/lang/ProcessBuilder/Basic.java failing intermittently
Reviewed-by: alanb, martin, dholmes
2013-01-15 19:58:22 +00:00
Alexander Scherbatiy
97013ba028 8003978: closed/javax/swing/JRootPane/bug4670486.java fails since jdk7u12b01 on macosx
Reviewed-by: serb, leonidr
2013-01-15 12:49:03 +04:00
Naoto Sato
9fa2377054 7162007: Clean up i18n related caches
Reviewed-by: okutsu, ohair
2013-01-14 11:09:53 -08:00
Olivier Lagneau
546e2eb164 7131459: [Fmt-De] DecimalFormat produces wrong format() results when close to a tie
Reviewed-by: darcy
2013-01-11 15:39:08 -08:00
Alan Bateman
c12b624078 8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
Reviewed-by: chegar
2013-01-11 20:19:55 +00:00
Alan Bateman
36e2ef2ba8 8005566: (fs) test/java/nio/file/Files/Misc.java failing (sol)
Reviewed-by: chegar
2013-01-11 12:27:57 +00:00
Joe Darcy
3dfc6b7512 8006062: Add @Repeatable to repeating annotations regression tests in JDK repo
Reviewed-by: jjg
2013-01-10 21:12:27 -08:00
Mandy Chung
3243aaf47a 8005615: Java Logger fails to load tomcat logger implementation (JULI)
Reviewed-by: alanb, ahgross
2013-01-10 19:43:36 -08:00
Jim Gish
5c5820e950 8005582: java/lang/Runtime/exec/WinCommand.java intermittent test failures
Remove file-deletion code at cleanup which conflicts with jtreg cleanup

Reviewed-by: chegar
2013-01-10 15:09:45 -05:00
Brent Christian
f7eb6cd556 8005962: TEST_BUG: java/util/Properties/MacJNUEncoding can fail in certain environments
Test script now sets LC_ALL, other small changes, relocate test

Reviewed-by: naoto, alanb
2013-01-10 10:21:44 -08:00
Sean Mullan
86b40c8697 Merge 2013-01-09 08:59:58 -05:00
Sean Mullan
d01edb0815 Merge 2013-01-08 19:02:55 -05:00
Sean Mullan
b492dc9bac 7019834: Eliminate dependency from PolicyFile to com.sun.security.auth.PrincipalComparator
Add new java.security.Principal.implies method

Reviewed-by: alanb
2013-01-08 19:00:12 -05:00
Dan Xu
6cc211f4e1 8002306: (se) Selector.open fails if invoked with thread interrupt status set [win]
Reviewed-by: alanb
2013-01-08 20:37:27 +00:00
Stuart Marks
f660de4e1e 7187882: TEST_BUG: java/rmi/activation/checkusage/CheckUsage.java fails intermittently
Tighten up JavaVM test library API, and adjust tests to match.

Reviewed-by: mchung, dmocek
2013-01-07 18:09:07 -08:00
Brent Christian
b21bc8e16d 8003228: (props) sun.jnu.encoding should be set to UTF-8 [macosx]
Hard-code sun.jnu.encoding to UTF-8 on Mac

Reviewed-by: naoto
2013-01-07 13:19:03 -08:00
Lana Steuck
b7af263526 Merge 2012-12-28 18:36:41 -08:00
Lana Steuck
177206a185 Merge 2012-12-28 18:30:56 -08:00
Lana Steuck
33a20f586c Merge 2013-01-01 17:49:22 -08:00
Chris Hegarty
c2f4000a6f 8005556: java/net/Socks/SocksV4Test.java is missing @run tag
Reviewed-by: alanb
2012-12-29 11:00:15 +00:00
Xue-Lei Andrew Fan
6d41a58c82 7109274: Restrict the use of certificates with RSA keys less than 1024 bits
This restriction is applied via the Java Security property, "jdk.certpath.disabledAlgorithms". This will impact providers that adhere to this security property.

Reviewed-by: mullan
2012-12-28 00:48:12 -08:00
Yuka Kamiya
ada3653e48 8005277: Regression in JDK 7 in Bidi implementation
Reviewed-by: okutsu
2012-12-28 15:07:08 +09:00
Masayoshi Okutsu
12ae00bd7d 8005471: DateFormat: Time zone info is not localized when adapter is CLDR
Reviewed-by: peytoia
2012-12-28 14:13:10 +09:00
Chris Hegarty
d2bce7f267 8003981: Support Parallel Array Sorting - JEP 103
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: chegar, forax, dholmes, dl
2012-12-27 21:55:24 +00:00
Yong Jeffrey Huang
2185318b56 Merge 2012-12-23 19:11:15 -08:00
Joe Wang
7dd77a4b62 8005280: (props) Improve test coverage for small XML parser
Added a few more invalid XML files, international characters to LoadAndStore test, and a behavior compatibility test.

Reviewed-by: alanb, lancea
2012-12-21 17:29:23 -08:00
Stuart Marks
1fd4da4d29 8005290: remove -showversion from RMI test library subprocess mechanism
Reviewed-by: jgish, chegar, dmocek
2012-12-20 20:11:45 -08:00
Yong Jeffrey Huang
06be28ce8d 7195759: ISO 4217 Amendment 154
Reviewed-by: naoto
2012-12-20 18:53:46 -08:00
David Katleman
306cab1006 8004982: JDK8 source with GPL header errors
Reviewed-by: ohair
2012-12-20 16:24:50 -08:00
Alan Bateman
50185a4371 8005281: (props) loadFromXML/storeToXML with small parser is not thread safe
Reviewed-by: mchung
2012-12-20 20:40:04 +00:00
Stuart Marks
d4eb039764 8001040: Rework RMI model
Reviewed-by: alanb, ahgross, coffeys, dmocek
2013-02-27 14:17:05 -08:00
Alan Bateman
4ce906db2b 8005248: (props) Integrate small footprint parser into Properties
Reviewed-by: joehw, mchung, psandoz, erikj
2012-12-19 14:53:33 +00:00
Lana Steuck
5c4f1d7778 Merge 2012-12-18 16:14:59 -08:00
Joe Darcy
407aefdc02 8005042: Add Method.isDefault to core reflection
Reviewed-by: alanb, forax, mduigou, jgish, mchung
2012-12-18 14:44:13 -08:00
Chris Hegarty
00802749ea 8005081: java/util/prefs/PrefsSpi.sh fails on macos-x
Reviewed-by: alanb
2012-12-17 16:27:05 +00:00
Sergey Malenkov
aed660dc95 8005065: [findbugs] reference to mutable array in JavaBeans
Reviewed-by: alexsch
2012-12-17 16:58:56 +04:00
Alexey Utkin
c5c34df7bf 8004928: TEST_BUG: Reduce dependence of CoreLib tests from the AWT subsystem
The tests were refactored to drop AWT dependence where it was possible.

Reviewed-by: alanb, mchung
2012-12-17 14:34:37 +04:00
Lana Steuck
166cf4fbc1 Merge 2012-12-16 22:09:28 -08:00
Lana Steuck
0118983407 Merge 2012-12-14 13:14:33 -08:00
Rob McKenna
7524cd99c1 8000525: Java.net.httpcookie api does not support 2-digit year format
Reviewed-by: chegar
2012-12-13 15:28:40 +00:00
Mark Sheppard
c9063f559f 8003890: corelibs test scripts should pass TESTVMOPTS
Reviewed-by: chegar, alanb
2012-12-13 14:47:35 +00:00
Chris Hegarty
453bef09b0 8004675: Inet6Address.getHostAddress should use string scope identifier where available
...and some minor stylistic cleanup

Reviewed-by: khazra, dsamersoff, michaelm
2012-12-13 14:33:32 +00:00
Chris Hegarty
2f8cd2937d 8004925: java/net/Socks/SocksV4Test.java failing on all platforms
Reviewed-by: alanb, dsamersoff
2012-12-13 09:55:55 +00:00
Jim Gish
3e23931d0c 8004651: TEST: java/util/logging/CheckLockLocationTest.java failed to delete file (win)
Failure to delete test log file should be a warning instead of test failure

Reviewed-by: mduigou, smarks
2012-12-12 15:37:27 -08:00
Stuart Marks
38887c7167 8004748: clean up @build tags in RMI tests
Reviewed-by: alanb, darcy, mchung
2012-12-12 09:53:01 -08:00
Mike Duigou
20d79bf440 8004905: Correct license of test to remove classpath exception
Reviewed-by: akhil
2012-12-11 20:49:44 -08:00
Akhil Arora
ee1832fd74 8003246: Add InitialValue Supplier to ThreadLocal
Reviewed-by: mduigou, forax, dl, chegar, briangoetz
2012-12-11 15:33:16 -08:00
Masayoshi Okutsu
78a8ed73a2 8000983: Support narrow display names for calendar fields
8003267: Support generic time zone names in TimeZoneNameProvider (SPI)

Reviewed-by: naoto
2012-12-10 10:52:11 +09:00
Robert Field
846f0f2ded 8003881: Prevent lambda implementing inner classes from allowing the creation of new instances
Lambda implementing inner classes now has private constructor (thanks Kumar)

Reviewed-by: ksrini
2012-12-06 21:55:55 -08:00
Jim Gish
aab1dbdc30 8004317: TestLibrary.getUnusedRandomPort() fails intermittently, but exception not reported
Reviewed-by: alanb, dmocek, smarks
2012-12-05 21:08:14 -08:00
Edvard Wendelin
f92370665e Merge 2013-02-03 23:25:38 +01:00
Jim Gish
f436d23492 8003596: TEST_BUG: java/util/logging/CheckLockLocationTest.java failing [win]
Reviewed-by: alanb
2012-12-04 20:21:19 +00:00
Lana Steuck
0e089aadcd Merge 2012-12-04 11:46:27 -08:00
Krystal Mo
e6ab16c283 8004066: TEST_BUG: test/java/lang/Math/DivModTests.java assumes ArithmeticException message
Reviewed-by: twisti, alanb, dholmes
2012-12-04 15:10:03 +00:00
Alan Bateman
d2d5213b87 8003846: Override mechanism for currency data should not require creating currency.properties in java.home
Reviewed-by: naoto
2012-12-02 16:37:31 +00:00
Xueming Shen
e78a1eb083 8004212: java.util.Base64 methods decodeArray and decodeBuffer should return the number of bytes written
To return the length instead of position

Reviewed-by: alanb
2012-12-01 11:36:25 -08:00
Lana Steuck
76863b84de Merge 2012-11-30 17:09:05 -08:00
Lana Steuck
351dbc4683 Merge 2012-11-30 16:33:50 -08:00
Kurchi Subhra Hazra
d7cae9afff 7197662: (prefs) java/util/prefs/AddNodeChangeListener.java fails by timeout or by "couldn't get file lock"
Set -Djava.util.prefs.userRoot to current working directory of user in the prefs tests

Reviewed-by: alanb, chegar, weijun, dxu
2012-11-30 12:00:07 -08:00
Staffan Larsen
c1126e3727 7155168: java/util/TimeZone/Bug6912560.java: expected Asia/Tokyo
Reviewed-by: okutsu
2012-11-30 08:17:02 +01:00
Jim Gish
7aed72aa11 8003380: Compiler warnings in logging test code
Use generics, suppress warnings where appropriate, remove unused imports, etc.

Reviewed-by: lancea, chegar
2012-11-29 12:28:02 +00:00
Joel Borggrén-Franck
36464f41e2 7154390: Add support for repeating annotations in j.l.r.AnnotatedElement
Reviewed-by: darcy
2012-11-28 09:21:37 -08:00
Xueming Shen
ff1d49bc5b 8004088: hg push for bug#4235519 failed to push all files
Pushed all base64 files

Reviewed-by: alanb, mduigou
2012-11-27 22:07:11 -08:00
Rob McKenna
f0bbdd0834 8003597: TEST_BUG: Eliminate dependency on javaweb from closed net tests
Reviewed-by: chegar
2012-11-28 00:47:38 +00:00
Chris Hegarty
24fde021e4 8003833: Spurious NPE from Socket.getIn/OutputStream
Reviewed-by: alanb, dsamersoff
2012-11-27 17:15:19 +00:00
Sergey Bylokhov
bfc0bfcd8e 8002308: [macosx] 7198229 should be applied to the user action only
Reviewed-by: anthony, skovatch
2012-11-27 17:03:19 +04:00
Sean Mullan
033919cce4 Merge 2012-11-26 08:34:25 -05:00
Sean Mullan
3f59d3882d Merge 2012-11-26 08:23:20 -05:00
Sean Mullan
c9b91fa45a 7167056: Clarify that BasicPermission names that contain non-wildcard asterisks are not invalid
Reviewed-by: weijun, xuelei
2012-11-26 08:12:19 -05:00
Alexey Utkin
d869bfa179 7162111: TEST_BUG: change tests run in headless mode [macosx] (open)
In problem tests detection of AWT headless mode was introduced or AWT dependence was removed.

Reviewed-by: alanb
2012-11-26 15:54:39 +04:00
David Buck
df3c665be3 7198904: (alt-rt) TreeMap.clone is broken
Test case for cr7198904. Issue only found in OracleJDK, but test case is valid for OpenJDK as well

Reviewed-by: mduigou, dholmes
2012-11-20 21:35:18 -08:00
Lana Steuck
822139baf8 Merge 2012-11-20 11:49:27 -08:00
Sergey Malenkov
f19ad0fb5b 8003333: Regression: java/beans/EventHandler/Test6277266.java fails with ACE
Reviewed-by: art
2012-11-20 18:56:01 +04:00
Darryl Mocek
52caa8646b 6563318: RMI data sanitization
Reviewed-by: ahgross, hawtin, mchung, smarks
2012-11-19 13:54:12 -08:00
Naoto Sato
6c62e2d0f1 7199750: Loading sequence of service provider is changed
Reviewed-by: okutsu
2012-11-15 20:17:05 -08:00
Jim Gish
f439018255 6244047: impossible to specify directories to logging FileHandler unless they exist
Reviewed-by: alanb
2012-11-15 13:46:45 +00:00
Alan Bateman
8c308db579 8003285: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Unbounded.java fails again [macosx]
Reviewed-by: chegar
2012-11-14 12:56:26 +00:00
Mike Duigou
96aa3fad5a 7088913: Add compatible static hashCode(primitive) to primitive wrapper classes
Adds static utility methods to each primitive wrapper class to allow calculation of a hashCode value from an unboxed primitive.

Reviewed-by: darcy, smarks, dholmes
2012-11-13 20:02:48 -08:00
Masayoshi Okutsu
aaa52056e9 8000986: Split java.util.spi.CalendarDataProvider into week parameters and field names portions
Reviewed-by: naoto
2012-11-12 11:12:29 +09:00
Alan Bateman
86d36e5d55 8003253: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Unbounded.java hang intermittently [win]
Reviewed-by: chegar
2012-11-11 10:05:37 +00:00
Roger Riggs
5d67e2bbb1 6282196: There should be Math.mod(number, modulo) methods
Added the requested methods

Reviewed-by: darcy, emcmanus, alanb
2012-11-07 20:50:09 -08:00
Naoto Sato
bb434e94b4 8001205: Calendar.getDisplayName(...): Returns null when provider is SPI but there is no SPI implementation
8001562: Collator.getAvailableLocales() doesn't return all locales for which localized instances are available

Reviewed-by: okutsu
2012-11-07 15:08:28 -08:00
Chris Hegarty
90f2168fa2 7201071: InetSocketAddress serialization issue
Reviewed-by: alanb, michaelm, skoivu
2012-11-07 14:26:41 +00:00
Daniel Fuchs
f2eac8a30a 6720349: (ch) Channels tests depending on hosts inside Sun
This changeset make the nio tests start small TCP or UDP servers from within the tests, instead of relying on external services.

Reviewed-by: alanb
2012-11-07 13:24:39 +01:00
Lana Steuck
cae6890e31 Merge 2012-11-06 18:41:01 -08:00
Yuka Kamiya
81afea6146 7198195: Support Unicode 6.2.0
Reviewed-by: okutsu
2012-11-07 09:58:39 +09:00
Jiangli Zhou
f3e4fda6ed 7197210: java/lang/invoke/CallSiteTest.java failing on armsflt
Reduce work load and set longer timeout for java/lang/invoke tests.

Reviewed-by: kvn, twisti
2012-11-05 12:51:14 -05:00
Sean Mullan
4e6425e134 Merge 2012-11-05 12:08:04 -05:00
Sean Mullan
4cae4b0457 Merge 2012-11-05 10:33:18 -05:00
Sean Mullan
5b23307a8f 7171570: JEP 124 Potential API Changes
Reviewed-by: vinnie, xuelei
2012-11-05 10:30:49 -05:00
Alan Bateman
f2aa8d9df9 8000330: (fc) FileChannel.truncate issues when given size > file size
8002180: (fc) FileChannel.map does not throw NPE if MapMode specified as null

Reviewed-by: chegar
2012-11-04 14:07:35 +00:00
Lana Steuck
4a88c62d44 Merge 2012-11-02 17:44:31 -07:00
Mandy Chung
d3ccd20d1f 7197546: (proxy) Reflect about creating reflective proxies
Reviewed-by: alanb, jdn, jrose
2012-11-02 16:50:23 -07:00
Alan Bateman
430592a30e 7197491: update copyright year to match last edit in jdk8 jdk repository
Reviewed-by: chegar, ksrini
2012-11-02 15:50:11 +00:00
Yuka Kamiya
38087c7a48 8001209: Evaluate findbugs reprot for java.text.ChoiceFormat
Reviewed-by: okutsu
2012-11-02 23:17:33 +09:00
Naoto Sato
799007c62d 8001440: CLDR adapter: Invalid number extension in language tag causes exception in NumberFormat.format()
Reviewed-by: okutsu
2012-11-01 13:28:47 -07:00
Lana Steuck
9faa8df101 Merge 2012-10-31 09:25:20 -07:00
Lana Steuck
bbf2d20d03 Merge 2012-10-31 08:29:44 -07:00
Konstantin Shefov
85947c2f2c 7072120: No mac os x support in several regression tests
Reviewed-by: anthony, serb
2012-10-30 12:47:35 +01:00
Jim Gish
a865f8b91a 6206780: (str) Forwarding append methods in String{Buffer,Builder} are inconsistent
Update StringBuilder & StringBuffer to consistently handle forwarding to AbstractStringBuilder. Some additional cleanup (removal of refs to sub-classes from AbstractStringBuilder)

Reviewed-by: chegar, alanb, mduigou
2012-10-29 16:51:59 -07:00
Naoto Sato
1203231cf9 8000997: Multiple locale sensitive services cannot be loaded
Reviewed-by: okutsu
2012-10-29 10:42:41 -07:00
Abhijit Saha
1cb7e050ff Merge 2012-10-26 10:01:13 -07:00
Lana Steuck
b8265239b8 Merge 2012-10-25 20:32:10 -07:00
Jim Gish
07f94ef8bc 7159567: inconsistent configuration of MemoryHandler
Reviewed-by: mchung, alanb
2012-10-25 15:04:09 -07:00
Lana Steuck
736ab82961 Merge 2012-10-23 11:29:53 -07:00
Lana Steuck
4048bc01c6 Merge 2012-10-23 09:41:52 -07:00
Christian Thalinger
c915e9da09 6771058: TEST_BUG: java/lang/ref/Basic.java may fail with -server -Xcomp
Reviewed-by: dholmes, mchung
2012-10-22 14:22:30 -07:00
Christian Thalinger
01d0ba69ce 8000989: smaller code changes to make future JSR 292 backports easier
Reviewed-by: jrose
2012-10-19 17:04:35 -07:00
Sergey Bylokhov
b61d0d9772 7124520: [macosx] re:6373505 Toolkit.getScreenResolution() != GraphicsConfiguration.getNormalizingTransform()
Reviewed-by: anthony, kizune
2012-10-19 15:23:14 +04:00
Abhijit Saha
d66bdb868d Merge 2012-10-18 22:01:26 -07:00
Naoto Sato
1fb9910146 8001046: java/util/PluggableLocale/LocaleNameProviderTest.sh failing
Reviewed-by: okutsu
2012-10-17 13:22:39 -07:00
Paul Sandoz
9498132479 7198496: (sl) ServiceLoader.load(Class, null) behavior differs from spec
Reviewed-by: dholmes, alanb
2012-10-17 20:34:04 +01:00
Neil Richards
a76d98e716 8000955: Hashtable.Entry.hashCode() does not conform to Map.Entry.hashCode() defined behaviour
Reviewed-by: mduigou, alanb
2012-10-17 13:35:22 +01:00
Alan Bateman
ed656de70f 8000685: (props) Properties.storeToXML/loadFromXML should only require UTF-8 and UTF-16 to be supported
Reviewed-by: mchung, chegar
2012-10-17 11:43:56 +01:00
Kurchi Subhra Hazra
56e63d98b9 7198073: (prefs) user prefs not saved [macosx]
Using class member field to get node instead of argument

Reviewed-by: alanb
2012-10-16 15:23:17 -07:00
Naoto Sato
2647f75cdd 8000245: SimpleDateFormat.format(date, StringBuffer, FieldPosition) doesn't work as expected with custom extensions
8000273: java.util.Locale.getDisplayVariant(Locale l) isn't transferred to the custom service provider
8000615: JRE adapter: timezone name of en_US is changed when extension directory is added

Reviewed-by: okutsu
2012-10-16 10:59:21 -07:00
Mikhail Cherkasov
1fd51fa05e 6818083: When DISPLAY is bad, InternalError thrown, not AWTError
Throw AWTError instead of InternalError if the DISPLAY is bad

Reviewed-by: anthony, serb
2012-10-16 20:11:19 +04:00
Rob McKenna
2dca3dc06b 8000817: Reinstate accidentally removed sleep() from ProcessBuilder/Basic.java
Reviewed-by: alanb, martin
2012-10-15 03:26:11 +01:00
Jim Gish
48ba63e9e0 7146552: java/util/logging/LoggingMXBeanTest.java failing intermittently
Reviewed-by: alanb, mchung
2012-10-13 10:15:57 +01:00
Lana Steuck
3567fc5460 Merge 2012-10-12 14:52:24 -07:00
Lana Steuck
22b345adc6 Merge 2012-10-12 14:47:26 -07:00
Konstantin Shefov
2cae43552d 7184326: TEST_BUG: java/awt/Frame/7024749/bug7024749.java has a typo
Reviewed-by: anthony
2012-10-12 18:46:15 +04:00
Rob McKenna
7b940bac40 7152183: TEST_BUG: java/lang/ProcessBuilder/Basic.java failing intermittently [sol]
Reviewed-by: alanb, martin, dholmes
2012-10-11 18:24:38 +01:00
Dan Xu
6e283062c6 7186817: Remove Windows 95/98/ME Support
Reviewed-by: alanb
2012-10-11 11:47:05 +01:00
Abhijit Saha
93e31619c4 Merge 2012-10-10 14:31:07 -07:00
Sean Coffey
23b1ff04af 7181793: Socket getOutputStream create streams that cannot be GC'ed until Socket is closed
Reviewed-by: alanb, chegar
2012-10-09 19:45:17 +01:00
Naoto Sato
04816adee5 7200341: DateFormatSymbols.hashCode() throws ArrayIndexOutOfBoundsException in some circumstances
Reviewed-by: okutsu
2012-10-09 09:59:05 -07:00
Lana Steuck
703702096b Merge 2012-10-08 15:39:33 -07:00
Alan Bateman
18688c3a56 8000354: (props) Properties.storeToXML/loadFromXML need to allow for alternative implementations
Reviewed-by: mchung, forax
2012-10-06 13:56:16 +01:00
Naoto Sato
eeac68872b 7198834: HOST Adapter: one extra empty space in the end of the pattern string
Reviewed-by: okutsu
2012-10-05 09:57:50 -07:00
Naoto Sato
0dcbdaafba Merge 2012-10-04 21:05:06 -07:00
Naoto Sato
efea116274 7200119: Collator.getAvailableLocales() doesn't return Locale.US
Reviewed-by: okutsu
2012-10-04 21:03:36 -07:00
Rob McKenna
2102c5a5b6 7184932: Remove the temporary Selector usage in the NIO socket adapters
Reviewed-by: alanb
2012-10-04 19:53:08 +01:00
Naoto Sato
3caba25f6b 7196799: CLDR adapter can not be invoked when region code is specified in Locale
7197573: java/util/Locale/LocaleProviders.sh failed

Reviewed-by: okutsu
2012-10-04 10:04:56 -07:00
Yuka Kamiya
64b949310f 7196316: Wrong rounding mode in DecimalFormat after deserialization
Reviewed-by: okutsu
2012-10-04 11:36:22 +09:00
Oleg Pekhovskiy
ebff918cc7 7171412: awt Choice doesn't fire ItemStateChange when selecting item after select() call
Reviewed-by: art, denis
2012-10-03 21:01:47 +04:00
Yuka Kamiya
c3026d4a59 7104012: AIOOBE from RuleBasedBreakIterator.lookupState for some suppl. chars
Reviewed-by: okutsu
2012-10-03 15:11:28 +09:00
Paul Sandoz
25c830b9d5 7197642: (sl) ServiceLoader.load(null) doesn't throw NPE
Reviewed-by: alanb
2012-10-02 10:36:05 +01:00
Olivier Lagneau
b6ea800f9b 7050528: Improve performance of java.text.DecimalFormat.format() call stack
Reviewed-by: darcy
2012-10-02 10:11:57 +01:00
Lana Steuck
4156261cf3 Merge 2012-09-28 14:56:38 -07:00
Lana Steuck
9c0a331d78 Merge 2012-09-28 10:54:12 -07:00
Dan Xu
f41a30cb5c 6950237: Test java/nio/file/Path/CopyAndMove.java does not work correctly when test dir in on VFAT
Reviewed-by: alanb
2012-09-28 11:14:20 +01:00
Yuka Kamiya
5a3a2dc308 7069824: Support for BCP47 locale matching
Reviewed-by: naoto, okutsu
2012-09-28 14:14:26 +09:00
Alan Bateman
903c4c0c7f 7200742: (se) Selector.select does not block when starting Coherence (sol)
Reviewed-by: chegar
2012-09-27 10:30:56 +01:00
Alexander Scherbatiy
8bb2411d34 7124515: [macosx] Test fail like 6366126 (ArrayIndexOutOfBoundException pressing ENTER after removing items)
Reviewed-by: serb, anthony
2012-09-26 18:59:12 +04:00
Abhijit Saha
7bd671250d Merge 2012-09-25 11:48:00 -07:00
Sergey Bylokhov
08c6d03264 7160627: [macosx] TextArea has wrong initial size
7124213: [macosx] pack() does ignore size of a component; doesn't on the other platforms

Reviewed-by: anthony, art
2012-09-24 21:33:41 +04:00
Alan Bateman
360754471c 7199551: (bf) CharBuffer.append(CharSequence) throws BufferOverflowException for read-only buffer
Reviewed-by: iris, dxu, chegar
2012-09-21 15:39:10 +01:00
Alexander Scherbatiy
aca74a151c 7199180: [macosx] Dead keys handling for input methods
Reviewed-by: kizune, anthony
2012-09-21 13:48:06 +04:00
John R Rose
0a735e76f6 7196190: Improve method of handling MethodHandles
Bind callers to caller-sensitive methods.

Reviewed-by: twisti, jjh, vlivanov, ahgross
2012-09-20 14:02:55 -07:00
Lana Steuck
15bdd03998 Merge 2012-09-19 12:41:54 -07:00
Mike Duigou
1e3c417915 7199249: TEST_BUG : Add /othervm to Collisions.java @run main with -D definitions
Reviewed-by: alanb
2012-09-18 11:04:12 -07:00
Konstantin Shefov
67cc344382 7190587: Open source and jtreg'ify JAWT regression test
Reviewed-by: anthony, omajid
2012-09-18 17:38:40 +04:00
Dan Xu
cd25bf4b6e 7142919: TEST_BUG: java/nio/channels/AsyncCloseAndInterrupt.java failing intermittently [sol11]
Reviewed-by: alanb
2012-09-18 13:14:49 +01:00
Mike Duigou
25570f8d69 7198988: re-order paramaters for Collision.java @run
Reviewed-by: alanb
2012-09-17 11:36:10 -07:00
Weijun Wang
8e21ad5768 7198205: CloseTest fails on mac
Reviewed-by: alanb, chegar, michaelm
2012-09-17 17:19:50 +08:00
Lana Steuck
a60a81b964 Merge 2012-09-14 14:10:01 -07:00
Alexander Scherbatiy
8b54dc6ea9 7196547: [macosx] Implement dead key detection for KeyEvent
Reviewed-by: skovatch, kizune
2012-09-14 15:30:46 +04:00
Oleg Pekhovskiy
08a51f1378 7186109: Simplify lock machinery for PostEventQueue & EventQueue
Reviewed-by: art, anthony, dholmes
2012-09-13 19:53:13 +04:00
Mike Duigou
bb1c4324e9 7189926: Reduce test size for default run. Add additional run enabling alternative hashing
Reviewed-by: alanb
2012-09-11 07:42:02 -07:00
Lana Steuck
ebe7692e1d Merge 2012-09-14 10:14:02 -07:00
Mandy Chung
c6064021fd 7193302: Remove ConstructorProperties annotation from java.lang.management.LockInfo
Reviewed-by: alanb, sla, egahlin
2012-09-14 09:47:14 -07:00
Sergey Malenkov
c14183f376 7193977: REGRESSION:Java 7's JavaBeans persistence ignoring the "transient" flag on properties
Reviewed-by: rupashka
2012-09-11 10:58:39 +04:00
Sean Coffey
19e3f0756e 7180362: RFE: Implement date cutover functionality for currency.properties file
Reviewed-by: naoto
2012-09-07 21:22:37 +01:00
John Zavgren
8fbd047f8c 6354758: rename old test HttpServer classes
Reviewed-by: chegar, michaelm, khazra
2012-09-07 15:30:17 +01:00
Eric Wang
de965a866a 7032247: java/net/InetAddress/GetLocalHostWithSM.java fails if hostname resolves to loopback address
TESTBUG

Reviewed-by: chegar, alanb
2012-09-07 14:00:31 +01:00
Mikael Gerdin
cfefd5fc47 7195557: NPG: Unexpected number of memory pools
Update management tests to work with a VM without a permanent generation memory pool

Reviewed-by: rbackman, brutisso, sla, dholmes
2012-09-06 14:07:12 +02:00
Lana Steuck
a1878f7d14 Merge 2012-09-05 20:03:19 -07:00
Lana Steuck
2216719923 Merge 2012-09-05 17:33:52 -07:00
John Coomes
6ecb1dc545 Merge 2012-09-05 12:58:45 -07:00
Lana Steuck
9014f4ced0 Merge 2012-09-05 11:59:27 -07:00
Sergey Malenkov
2276a38632 7195106: REGRESSION : There is no way to get Icon inf, once Softreference is released
Reviewed-by: rupashka
2012-09-04 20:50:44 +04:00
Sergey Malenkov
25c0370a8b 7169395: Exception throws due to the changes in JDK 7 object tranversal and break backward compatibility
Reviewed-by: art
2012-09-04 13:12:16 +04:00
Anton Tarasov
67b1f9248b 6981400: Tabbing between textfield do not work properly when ALT+TAB
7157015: [macosx] Situation when KeyEventDispatcher doesn't work on AWT but does on Swing
7121442: Regression : Reopen CR 6458497 still reproducible using JDK 7

Reviewed-by: art, leonidr
2012-08-31 16:31:29 +04:00
Sergey Malenkov
7d367a5123 7186794: Setter not found. PropertyDescriptor(PropertyDescriptor,PropertyDescriptor)
Reviewed-by: rupashka
2012-08-31 14:49:23 +04:00
Sergey Malenkov
99bfc33cce 7192955: Introspector overide PropertyDescriptor for generic type field defined in super class
Reviewed-by: rupashka
2012-08-31 14:32:09 +04:00
Lana Steuck
047abf380a Merge 2012-08-30 20:16:07 -07:00
Chris Hegarty
84603e4d94 7189567: java net obselete protocol
Reviewed-by: alanb, ahgross
2012-08-29 14:05:37 +01:00
Christian Thalinger
e48b871bdc 7194662: JSR 292: PermuteArgsTest times out in nightly test runs
Reviewed-by: kvn
2012-08-28 14:57:43 -07:00
Lana Steuck
a0b3f023db Merge 2012-08-28 12:24:33 -07:00
Eric Wang
25c7724d6e 6962637: TEST_BUG: java/io/File/MaxPathLength.java may fail in busy system
Reviewed-by: dholmes, alanb
2012-08-28 11:12:46 +01:00
Jonathan Gibbons
e4326b6cc5 7194032: update tests for upcoming changes for jtreg
Reviewed-by: alanb, iris
2012-08-28 10:29:30 +01:00
Lana Steuck
1dc8f7d026 Merge 2012-08-27 11:48:09 -07:00
Lana Steuck
47b747e08c Merge 2012-08-27 10:58:40 -07:00
Anthony Petrov
ed711d4ca7 7160609: [macosx] JDK crash in libjvm.dylib ( C [GeForceGLDriver+0x675a] gldAttachDrawable+0x941)
Constrain window dimensions with screen bounds and GL_MAX_TEXTURE_SIZE

Reviewed-by: art, serb
2012-08-24 14:58:04 +04:00
Naoto Sato
73ff23b7f7 6336885: RFE: Locale Data Deployment Enhancements
4609153: Provide locale data for Indic locales
5104387: Support for gl_ES locale (galician language)
6337471: desktop/system locale preferences support
7056139: (cal) SPI support for locale-dependent Calendar parameters
7058206: Provide CalendarData SPI for week params and display field value names
7073852: Support multiple scripts for digits and decimal symbols per locale
7079560: [Fmt-Da] Context dependent month names support in SimpleDateFormat
7171324: getAvailableLocales() of locale sensitive services should return the actual availability of locales
7151414: (cal) Support calendar type identification
7168528: LocaleServiceProvider needs to be aware of Locale extensions
7171372: (cal) locale's default Calendar should be created if unknown calendar is specified

JEP 127: Improve Locale Data Packaging and Adopt Unicode CLDR Data (part 1 w/o packaging changes. by Naoto Sato and Masayoshi Okutsu)

Reviewed-by: erikj, sherman, peytoia
2012-08-21 11:00:30 -07:00
Shirish Kuncolienkar
ae25fd53b6 7132889: (se) AbstractSelectableChannel.register and configureBlocking not safe from asynchronous close
Reviewed-by: alanb
2012-08-21 13:42:08 +01:00
Rob McKenna
e81dadf112 7191777: test/java/lang/ProcessBuilder/Basic.java failing intermittently due to additions for 4244896
Reviewed-by: dholmes, alanb
2012-08-20 14:52:12 +01:00
Sergey Malenkov
b884fcc43d 7189112: java.beans.Introspector misses write methods
Reviewed-by: rupashka
2012-08-20 13:38:30 +04:00
Alan Bateman
edd2d4ce86 7191467: (fs) WatchService periodically fails to queue ENTRY_DELETE event for short lived file [sol11]
Reviewed-by: chegar
2012-08-19 13:29:01 +01:00
Alan Bateman
280b56b270 7192275: Minimize LogManager dependencies on java.beans
Reduce dependency to PropertyChangeListener and PropertyChangeEvent. Also add basic test coverage.

Reviewed-by: dcubed, dsamersoff, mchung
2012-08-19 13:03:00 +01:00
John R Rose
9d9d7877aa 7191102: nightly failures after JSR 292 lazy method handle update (round 3)
Reviewed-by: twisti, kvn
2012-08-17 13:42:25 -07:00
Daniel D. Daugherty
3be453e452 7191322: add test for 7064927 to java.lang.instrument
Add support for canRetransform attribute to the test manager. Add test for 7064927.

Reviewed-by: dsamersoff, sspitsyn, ohair
2012-08-17 12:51:23 -07:00
Eric Wang
6b186c1238 7132247: java/rmi/registry/readTest/readTest.sh failing with Cygwin
Reviewed-by: alanb
2012-08-16 14:35:26 +01:00
Rob McKenna
e892fb5b1d 6931128: (spec) File attribute tests fail when run as root
Reviewed-by: alanb
2012-08-15 22:46:35 +01:00
Christian Thalinger
eadc52ac6e Merge 2012-08-10 16:03:28 -07:00
Jonathan Lu
f349c3da24 7190219: (bf) CharBuffer.put(String,int,int) modifies position even if BufferOverflowException thrown
Reviewed-by: alanb
2012-08-13 19:51:48 +08:00
Christian Schulte
d947b5d95a 7188755: Crash due to missing synchronization on gconf_client in DefaultProxySelector.c
Reviewed-by: chegar
2012-08-12 22:56:45 +01:00
Xueming Shen
ff93896a39 7189363: Regex Pattern compilation buggy for special sequences
Fixed the incorrect implementation in expr(...)

Reviewed-by: psandoz, alanb
2012-08-09 10:15:26 -07:00
Amy Lu
56779e429b 7189886: (aio) Add test coverage for AsynchronousChannelGroup.withThreadPool
Reviewed-by: alanb
2012-08-08 15:31:22 +01:00
Lana Steuck
7fd65168fe Merge 2012-08-07 20:23:41 -07:00
Eric Wang
3ba6a2dff8 7076644: TEST_BUG: test/java/io/File/Basic.java fails with cygwin
Reviewed-by: alanb
2012-08-07 12:47:45 +01:00
Lana Steuck
fe4e448bfa Merge 2012-07-31 18:38:38 -07:00
Xueming Shen
b5bee4c17e 7188852: Move implementation of De/Inflater.getBytesRead/Writtten() to java from native
Re-implemented getBytesRead/Writtten() at java level

Reviewed-by: andrew, alanb
2012-08-03 13:40:03 -07:00
Alexander Scherbatiy
26f36a5cd0 7184365: closed/java/awt/event/TextEvent/TextEventSequenceTest/TextEventSequenceTest fails
Reviewed-by: serb, bagiras
2012-07-30 14:31:01 +04:00
Sergey Malenkov
3851c96f71 7187618: PropertyDescriptor Performance Slow
Reviewed-by: rupashka
2012-07-30 13:35:10 +04:00
Dan Xu
f4ac5f7956 7185340: TEST_BUG: java/nio/channels/AsynchronousSocketChannel/Leaky.java failing intermittently [win]
Reviewed-by: alanb
2012-07-30 04:57:27 +01:00
Lana Steuck
565c89629e Merge 2012-07-27 22:39:44 -07:00
Lana Steuck
44ce09ba1f Merge 2012-07-27 22:26:19 -07:00
Darryl Mocek
1625e2019e 7186111: fix bugs in java/rmi/activation/ActivationSystem/unregisterGroup/UnregisterGroup
Reviewed-by: smarks, jgish
2012-07-27 16:53:15 -07:00
Denis Fokin
4852f8a995 7149068: java/awt/Window/Grab/GrabTest.java failed
Reviewed-by: art, ant
2012-07-27 19:41:24 +04:00
Xueming Shen
b9fa2e4fb9 6653797: Reimplement JDK charset repository charsets.jar
Migrated all jis based charsets to new implementation

Reviewed-by: okutsu
2012-07-24 12:17:39 -07:00
Christian Thalinger
360d512854 7023639: JSR 292 method handle invocation needs a fast path for compiled code
6984705: JSR 292 method handle creation should not go through JNI

Remove assembly code for JDK 7 chained method handles

Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Reviewed-by: jrose, twisti, mhaupt, forax
2012-07-24 10:47:44 -07:00
Alexander Scherbatiy
8007dfcd9b 7129800: [macosx] Regression test OverrideRedirectWindowActivationTest fails due to timing issue
Reviewed-by: rupashka
2012-07-24 16:26:05 +04:00
Sergey Malenkov
5f51412783 7183701: [TEST] closed/java/beans/security/TestClassFinder.java - compilation failed
Reviewed-by: rupashka
2012-07-31 21:01:56 +04:00
Alan Bateman
dad0499822 6633549: (dc) Include-mode filtering of IPv6 sources does not block datagrams on Linux
Reviewed-by: chegar
2012-07-22 20:32:12 +01:00
Xueming Shen
067447f6c6 7130915: File.equals does not give expected results when path contains Non-English characters on Mac OS X
To support Unicode nfd/nfc file path on Macos

Reviewed-by: alanb
2012-07-19 21:23:53 -07:00
Eric Wang
d74533b1eb 7081476: test/java/net/InetSocketAddress/B6469803.java failing intermittently
Reviewed-by: chegar
2012-07-19 18:19:04 +01:00
Lana Steuck
6a79c2b179 Merge 2012-07-18 16:09:35 -07:00
Lana Steuck
f30c450012 Merge 2012-07-18 16:07:45 -07:00
Michael McMahon
94f61c976b 7183292: HttpURLConnection.getHeaderFields() throws IllegalArgumentException: Illegal cookie name
Reviewed-by: khazra, chegar
2012-07-18 18:46:17 +01:00
Olivier Lagneau
c25dd16233 7142596: RMI JPRT tests are failing
Changed RMI tests to use random port numbers for the RMI Registry and RMID so the tests can be run concurrently without test failures due to tests using the same port numbers.

Reviewed-by: smarks, alanb
2012-07-17 11:01:44 -07:00
Lana Steuck
d515cd505a Merge 2012-07-16 17:04:32 -07:00
Lana Steuck
7222ea9529 Merge 2012-07-16 16:49:29 -07:00
Lana Steuck
80c6175a2a Merge 2012-07-16 14:49:27 -07:00
Kurchi Subhra Hazra
29739d16ee 7160252: (prefs) NodeAddedEvent was not delivered when new node add when new Node
Change native code to convey to Java code whether a new node was added

Reviewed-by: alanb, chegar
2012-07-13 16:02:26 -07:00
Phil Race
53cbbbb036 7183458: Metrics of space character in algorithmically emboldened font have changed in JDK 7
Reviewed-by: igor, jgodinez
2012-07-12 16:24:56 -07:00
John R Rose
b9299f283f 7129034: VM crash with a field setter method with a filterArguments
Add null checks before unsafe calls that take a variable base reference; update unit tests

Reviewed-by: kvn, twisti
2012-07-12 00:11:35 -07:00
Anthony Petrov
d91b2b6f6e 7177173: [macosx] JFrame.setExtendedState(JFrame.MAXIMIZED_BOTH) not working as expected in JDK 7
Avoid unnecessary changes to the extended state

Reviewed-by: art, serb
2012-07-06 14:20:27 +04:00
Eric Wang
b28493b31b 7123972: test/java/lang/annotation/loaderLeak/Main.java fails intermittently
Reviewed-by: dholmes, smarks
2012-07-05 15:13:45 -07:00
Eric Wang
48d5be1b33 6948101: java/rmi/transport/pinLastArguments/PinLastArguments.java failing intermittently
Reviewed-by: dholmes, smarks
2012-07-05 15:12:10 -07:00
Lana Steuck
eb5be70df0 Merge 2012-07-03 20:58:02 -07:00
Lana Steuck
db40815a4c Merge 2012-06-27 12:54:48 -07:00
Lana Steuck
b04008c963 Merge 2012-06-27 00:09:30 -07:00
Lana Steuck
771d931915 Merge 2012-06-26 22:59:26 -07:00
Doug Lea
45e1021238 7161229: PriorityBlockingQueue keeps hard reference to last removed element
Reviewed-by: dholmes, forax, alanb
2012-06-27 01:36:28 -04:00
Lana Steuck
e51eadc837 Merge 2012-06-26 10:57:46 -07:00
Oleg Pekhovskiy
9931c2f2b8 7024749: JDK7 b131---a crash in: Java_sun_awt_windows_ThemeReader_isGetThemeTransitionDurationDefined+0x75
Reviewed-by: art, ant
2012-06-26 16:46:00 +04:00
Rob McKenna
54ddaf5ab7 4244896: (process) Provide System.getPid(), System.killProcess(String pid)
Reviewed-by: alanb
2012-06-26 13:27:26 +01:00
Sergey Malenkov
386367a03f 7162476: XMLDecoder security issue via ClassFinder
Reviewed-by: art, ahgross
2012-06-19 20:34:06 +04:00
Masayoshi Okutsu
94a6496726 6380549: (rb) ResourceBundle.Control global binding support
Reviewed-by: naoto
2012-06-19 16:21:17 +09:00
Alan Bateman
83f975cf42 7177617: TEST_BUG: java/nio/channels/AsyncCloseAndInterrupt.java failing (win)
Reviewed-by: chegar, coffeys
2012-06-18 11:19:48 +01:00
Lana Steuck
d27529f4ab Merge 2012-06-17 21:34:42 -07:00
Mike Duigou
36dbbfde4b 7175758: Improve unit test of Map iterators and Iterator.remove()
Adds additional tests of Map iterators and Iterator.remove()

Reviewed-by: lancea
2012-06-15 13:01:38 -07:00
Sean Mullan
caae78ba73 Merge 2012-06-15 08:47:41 -04:00
Sean Mullan
6ad27831e0 7176326: CertPath/CertPathBuilderTest failures after webrev 6854712_6637288_7126011
Reviewed-by: xuelei
2012-06-15 08:43:31 -04:00
Alan Bateman
c580cfee80 7176630: (sc) SocketChannel.write does not write more than 128k when channel configured blocking [win]
Reviewed-by: khazra, chegar
2012-06-14 12:13:54 +01:00
Lana Steuck
272f5e3896 Merge 2012-06-08 12:44:30 -07:00
Lana Steuck
83d6ffcacb Merge 2012-06-08 12:00:22 -07:00
Rob McKenna
042cc29680 7161881: (dc) DatagramChannel.bind(null) fails if IPv4 socket and running with preferIPv6Addresses=true
Reviewed-by: alanb, chegar
2012-06-08 18:23:28 +01:00
Abhijit Saha
b74ef2f6b6 Merge 2012-06-07 12:31:10 -07:00
Alan Bateman
519dc0c3f9 7174723: TEST_BUG: java/lang/ProcessBuilder/Basic.java failing [win]
Reviewed-by: mduigou
2012-06-07 18:42:47 +01:00
Diego Belfer
dd23946ec9 7164256: EnumMap clone doesn't clear the entrySet keeping a reference to the original Map
Reviewed-by: alanb, chegar, forax, mduigou
2012-06-07 12:31:45 +01:00
Jonathan Lu
775655b44a 7172149: ArrayIndexOutOfBoundsException from Signature.verify
Take care of integer addition overflow

Reviewed-by: xuelei, wetmore
2012-06-06 18:39:09 -07:00
Alan Bateman
08c4f120c9 7172826: (se) Selector based on the Solaris event port mechanism
Reviewed-by: coffeys, chegar
2012-06-06 17:59:29 +01:00
Denis Lila
440b57e0b5 7043963: AWT workaround missing for Mutter
Reviewed-by: art, anthony
2012-06-04 16:39:12 -04:00
Mike Duigou
59ccdc0fbc 7173432: Handle null key at HashMap resize
If the key to be inserted into a HashMap is null and the table needs to be resized as part of the insertion then addEntry will try to recalculate the hash of a null key. This will fail with an NPE.

Reviewed-by: darcy
2012-06-01 00:05:21 -07:00
Sean Mullan
7dfc5df74e Merge 2012-05-31 17:10:57 -04:00
Sean Mullan
63e39d6ee7 Merge 2012-05-31 17:07:28 -04:00
Mike Duigou
705c53b045 7126277: Alternative String hashing implementation
All of the hashing based Map implementations: HashMap, Hashtable, LinkedHashMap, WeakHashMap and ConcurrentHashMap are modified to use an enhanced hashing algorithm for string keys when the capacity of the hash table has ever grown beyond 512 entries. The enhanced hashing implementation uses the murmur3 hashing algorithm along with random hash seeds and index masks. These enhancements mitigate cases where colliding String hash values could result in a performance bottleneck.

Reviewed-by: alanb, forax, dl
2012-05-30 22:18:37 -07:00
Sean Mullan
14c586557e 6854712: Revocation checking enhancements (JEP-124)
6637288: Add OCSP support to PKIX CertPathBuilder implementation
7126011: ReverseBuilder.getMatchingCACerts may throws NPE

Reviewed-by: xuelei
2012-05-30 17:19:46 -04:00
Jonathan Lu
3a6a1bd322 7170655: Frame size does not follow font size change with XToolkit
Reviewed-by: serb, art
2012-05-30 10:58:11 +08:00
Charles Lee
5bcaf4e157 7172177: test/java/util/TimeZone/DstTzTest.java failing on all platforms
Reviewed-by: alanb, okutsu
2012-05-29 09:42:09 +08:00
Lana Steuck
a6653a2f7c Merge 2012-05-25 19:34:32 -07:00
Lana Steuck
cc0d0b06ff Merge 2012-05-25 16:32:02 -07:00
Andrew Brygin
ea1b65ad8a 7146550: [macosx] DnD test failure in createCompatibleWritableRaster()
Reviewed-by: kizune, serb
2012-05-25 12:56:22 +04:00
Deven You
ee1d40055a 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled
Reviewed-by: okutsu
2012-05-25 13:28:40 +08:00
Abhijit Saha
5d202b67cc Merge 2012-05-21 15:13:13 -07:00
Lana Steuck
016976afd1 Merge 2012-05-21 11:44:01 -07:00
Lana Steuck
8b00bb1651 Merge 2012-05-21 11:41:33 -07:00
Andrew Brygin
9ea4ab4133 7124400: [macosx] CGraphicsDevice.getConfigurations() returns reference to member (does not copy configs)
Reviewed-by: anthony, kizune
2012-05-21 14:04:46 +04:00
Alan Bateman
66b51d0b9f 7170203: TEST_BUG: test/java/nio/MappedByteBuffer/Truncate.java failing intermittently
Reviewed-by: chegar
2012-05-21 10:41:08 +01:00
John R Rose
6b14cf6b82 7165628: Issues with java.lang.invoke.MethodHandles.Lookup
Base SecurityManager checks on either of Lookup.lookupClass or caller class; also clarify Lookup access checks.

Reviewed-by: twisti
2012-05-18 20:31:28 -07:00
Anton Tarasov
781549f47d 7125044: [macosx] Test failure because Component.transferFocus() works differently in applet and application
Forward port from 7u4

Reviewed-by: art
2012-05-17 21:48:57 +04:00
Sean Coffey
6e3d96dc67 7123896: Unexpected behavior due to Solaris using separate IPv4 and IPv6 port spaces
Reviewed-by: alanb
2012-05-17 12:21:16 +01:00
Olivier Lagneau
024a3d8370 7144861: speed up RMI activation tests
Reviewed-by: alanb, smarks, dholmes, dmocek
2012-05-11 14:13:29 -07:00
Lana Steuck
a472974402 Merge 2012-05-11 12:53:03 -07:00
Mike Duigou
3b77eb7680 7071826: Avoid benign race condition in initialization of UUID
Avoids mostly benign but sometimes expensive race condition on initialization of UUID.numberGenerator which is used by UUID.randomUUID()

Reviewed-by: alanb, chegar
2012-05-11 11:31:46 -07:00
Deven You
abd7e74713 7163874: InetAddress.isReachable should support pinging 0.0.0.0
Reviewed-by: alanb, chegar
2012-05-11 16:20:46 +08:00
Lana Steuck
49252e4667 Merge 2012-05-10 11:47:56 -07:00
Sergey Bylokhov
9668994591 7080109: Dialog.show() lacks doPrivileged() to access system event queue
Reviewed-by: art, anthony
2012-05-10 20:05:12 +04:00
Kurchi Subhra Hazra
769059e3a3 7165118: (prefs) AbstractPreferences.remove(null) does not throw NPE
Insert null argument check in AbstractPreferences.remove()

Reviewed-by: dholmes, chegar, alanb
2012-05-09 11:14:22 -07:00
Xueming Shen
c8da8f2595 7014640: To add a metachar \R for line ending and character classes for vertical/horizontal ws \v \V \h \H
Added propsoed constructs

Reviewed-by: alanb
2012-05-08 10:57:13 -07:00
David Holmes
828158fb8d 7103570: AtomicIntegerFieldUpdater does not work when SecurityManager is installed
Perform class.getField inside a doPrivileged block

Reviewed-by: chegar, psandoz
2012-05-08 02:59:10 -04:00
Lana Steuck
26faf043d2 Merge 2012-05-02 10:17:29 -07:00
Alexander Scherbatiy
4d0e923a60 7154048: [macosx] At least drag twice, the toolbar can be dragged to the left side
Reviewed-by: anthony, leonidr
2012-05-02 17:54:18 +04:00
Alan Bateman
6fed495d1f 7164570: (fs) WatchService queues CREATE event but not DELETE event for very short lived files [sol11]
Reviewed-by: chegar
2012-05-01 11:17:20 +01:00
Lana Steuck
5b2008805b Merge 2012-04-26 18:15:49 -07:00
Lana Steuck
6c68dd5523 Merge 2012-04-26 14:21:19 -07:00
Kurchi Subhra Hazra
6d834825de 7160242: (prefs) Preferences.remove(null) does not throw NPE [macosx]
Insert null check of argument in remove()'s implementation

Reviewed-by: forax, chegar, alanb
2012-04-25 12:31:31 -07:00
Anthony Petrov
56a050e73a 7150109: [macosx] the Frame showed incomplete
Open-source the tests

Reviewed-by: art
2012-04-24 17:47:50 +04:00
Alan Bateman
35a0ff69b0 7132924: (dc) DatagramChannel.disconnect throws SocketException with IPv4 socket and IPv6 enabled [macosx]
Reviewed-by: chegar
2012-04-22 21:22:17 +01:00
Sean Chou
2f21d39ae5 7129742: Unable to view focus in Non-Editable TextArea
Make sure the cursor is visible by setVisible(true)

Reviewed-by: rupashka, alexp
2012-04-20 10:34:40 +08:00
Coleen Phillimore
e776b337e8 Merge 2012-04-19 10:53:35 -04:00
Lana Steuck
b0654071b7 Merge 2012-04-18 10:21:59 -07:00
Joe Wang
87e24367ff 7160380: Sync JDK8 with JAXP 1.4.5
Bring JDK8 up to date to what we have in 7u4

Reviewed-by: lancea, mullan
2012-04-17 11:21:35 -07:00
Jim Gish
9e2790c8ae 7116200: (cs) test/java/nio/charset/coders/StreamTimeout.java fails with "Address already in use"
Co-authored-by: Remi Forax <forax@univ-mlv.fr>
Reviewed-by: alanb, chegar
2012-04-17 15:46:04 +01:00
James Melvin
d090606f36 7130404: [macosx] "os.arch" value should be "x86_64" for compatibility with Apple JDK6
On Mac OS X, align system property "os.arch" with Apple legacy JDKs.  Also, improve os.name string matching by using .contains() method instead of .startsWith(). This fix spans multiple repositories.

Reviewed-by: dcubed, phh, ohair, katleman
2012-04-16 18:09:53 -04:00
Alan Bateman
b29ee10938 7143744: (se) Stabilize KQueue SelectorProvider and make default on MacOSX
Reviewed-by: michaelm, chegar
2012-04-16 20:12:20 +01:00
Sean Mullan
9fd5ef2141 Merge 2012-04-13 09:49:41 -04:00
Sean Mullan
ac620e811d 7152564: Improve CodeSource.matchLocation(CodeSource) performance
7155693: CodeSource.matchLocation getPort test can be improved

Reviewed-by: chegar
2012-04-13 09:46:25 -04:00
Xueming Shen
1f4653910f 7067045: replaceAll("\u20ac", "$"); causses java.lang.StringIndexOutOfBoundsExceptio
Updated to throw IAE instead.

Reviewed-by: lancea
2012-04-12 15:01:41 -07:00
Lana Steuck
5e9ea38531 Merge 2012-04-11 18:44:33 -07:00
Lana Steuck
25e2d2bf5c Merge 2012-04-10 23:18:33 -07:00