Commit Graph

3427 Commits

Author SHA1 Message Date
Ivan Gerasimov
171fdabebb 7021870: GzipInputStream closes underlying stream during reading
Reviewed-by: mduigou
2013-05-10 23:56:24 +04:00
Roger Riggs
d5da33beea 8014296: DivModTests should not compare pointers
Reviewed-by: darcy
2013-05-10 09:06:21 -07:00
Alan Bateman
6622dd4edf 8011128: (fs) Files.createDirectory fails if the resolved path is exactly 248 characters long
Reviewed-by: khazra, chegar
2013-05-10 14:53:33 +01:00
Joel Borggrén-Franck
5d83fde0d1 8007073: Implement Core Reflection for Type Annotations on parameters
Reviewed-by: darcy, abuckley
2013-05-10 10:20:13 +02:00
David Katleman
1b186bfddd 8014289: JDK8 b89 source with GPL header errors
Reviewed-by: mchung, mduigou, tbell, dsamersoff
2013-05-09 15:04:56 -07:00
Henry Jen
862e2f6a7d 8006884: (fs) Add Files.list, lines and find
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: briangoetz, mduigou
2013-05-09 14:44:56 -07:00
Dan Xu
a8783e010f 8011136: FileInputStream.available and skip inconsistencies
Correct the behavior of available() and update related java specs for available() and skip() in InputStream and FileInputStream classes.

Reviewed-by: alanb
2013-05-17 12:04:18 -07:00
Lana Steuck
dfc792a1b8 Merge 2013-05-09 14:23:49 -07:00
Lana Steuck
fe8944db98 Merge 2013-05-08 23:53:35 -07:00
Weijun Wang
0c02ab3a5e 8012679: Let allow_weak_crypto default to false
Reviewed-by: valeriep
2013-05-08 08:25:34 +08:00
Anthony Scarpino
2c0b00cbe0 8001284: Buffer problems with SunPKCS11-Solaris and CKM_AES_CTR
Changed output length calculation to include incomplete blocks for CTR mode.

Reviewed-by: valeriep
2013-05-07 14:13:53 -07:00
Valerie Peng
94c8fa5cb1 7196009: SunPkcs11 provider fails to parse config path containing parenthesis
Enhanced to allow quoted string as library path values.

Reviewed-by: weijun
2013-05-07 14:06:19 -07:00
Brandon Passanisi
aac9a477c2 4802647: Throw required NPEs from removeAll()/retainAll()
Reviewed-by: mduigou, chegar, dholmes
2013-05-07 12:05:52 -07:00
Naoto Sato
06036d34ef 8013086: NPE thrown by SimpleDateFormat with TimeZoneNameProvider supplied
Reviewed-by: okutsu
2013-05-07 11:31:08 -07:00
Staffan Larsen
dafdd3677f 8004007: test/sun/tools/jinfo/Basic.sh fails on when runSA is set to true
Reviewed-by: alanb, dsamersoff
2013-05-07 20:00:47 +02:00
Staffan Larsen
90294d0d6a 6980985: java/lang/management/MemoryMXBean/ResetPeakMemoryUsage is not robust when getMax() returns -1
7181907: TEST_BUG: j/l/management/MemoryMXBean/ResetPeakMemoryUsage fails with NegativeArraySizeException
7148492: java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java failing since update to hs23-b15 or b16

Reviewed-by: mchung, brutisso
2013-05-07 19:57:55 +02:00
Daniel Fuchs
b317a8b992 8008738: Issue in com.sun.org.apache.xml.internal.serializer.Encodings causes some JCK tests to fail intermittently
Encodings.java sometimes creates EncodingInfo objects whose java names are not recognized by the Charset API. This patch fixes that issue.

Reviewed-by: joehw, alanb
2013-05-07 11:35:49 +02:00
Weijun Wang
5ec35be1d2 8010192: Enable native JGSS provider on Mac
Reviewed-by: valeriep
2013-05-07 12:30:36 +08:00
Xueming Shen
722199f9b2 8013252: Regex Matcher .start and .end should be accessible by group name
8013254: Constructor \w need update to add the support of \p{Join_Control}

Added the requested methods and updated the \w constructor

Reviewed-by: mchung, alanb
2013-05-06 21:24:37 -07:00
Brian Goetz
68101a98fd 8003258: BufferedReader.lines()
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: alanb, mduigou, psandoz
2013-05-06 20:54:54 -07:00
Akhil Arora
e41e09a670 8013150: Iterator.remove and forEachRemaining relationship not specified
Reviewed-by: mduigou
2013-05-06 20:54:48 -07:00
Mike Duigou
5001b55ff1 8013712: Add Objects.nonNull and Objects.isNull
Reviewed-by: mchung, darcy
2013-05-06 20:54:42 -07:00
Dan Xu
c31fc852f1 8003992: File and other classes in java.io do not handle embedded nulls properly
Have every file operation done with File, FileInputStream, FileOutputStream, or RandomAccessFile that involves a file path containing NUL fail. Also reviewed by fweimer@redhat.com

Reviewed-by: alanb, sherman, ahgross, mduigou, dholmes, aph, plevart, martin
2013-05-06 14:17:59 -07:00
Brian Goetz
15adfafa5b 8012664: Add tests for java.util.stream and lambda translation
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Mike Duigou <mike.duigou@oracle.com>
Co-authored-by: Robert Field <robert.field@oracle.com>
Co-authored-by: Jim Gish <jim.gish@oracle.com>
Reviewed-by: mduigou, briangoetz
2013-05-06 11:43:51 -04:00
Leonid Romanov
7e6639dea3 8012933: Test closed/java/awt/Dialog/DialogAnotherThread/JaWSTest.java fails since jdk 7u25 b07
Do not mark context as disposed until we've posted all the events

Reviewed-by: art
2013-05-06 16:12:55 +04:00
Jason Uh
b762ba9ab4 8005922: TEST_BUG: There is no /tmp directory for windows system
Reviewed-by: weijun
2013-05-03 15:04:54 -07:00
Mike Duigou
a90afa9d76 8013528: Provide SharedSecrets access to String(char[], boolean) constructor
Reviewed-by: martin, alanb, chegar, plevart
2013-05-03 10:57:28 -07:00
Jaroslav Bachorik
7c11aba793 7199324: Connection ID for IPv6 addresses is not generated accordingly to the specification
RemoteServer.getClientHost is returning a String with an IPv6 literal address and we need to enclose it in [] when building the connection id

Reviewed-by: alanb, sjiang
2013-05-02 13:21:09 +02:00
Weijun Wang
cd5050ea28 8013855: DigestMD5Client has not checked RealmChoiceCallback value
Reviewed-by: xuelei, mullan
2013-05-03 10:43:24 +08:00
Akhil Arora
e9d3d7b789 8012645: Stream methods on BitSet, Random, ThreadLocalRandom, ZipFile
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou, henryjen, alanb, martin, psandoz
2013-05-02 09:18:56 -07:00
Lana Steuck
890ea1852e Merge 2013-05-01 11:34:06 -07:00
Paul Sandoz
b047746827 8012646: Pattern.splitAsStream
Co-authored-by: Ben Evans <benjamin.john.evans@gmail.com>
Reviewed-by: forax, plevart, alanb
2013-05-01 18:40:31 +02:00
Jason Uh
33196b314d 8007699: Move some tests from test/sun/security/provider/certpath/X509CertPath to closed repo
Reviewed-by: mullan
2013-05-09 12:00:46 -07:00
Lana Steuck
4cb70c3b15 Merge 2013-05-01 09:20:08 -07:00
Stuart Marks
73e9aec3c4 8012665: add CharSequence.chars, CharSequence.codePoints
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: martin, alanb, ulfzibis, mduigou
2013-05-01 08:35:09 -07:00
Weijun Wang
905250cdfe 8012082: SASL: auth-conf negotiated, but unencrypted data is accepted, reset to unencrypt
Reviewed-by: vinnie
2013-05-01 21:05:10 +08:00
Chris Hegarty
efa5a06ca3 8013723: ProblemList.txt updates (5/2013)
Reviewed-by: alanb
2013-05-01 11:15:35 +01:00
Mark Sheppard
b09026494b 8007799: Base64.getEncoder(0, byte[]) returns an encoder that unexpectedly inserts line separators
Reviewed-by: sherman, iris
2013-04-30 16:24:08 +01:00
Chris Hegarty
49619272d0 6594296: NetworkInterface.getHardwareAddress returns zero length byte array
Reviewed-by: alanb
2013-05-01 10:03:39 +01:00
Lana Steuck
9286dd7a1b Merge 2013-04-30 17:51:31 -07:00
Mandy Chung
ecf27fe8fe 8013531: Provide a utility class in com.sun.tools.classfile to find field/method references
Reviewed-by: alanb
2013-04-30 15:42:16 -07:00
Alan Bateman
6878027374 8013647: JPRT unable to clean-up after tests that leave file trees with loops
Reviewed-by: chegar, tbell
2013-04-30 21:19:24 +01:00
Mikhail Cherkasov
6eb1682ef6 8012004: JInternalFrame not being finalized after closing
Reviewed-by: alexsch, alexp
2013-04-30 13:24:14 +04:00
Mark Sheppard
8394ed673f 8007373: Inet6Address serialization incompatibility
Reviewed-by: alanb, chegar
2013-04-29 23:07:22 +01:00
Sean Mullan
86ae90ad59 8009217: REGRESSION: test com/sun/org/apache/xml/internal/security/transforms/ClassLoaderTest.java fails to compile since 7u21b03
Reviewed-by: xuelei
2013-04-29 11:47:17 -04:00
Sergey Malenkov
4eac739177 8007458: [findbugs] One more beans issue, with ReflectionUtils
Reviewed-by: art, alexsch
2013-04-29 16:42:22 +04:00
Phil Race
ae06d053cb 8012617: ArrayIndexOutOfBoundsException with some fonts using LineBreakMeasurer
Reviewed-by: bae, srl
2013-04-26 15:06:51 -07:00
Vladimir Kravets
4693d6568d 8012586: [x11] Modal dialogs for fullscreen window may show behind its owner
Use the _NET_WM_WINDOW_TYPE_DIALOG type for owned windows

Reviewed-by: anthony, art, serb
2013-04-26 18:48:11 +04:00
Chris Hegarty
22126efe5a Merge 2013-06-10 10:38:33 +01:00
Chris Hegarty
183dad0217 Merge 2013-05-31 10:34:25 +01:00
Chris Hegarty
a5477b8630 Merge 2013-05-23 12:58:51 +01:00
Chris Hegarty
c8b6b35f12 Merge 2013-05-16 11:47:51 +01:00
Chris Hegarty
6983122cde Merge 2013-05-08 11:22:25 +01:00
Chris Hegarty
9a078f9451 Merge 2013-04-28 09:35:25 +01:00
Konstantin Shefov
19779230c9 8011186: [TEST_BUG] java/awt/Focus/OverrideRedirectWindowActivationTest/OverrideRedirectWindowActivationTest.java failed on windows 8
Reviewed-by: anthony, serb, ant
2013-04-24 11:48:54 +04:00
David Katleman
05f3d6ab4b 8012643: JDK8 b86 source with GPL header errors
Reviewed-by: dholmes, alanb
2013-04-23 18:25:52 -07:00
Lana Steuck
5271b95f85 Merge 2013-04-23 15:17:39 -07:00
Chris Hegarty
5f108f0ea5 Merge 2013-04-23 11:13:38 +01:00
Naoto Sato
79174472a1 8010666: Implement Currency/LocaleNameProvider in Windows Host LocaleProviderAdapter
Reviewed-by: okutsu
2013-04-22 13:37:07 -07:00
Leonid Romanov
c7f421eaa1 8008366: [macosx] ActionListener called twice for JMenuItem using ScreenMenuBar
Reviewed-by: anthony, serb
2013-04-22 19:24:41 +04:00
Konstantin Shefov
6b2fcd1c77 8011230: [TEST_BUG] java/awt/Toolkit/BadDisplayTest/BadDisplayTest.java failed on solaris
Reviewed-by: serb, anthony
2013-04-22 18:39:04 +04:00
Brian Goetz
8d5c8613fc 8012650: Arrays streams methods
8011918: java.util.stream.Streams

Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: alanb, mduigou, darcy, henryjen
2013-04-20 18:53:26 -04:00
Weijun Wang
70b23a07be 8005523: Unbound krb5 for TLS
Reviewed-by: xuelei
2013-04-27 18:25:16 +08:00
Xueming Shen
115e610026 8007395: StringIndexOutofBoundsException in Match.find() when input String contains surrogate UTF-16 characters
Updated GroupCurly.match0() to backtrack correctly

Reviewed-by: mchung
2013-04-26 13:59:10 -07:00
Lana Steuck
8afbe69644 Merge 2013-04-17 21:48:04 -07:00
Lana Steuck
a33f306c8f Merge 2013-04-17 21:32:11 -07:00
Lana Steuck
878e613542 Merge 2013-04-17 21:30:28 -07:00
Sean Mullan
848ec37e2b 6741606: Integrate Apache Santuario
Reviewed-by: vinnie, hawtin
2013-04-22 11:23:33 +01:00
Lana Steuck
acfca9881a Merge 2013-04-17 12:30:18 -07:00
Lana Steuck
16504b35d7 Merge 2013-04-17 11:24:40 -07:00
Paul Sandoz
3b5f4fc54a 8011426: java.util collection Spliterator implementations
Spliterator implementations for collection classes in java.util.

Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: mduigou, briangoetz
2013-04-17 11:34:31 +02:00
Akhil Arora
4fa1f1f4fc 8001647: default methods for Collections - forEach, removeIf, replaceAll, sort
Co-authored-by: Arne Siegel <v.a.ammodytes@googlemail.com>
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: alanb, dholmes, mduigou, psandoz, smarks
2013-04-22 09:19:34 -07:00
Weijun Wang
0ec3fd796b 8005527: [TEST_BUG] console.sh failed Automatically with exit code 1
Reviewed-by: xuelei
2013-04-22 11:39:53 +08:00
Jim Gish
8f316cc40e 8010939: Deadlock in LogManager
Re-order locks to avoid deadlock

Reviewed-by: mchung
2013-04-19 16:50:10 -07:00
Weijun Wang
ab7ecdd1b3 8009636: JARSigner including TimeStamp PolicyID (TSAPolicyID) as defined in RFC3161
Reviewed-by: mullan
2013-04-19 15:41:11 +08:00
Jim Gish
30e93b56e3 8012005: LogManager needs test to ensure stack trace is not being done to find bundle
Reviewed-by: mchung
2013-04-18 16:33:11 -04:00
Mandy Chung
2d5e636c88 8012624: Add sun/management/HotspotRuntimeMBean/GetSafepointSyncTime.java in ProblemList.txt
Reviewed-by: lancea, alanb
2013-04-18 11:14:39 -07:00
Roger Riggs
167854b5ab 8009648: Tests fail in -agentvm -concurrency mode
Reviewed-by: alanb
2013-04-18 12:24:55 +01:00
Alan Bateman
6c1e93b7c6 8011536: (fs) BasicFileAttributes.creationTime() should return birth time (mac)
Reviewed-by: chegar
2013-04-18 11:13:18 +01:00
David Katleman
24ec30a8e7 Merge 2013-04-16 15:00:19 -07:00
Brian Goetz
95fadac5c6 8010096: Initial java.util.Spliterator putback
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: mduigou, alanb, chegar, darcy
2013-04-16 13:51:53 -04:00
Lana Steuck
35ff6ba00e Merge 2013-04-17 12:31:34 -07:00
Lana Steuck
04d4410fb9 Merge 2013-04-17 12:14:16 -07:00
Coleen Phillimore
4b1fc01e88 Merge 2013-04-17 15:06:17 -04:00
Mandy Chung
fa54d97a10 8004260: dynamic proxy class should have the same Java language access as the proxy interfaces
Reviewed-by: alanb, jrose, jdn
2013-04-17 12:04:15 -07:00
Lana Steuck
babbf21e37 Merge 2013-04-17 10:30:02 -07:00
Coleen Phillimore
bdcf6abb46 8009531: Crash when redefining class with annotated method
Add code to annotated methods and command line flags to the tests to verify bug above

Reviewed-by: acorn, sspitsyn, dcubed, dholmes, alanb
2013-04-17 12:50:45 -04:00
Alan Bateman
aefbf5bd89 8012019: (fc) Thread.interrupt triggers hang in FileChannelImpl.pread (win)
Reviewed-by: chegar
2013-04-17 16:11:19 +01:00
Vinnie Ryan
74d720c7b5 Merge 2013-04-17 02:53:02 -07:00
Yong Jeffrey Huang
944c9a65b2 Merge 2013-04-17 01:04:45 -07:00
Yong Jeffrey Huang
fc3e45929e 8011977: ISO 4217 Amendment Number 155
Reviewed-by: naoto
2013-04-16 22:28:47 -07:00
Mandy Chung
176ed8d94c 8010117: Annotate jdk caller sensitive methods with @sun.reflect.CallerSensitive
Reviewed-by: jrose, alanb, twisti
2013-04-16 21:39:52 -07:00
Weijun Wang
dfcf6055a7 8011124: Make KerberosTime immutable
Reviewed-by: xuelei
2013-04-17 10:15:33 +08:00
Chris Hegarty
320776832e Merge 2013-04-16 21:04:33 +01:00
Mike Duigou
12cfd3e1b4 8004518: Add in-place operations to Map
8010122: Add defaults for ConcurrentMap operations to Map

Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Co-authored-by: Akhil Arora <akhil.arora@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: darcy, briangoetz, mduigou, dholmes, ulfzibis
2013-04-16 11:17:19 -07:00
Vinnie Ryan
f136599134 Merge 2013-04-16 05:32:39 -07:00
Chris Hegarty
c0de159c91 Merge 2013-04-16 13:30:19 +01:00
Chris Hegarty
dc668d18a3 8012244: java/net/Socket/asyncClose/Race.java fails intermittently on Windows
Reviewed-by: alanb, dsamersoff
2013-04-16 13:26:30 +01:00
Vinnie Ryan
76bcd2b3f6 Merge 2013-04-16 05:11:50 -07:00
Chris Hegarty
0a5657be1c 8012237: CompletableFuture/Basic.java still fails intermittently
Reviewed-by: martin
2013-04-16 12:51:22 +01:00
Chris Hegarty
23d10238b1 8012343: Objects.requireNonNull(Object,Supplier) breaks genstubs build
Reviewed-by: alanb
2013-04-16 12:23:16 +01:00
Vinnie Ryan
7298912ab0 Merge 2013-04-16 01:44:58 -07:00
Joe Darcy
dbb722dfb0 8011800: Add java.util.Objects.requireNonNull(T, Supplier<String>)
Reviewed-by: alanb, dholmes, mduigou
2013-04-15 18:31:48 -07:00
Andrew Brygin
d9216cb5e1 8005930: [lcms] ColorConvertOp: Alpha channel is not transferred from source to destination
Reviewed-by: prr
2013-04-15 16:57:01 +04:00
Chris Hegarty
7d3f26a18f 8011799: CompletableFuture/Basic.java fails intermittently
Reviewed-by: martin, alanb
2013-04-14 19:17:30 +01:00
Chris Hegarty
cd4711df4d Merge 2013-04-13 21:51:36 +01:00
Chris Hegarty
be8d5c723d Merge 2013-04-13 20:16:00 +01:00
David Katleman
930dcf7d28 8012048: JDK8 b85 source with GPL header errors
Reviewed-by: iris, mduigou, jjg
2013-04-12 15:22:33 -07:00
Vinnie Ryan
fb29205c82 Merge 2013-04-12 10:42:50 -07:00
Robert Field
47686a92e0 8011805: Update sun.tools.java class file reading/writing support to include the new constant pool entries
Reviewed-by: mduigou, alanb
2013-04-12 10:02:33 -07:00
Stephen Colebourne
58af157d96 8011172: JSR 310 DateTime API Updates II
Integration of JSR310 Date/Time API update

Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Reviewed-by: alanb, naoto, dholmes
2013-04-12 07:57:35 -07:00
Sergey Bylokhov
e227299954 8000629: [macosx] Blurry rendering with Java 7 on Retina display
Reviewed-by: anthony, prr, flar
2013-04-12 15:28:49 +04:00
Petr Pchelko
32995a0452 8010009: [macosx] Unable type into online word games on MacOSX
Reviewed-by: anthony, dcherepanov
2013-04-12 14:09:03 +04:00
Bradford Wetmore
63a6638ebf 6425477: Better support for generation of high entropy random numbers
Reviewed-by: xuelei, weijun, mullan
2013-04-11 21:03:24 -07:00
Bradford Wetmore
d1599927b6 Merge 2013-04-11 19:36:52 -07:00
Xue-Lei Andrew Fan
a973a4d533 8011680: Re-integrate AEAD implementation of JSSE
It is a re-merge of JDK-7030966.

Reviewed-by: wetmore
2013-04-11 18:57:14 -07:00
Anthony Scarpino
b1d5a4f3ab 8012056: SunJCEInstance needs to run in it's own vm
Reviewed-by: wetmore
2013-04-11 17:29:43 -07:00
Tony Scarpino
dbfbe6ca61 8001596: Incorrect condition check in PBKDF2KeyImpl.JAVA
Reviewed-by: wetmore
2013-04-11 18:00:23 +01:00
Tony Scarpino
080470408b 7171982: Cipher getParameters() throws RuntimeException: Cannot find SunJCE provider
Reviewed-by: vinnie, wetmore
2013-04-11 17:57:08 +01:00
Robert Field
60fae99960 8012028: Metafactory-generated lambda classes should be final
8008941: isSynthetic() returns false for lambda instances

Reviewed-by: mduigou
2013-04-12 20:23:13 -07:00
Henry Jen
3273287f58 8010279: java.util.Stream.min/max((Comparator)null) is not consistent in throwing (unspecified) NPE
Reviewed-by: alanb, mduigou
2013-04-12 12:41:18 -07:00
Mark Sheppard
6b4d627414 8002390: (zipfs) Problems moving files between zip file systems
Fixed the corner cases in zipfs

Reviewed-by: sherman
2013-04-12 12:12:53 -07:00
Xueming Shen
38e4efd784 8011647: Add java.time.Instant methods to java.nio.file.attribute.FileTime
Added the toInstant()/from(Instant) to FileTime

Reviewed-by: alanb
2013-04-12 12:03:00 -07:00
Sergey Malenkov
c1409aacef 4683761: Incomplete Introspection on nonpublic classes lead to IllegalAccessExceptions
Reviewed-by: alexsch
2013-04-11 19:12:59 +04:00
Weijun Wang
b02989edef 8011867: Accept unknown PKCS #9 attributes
Reviewed-by: vinnie
2013-04-11 11:09:50 +08:00
Weijun Wang
7d8e86633a 8005460: [findbugs] Probably returned array should be cloned
Reviewed-by: xuelei
2013-04-11 10:58:17 +08:00
Mike Duigou
8b4ed5f8cc 8011200: (coll) Optimize empty HashMap and ArrayList
Co-authored-by: Sergey Linetskiy <sergey.linetskiy@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: mduigou, alanb, bchristi, martin
2013-04-10 12:43:18 -07:00
Lana Steuck
a10b11c7fe Merge 2013-04-09 15:14:31 -07:00
Chris Hegarty
dc6fd2d5dd 8005696: Add CompletableFuture
Reviewed-by: chegar, martin
2013-04-09 17:27:47 +01:00
Joel Borggrén-Franck
a005174625 8007812: (reflect) Class.getEnclosingMethod problematic for some classes
Better checking in getEnclosing(Method|Constructor|Class)

Reviewed-by: darcy, ahgross, mchung
2013-04-19 14:40:31 +01:00
Andrew Brygin
c0e62cff31 8012112: java/awt/image/mlib/MlibOpsTest.java fails on sparc solaris
Reviewed-by: prr, vadim
2013-04-15 14:11:32 +04:00
Andrew Brygin
36ef0217a6 8011992: java/awt/image/mlib/MlibOpsTest.java failed since jdk7u25b05
Reviewed-by: vadim
2013-04-12 14:08:21 +04:00
Joe Darcy
2c7f3d292f 6298888: Add toGenericString to j.l.Class and getTypeName to j.l.reflect.Type
6992705: Include modifiers in Class.toGenericString()

Class.toGenericString and supporting changes; additional reviews by Peter Levart

Reviewed-by: alanb
2013-04-08 17:06:20 -07:00
Jim Gish
4b5d81c510 8006036: (process) cleanup code in java/lang/Runtime/exec/WinCommand.java
Reviewed-by: lancea
2013-04-08 15:29:24 -04:00
Konstantin Shefov
d7081aaf76 7153702: [TEST_BUG] [macosx] Synchronization problem in test javax/swing/JPopupMenu/6827786/bug6827786.java
Reviewed-by: serb, alexsch
2013-04-08 17:18:16 +04:00
Joe Darcy
76a59cf150 8011590: More tests for core reflection modeling of default methods
Reviewed-by: mduigou
2013-04-05 18:20:12 -07:00
Christos Zoulas
a7b0073f5a 5001942: Missings SOCKS support for direct connections
Add support for socksNonProxyHosts

Reviewed-by: chegar, khazra
2013-04-05 12:12:34 -07:00
Mandy Chung
efdece0bc7 8011380: FX dependency on PlatformLogger broken by 8010309
Reviewed-by: alanb
2013-04-05 10:41:46 -07:00
Petr Pchelko
9ff5db6260 8006941: [macosx] Deadlock in drag and drop
7199783: Setting cursor on DragSourceContext does not work on OSX

Reviewed-by: anthony, serb
2013-04-05 18:29:53 +01:00
Joe Darcy
fa0b9daa08 8004979: java.lang.reflect.Modifier.toString should include "default"
Reviewed-by: mduigou
2013-04-02 16:26:54 -07:00
Lana Steuck
88a9d69091 Merge 2013-04-02 16:17:54 -07:00
Jim Gish
4c7d3a9bd1 5015163: (str) String merge/join that is the inverse of String.split()
7172553: A utility class that forms the basis of a String.join() operation

Integrate StringJoiner changes from lambda

Reviewed-by: alanb, mduigou
2013-04-02 18:41:04 -04:00
Alan Bateman
d51ab5c39c 8012530: test/sun/security/provider/SecureRandom/StrongSeedReader.java failing
Reviewed-by: wetmore
2013-04-25 17:10:36 -07:00
Sean Coffey
9822b2cd84 8000529: Regression: SimpleDateFormat incorrectly parses dates formatted with Z and z pattern letters
Reviewed-by: okutsu
2013-04-25 21:12:35 +01:00
Joe Darcy
edbd8cf91c 8012044: Give more information about self-suppression from Throwable.addSuppressed
Reviewed-by: alanb, dholmes
2013-04-25 09:37:03 -07:00
Xueming Shen
0872993c6c 8012638: test/java/time/test/java/util/TestFormatter fails in UTC TZ
Updated the offending test case

Reviewed-by: alanb
2013-04-24 21:27:52 +00:00
Alan Bateman
3db24cefee 8005555: TEST_BUG: java/io/Serializable/accessConstants/AccessConstants.java should be removed
Reviewed-by: chegar
2013-04-24 19:03:07 +01:00
Lana Steuck
843e6e05e2 Merge 2013-04-23 15:07:48 -07:00
Alan Bateman
1dea05c94f 8012930: (fs) Eliminate recursion from FileTreeWalker
Reviewed-by: chegar
2013-04-23 15:01:44 +01:00
Lana Steuck
e82dcb36d6 Merge 2013-04-02 11:59:34 -07:00
Xueming Shen
3457ff4337 8007379: Base64.getMimeDecoder().decode() throws IAE for a non-base64 character after padding
8008925: Base64.getMimeDecoder().decode() does not ignore padding chars

Updated implementation and spec for corner cases.

Reviewed-by: alanb
2013-04-02 10:12:20 -07:00
Mike Duigou
7d45058eaa 8011199: Backout changeset JDK-7143928 (2b34a1eb3153)
Reviewed-by: darcy, dholmes
2013-04-01 20:51:40 -07:00
Mike Duigou
12f1183c74 8011187: Remove obsolete/unused targets from jdk/test/Makefile
Reviewed-by: ohair
2013-04-01 20:15:48 -07:00
Mike Duigou
3e6daeda3a 7143928: Optimize empty HashMap and ArrayList
Co-authored-by: Sergey Linetskiy <sergey.linetskiy@oracle.com>
Co-authored-by: John Rose <john.rose@oracle.com>
Reviewed-by: mduigou
2013-04-01 20:15:48 -07:00
Mike Duigou
cd2f264ba1 8010268: Remove dependence upon clean target from jdk/test/Makefile prep target
Reviewed-by: tbell, mchung
2013-04-01 12:02:19 -07:00
Peter Levart
2ca495dd43 8010309: Improve PlatformLogger.isLoggable performance by direct mapping from an integer to Level
Co-authored-by: Laurent Bourges <bourges.laurent@gmail.com>
Reviewed-by: mchung
2013-03-28 13:14:09 -07:00
Weijun Wang
4a64ecdf42 8010125: keytool -importkeystore could create a pkcs12 keystore with different storepass and keypass
Reviewed-by: vinnie
2013-03-28 20:27:53 +08:00
Athijegannathan Sundararajan
d891c7c560 8010991: Enable test/javax/script/GetInterfaceTest.java again
Reviewed-by: lagergren, hannesw
2013-03-28 14:36:10 +05:30
Karen Kinnear
f45e9f484d 8010846: Update the corresponding test in test/vm/verifier/TestStaticIF.java
Remove test flag -XX:-UseSplitVerifier, not supported classfile 52

Reviewed-by: acorn, hseigel
2013-03-27 13:40:26 -04:00
Dan Xu
2ffe97f06e 8010837: FileInputStream.available() throw IOException when encountering negative available values
Remove the check in the native code to allow negative values

Reviewed-by: mchung
2013-03-27 09:00:34 -07:00
Denis Fokin
36fd8181af 7075105: WIN: Provide a way to format HTML on drop
Reviewed-by: uta, serb
2013-03-27 16:19:51 +04:00
Lana Steuck
bd671cb7fa Merge 2013-03-26 12:04:35 -07:00
Mandy Chung
d79b11782a 8010787: changeset for 8007703 is missing the deleted files
Reviewed-by: dholmes, alanb, erikj
2013-03-25 18:14:52 -07:00
Mandy Chung
d414a7e832 8007703: Remove com.sun.servicetag API
Reviewed-by: dholmes, alanb, erikj
2013-03-25 17:19:16 -07:00
Weijun Wang
5f08966515 8009875: Provide a default udp_preference_limit for krb5.conf
Reviewed-by: valeriep
2013-03-23 11:49:39 +08:00
Erik Helin
1c46d9bac2 8004172: Update jstat counter names to reflect metaspace changes
Reviewed-by: mchung
2013-03-22 15:01:24 +01:00
Weijun Wang
debc12e19e 8010531: Add BadKdc* tests to problem list for solaris-sparcv9
Reviewed-by: alanb
2013-03-22 19:59:14 +08:00
Erik Helin
5391834dcf 8009427: Re-enable tests that were disable to ease complicated push
Reviewed-by: sla, mchung, dcubed
2013-03-21 20:35:49 +01:00
Martin Buchholz
edcaf23233 8010316: Improve handling of char sequences containing surrogates
Fix and optimize codePointAt, codePointBefore and similar methods

Reviewed-by: sherman, okutsu, ulfzibis, kizune
2013-03-26 13:36:51 -07:00
Martin Buchholz
2a57075d85 8007905: To add a system property to create zip file without using ZIP64 end table when entry count > 64k
Provide a system property to inhibit ZIP64 mode for >64k entries

Reviewed-by: alanb, sherman
2013-03-26 13:34:54 -07:00
Alexander Scherbatiy
d089002460 8007146: [macosx] Setting a display mode crashes JDK under VNC
Reviewed-by: serb
2013-03-21 16:50:35 +04:00
Mandy Chung
c9e6a41b99 8006104: Improve tests to test ".useParentHandlers" property set in the logging configuration
Reviewed-by: alanb
2013-03-20 09:50:07 -07:00
Anton Litvinov
58a945da1c 6550588: java.awt.Desktop cannot open file with Windows UNC filename
Reviewed-by: art, uta
2013-03-20 20:41:03 +04:00
Konstantin Shefov
f61a46ce67 8009880: TEST_BUG: Test java/beans/Introspector/TestTypeResolver.java should be modified again
Reviewed-by: malenkov, alexsch
2013-03-20 14:02:25 +04:00
Brian Goetz
5b1cca1b96 8001642: Add Optional<T>, OptionalDouble, OptionalInt, OptionalLong
Reviewed-by: mduigou, darcy, alanb, jjb
2013-03-19 16:05:34 -07:00
Konstantin Shefov
57215b1938 8009881: TEST_BUG: javax/swing/JTree/8004298/bug8004298.java should be modified
Reviewed-by: serb, alexsch
2013-03-19 17:51:52 +04:00
Staffan Larsen
f716ccd343 8006637: Failure to filter out native frame events on Solaris
Test is confused by other threads calling String.intern(). Add a thread filter to avoid this.

Reviewed-by: sspitsyn, alanb
2013-03-19 09:53:36 +01:00
Chris Hegarty
bb303a20ef 8010142: ProblemList.txt updates (3/2013)
Reviewed-by: alanb
2013-03-17 09:55:03 +00:00
Lana Steuck
0506e249ad Merge 2013-03-15 16:39:07 -07:00
Alexander Scherbatiy
ccff358962 8009221: [macosx] Two closed/javax/swing regression tests fail on MacOSX
Reviewed-by: serb, alexp
2013-03-15 17:02:24 +04:00
Sergey Malenkov
be64bfbaad 8000183: 7163696: JCK Swing interactive test JScrollBarTest0013 fails with Nimbus and GTK L&Fs
Reviewed-by: alexsch, serb
2013-03-14 12:15:17 +04:00
Lana Steuck
31330fc47a Merge 2013-03-12 19:04:49 -07:00
Lana Steuck
babef4b53a Merge 2013-03-12 18:12:44 -07:00
Lana Steuck
5adedccb9c Merge 2013-03-12 16:40:22 -07:00
Bradford Wetmore
9e5da0ad31 8009925: Back out AEAD CipherSuites temporarily
Reviewed-by: valeriep
2013-03-12 15:31:49 -07:00
Weijun Wang
2ec1224ff0 8000653: SPNEGO tests fail at context.getDelegCred().getRemainingInitLifetime(mechOid)
Reviewed-by: valeriep
2013-03-09 17:27:58 +08:00
Henry Jen
9db6479318 8001667: Comparator combinators and extension methods
Reviewed-by: mduigou, briangoetz
2013-03-08 15:45:06 -08:00
Alan Bateman
9849742625 8006000: TEST_BUG: java/lang/invoke/lambda/LambdaAccessControlTest.java fails intermittently
Reviewed-by: chegar
2013-03-08 12:03:26 +00:00
Chris Hegarty
7d6b4b81de 6370908: Add support for HTTP_CONNECT proxy in Socket class
Co-authored-by: Damjan Jovanovic <damjan.jov@gmail.com>
Reviewed-by: chegar
2013-03-07 10:07:13 +00:00
Alexander Scherbatiy
a99c6a7fe5 6877495: JTextField and JTextArea does not support supplementary characters
Reviewed-by: serb, alexp
2013-03-06 19:42:26 +04:00
Vladimir Ivanov
9aba745d56 8009222: java.lang.IllegalArgumentException: not invocable, no method type when attempting to get getter method handle for a static field
Reviewed-by: jrose, twisti
2013-03-06 16:59:42 +04:00
Lana Steuck
4f62a2b334 Merge 2013-03-15 23:31:19 -07:00
Yiming Wang
a7f501c620 7183800: TEST_BUG: Update tests to run on Ubuntu 12.04 (localhost is 127.0.1.1)
Reviewed-by: alanb, chegar
2013-03-14 16:59:06 +00:00
Stuart Douglas
bafe2383ad 8009650: HttpClient available() check throws SocketException when connection has been closed
Reviewed-by: chegar, khazra, dsamersoff
2013-03-14 00:21:34 +00:00
Jim Gish
709f67b8f9 8002070: Remove the stack search for a resource bundle for Logger to use
The fragile, vulnerable, stack crawling has been eliminated from findResourceBundle(String)

Reviewed-by: mchung, alanb
2013-03-13 11:24:48 -04:00
Eric Wang
1ba4dd5979 8009259: TEST_BUG: sun/misc/Cleaner/exitOnThrow.sh failing intermittently
Reviewed-by: chegar, alanb
2013-03-05 10:10:55 +00:00
Naoto Sato
16bd2e1298 8004240: Return value from getAdapterPrefence() can be modified
Reviewed-by: okutsu
2013-03-04 20:46:42 -08:00
Joe Darcy
bc576240bc 8009267: Restore isAnnotationPresent methods in public AnnotatedElement implementations
Reviewed-by: jjg
2013-03-04 19:42:56 -08:00
Erik Helin
e3e8231629 8009384: Temporarily disable jstat tests to ease complicated push
Reviewed-by: mchung
2013-03-04 15:40:12 +01:00
Kumar Srinivasan
bffaa53287 8007297: [pack200] allow opcodes with InterfaceMethodRefs
Reviewed-by: jrose
2013-03-03 20:52:04 -08:00
Chris Hegarty
3a216a7fdc 8008378: FJP.commonPool support parallelism 0, add awaitQuiescence
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: chegar
2013-03-02 08:54:37 +00:00
Dan Xu
4994fe0840 8006645: TEST_BUG: java/nio/file/Files/CopyAndMove.java failing intermittently (sol)
Fix test failures and update java doc of Files.move

Reviewed-by: alanb, chegar
2013-03-01 14:12:59 -08:00
Sean Mullan
6190b5040a Merge 2013-03-01 16:15:23 -05:00
Sean Mullan
6cd495e473 8008908: Access denied when invoking Subject.doAsPrivileged()
Wildcard principal names are not processed correctly

Reviewed-by: xuelei
2013-03-01 16:12:50 -05:00
Xue-Lei Andrew Fan
9abb185430 7030966: Support AEAD CipherSuites
Reviewed-by: weijun, wetmore, valeriep
2013-03-01 02:34:34 -08:00
Sergey Malenkov
19bc54290f 7163696: JCK Swing interactive test JScrollBarTest0013 fails with Nimbus and GTK L&Fs
Reviewed-by: alexsch
2013-03-01 14:30:52 +04:00
Mike Duigou
5262142601 8008785: IdentityHashMap.values().toArray(V[]) broken by JDK-8008167
Reviewed-by: alanb
2013-02-27 11:00:20 -08:00
Edvard Wendelin
f5518d2c81 Merge 2013-02-27 18:13:20 +01:00
Edvard Wendelin
7ecb0fd433 Merge 2013-02-26 20:36:52 +01:00
Robert Field
b0dc9de25e 8008770: SerializedLambda incorrect class loader for lambda deserializing class
Current thread's context ClassLoader was used to load class by name, pass class not name in serialization (Thank you Peter Levart for test and prototype. Thank you Sundar and Peter for unofficial reviews)

Reviewed-by: forax
2013-02-26 10:38:58 -08:00
Chris Hegarty
c52a86e9c7 Merge 2013-02-26 11:18:19 +00:00
Chris Hegarty
4e9403c378 Merge 2013-02-26 11:06:49 +00:00
Krystal Mo
f5666f9a69 7087570: java.lang.invoke.MemberName information wrong for method handles created with findConstructor
REF_invokeSpecial DMHs (which are unusual) get marked explicitly; tweak the MHI to use this bit

Reviewed-by: jrose, twisti
2013-02-26 11:05:26 +00:00
Edvard Wendelin
11923f546e Merge 2013-02-26 06:47:57 +01:00
Erik Joelsson
b3a313fa2b 8008914: Add nashorn to the tl build
Co-authored-by: James Laskey <james.laskey@oracle.com>
Reviewed-by: mr, tbell, jjh
2013-02-25 15:08:11 -08:00
Brent Christian
944e1b9636 8006039: test/tools/launcher/I18NJarTest.java fails on Mac w/ LANG=C, LC_ALL=C
Avoid automated test failure by just exiting when in 'C' locale

Reviewed-by: naoto, ksrini
2013-02-25 14:19:48 -08:00
Lana Steuck
38697490b4 Merge 2013-02-23 19:49:17 -08:00
Athijegannathan Sundararajan
6715b64842 8009140: jtreg tests under sun/tools/jrunscript should use nashorn engine
Reviewed-by: alanb
2013-02-27 20:34:12 +05:30
Alan Bateman
f99a5d722e 8008793: SecurityManager.checkXXX behavior not specified for methods that check AWTPermission and AWT not present
Reviewed-by: hawtin, mullan, dsamersoff, mchung
2013-02-27 14:24:45 +00:00
Athijegannathan Sundararajan
b7511e7609 8009115: jtreg tests under jdk/test/javax/script should use nashorn as script engine
Reviewed-by: alanb
2013-02-27 17:22:44 +05:30
Edvard Wendelin
2f5be3ab0d Merge 2013-02-25 08:44:00 +01:00
Mark Sheppard
ec9e303630 8006182: cleanup to use java.util.Base64 in java security component, providers, and regression tests
Refactored code to use java.util.Base64 Mime Encoder and Decoder as a replacement for sun.misc.BASE64Encoder and sun.misc.BASE64Decoder

Reviewed-by: vinnie, chegar, sherman
2013-02-21 20:01:22 +00:00
Lana Steuck
835c35dc91 Merge 2013-02-21 17:43:57 -08:00
Robert Field
56baa11720 8008356: Test LambdaSerialization.java failing
Run in /othervm mode

Reviewed-by: ksrini
2013-02-21 15:46:37 -08:00
Daniel D. Daugherty
5eb01d191d 8008352: java/lang/instrument/RedefineSubclassWithTwoInterfaces.sh fails on MKS
Use more portable pattern counting constructs in test driver.

Reviewed-by: sspitsyn, sla, coleenp
2013-02-20 13:23:56 -08:00
Lana Steuck
09dadebbf1 Merge 2013-02-19 22:23:34 -08:00
Edvard Wendelin
d73e2aa93f Merge 2013-02-19 21:53:06 +01:00
Edvard Wendelin
cbfc80d987 Merge 2013-02-19 21:48:01 +01:00
Eric McCorkle
78fe727c6d 8008312: Re-enable MethodParameter tests in JDK
Reviewed-by: darcy
2013-02-19 17:09:25 +00:00
Konstantin Shefov
a97003cb22 8006070: TEST_BUG: Up and down the Y coordinate of the mouse position, the selected item doesn't change for the single list
Reviewed-by: serb, anthony
2013-02-19 20:00:02 +04:00
Sean Coffey
117010c6ec 8007315: HttpURLConnection.filterHeaderField method returns null where empty string is expected
Reviewed-by: chegar
2013-02-19 14:12:09 +00:00
Konstantin Shefov
88eea092fb 8008379: TEST_BUG: Fail automatically with java.lang.NullPointerException
Reviewed-by: serb, anthony
2013-02-19 17:26:40 +04:00
Joe Wang
dc574bf905 6657673: Issues with JAXP
Reviewed-by: alanb, lancea, ahgross, mullan
2013-02-18 13:02:09 -08:00
Sean Mullan
2e810672ba 8003445: Adjust JAX-WS to focus on API
Reviewed-by: vinnie, ahgross, mgrebac
2013-03-27 10:37:46 +00:00
Frank Ding
7886b3e26b 6429204: (se) Concurrent Selector.register and SelectionKey.interestOps can ignore interestOps
Reviewed-by: alanb
2013-02-18 08:14:18 +00:00
David Holmes
390cc1d7a1 Merge 2013-02-17 16:44:19 -05:00
Robert Field
381aecb7c2 8004970: Implement serialization in the lambda metafactory
Reviewed-by: forax
2013-02-16 12:36:54 -08:00
Vera Akulova
d273278133 8005920: After pressing combination Windows Key and M key, the frame, the instruction and the dialog can't be minimized
Reviewed-by: serb, denis
2013-02-15 17:46:39 +04:00
Chris Hegarty
5c9a25d2d2 8008223: java/net/BindException/Test.java fails rarely
Reviewed-by: khazra, alanb
2013-02-15 11:06:52 +00:00
Frank Ding
4615442550 8008289: DefaultButtonModel instance keeps stale listeners in html FormView
Reviewed-by: malenkov, alexsch
2013-02-15 15:05:58 +04:00
Xueming Shen
a433a8918d 8008254: j.u.Calendar.JavatimeTest failed at TL b78 pit testing
To use j.t.ZoneId zone name to keep round-trip

Reviewed-by: okutsu
2013-02-15 01:17:31 +00:00
Bharadwaj Yadavalli
07c7afeaac 8007736: VerifyError for use of static method in interface
Reviewed-by: mchung
2013-02-14 11:09:07 -08:00
Lana Steuck
9b523dc375 Merge 2013-02-13 17:57:31 -08:00
Chris Hegarty
24b144ccd9 8008201: Add java/lang/Class/asSubclass/BasicUnit.java to the ProblemList
Reviewed-by: mcimadamore
2013-02-14 13:01:03 +00:00
Daniel D. Daugherty
ba9cf66b48 8007935: java/lang/instrument/RedefineSubclassWithTwoInterfaces.sh should use $COMPILEJAVA for javac
Reviewed-by: sspitsyn, alanb
2013-02-13 13:22:31 -08:00
Lana Steuck
56014d30fc Merge 2013-02-13 12:38:28 -08:00
Lana Steuck
0691bb6c06 Merge 2013-02-13 11:57:59 -08:00
Xueming Shen
48a592be5a 8008161: Regression: j.u.TimeZone.getAvailableIDs(rawOffset) returns non-sorted list
To return a sorted list

Reviewed-by: lancea, naoto
2013-02-13 11:49:34 -08:00
Vinnie Ryan
8f58ebc261 8007755: Support the logical grouping of keystores
Reviewed-by: mullan
2013-02-13 19:40:51 +00:00
Lana Steuck
264f4dbe27 Merge 2013-02-13 11:25:14 -08:00