Commit Graph

7834 Commits

Author SHA1 Message Date
Dmitry Dmitriev
88ceff1127 8165513: Quarantine sun/tools/jps/TestJpsJar.java
Reviewed-by: dsamersoff
2016-09-07 15:34:38 +03:00
Harold Seigel
6f8c0a7193 8058575: IllegalAccessError trying to access package-private class from VM anonymous class
Put anonymous classes in unnamed package into host class's package.  Throw exception if host class's package differs from anonymous class.

Reviewed-by: coleenp, acorn
2016-09-07 07:21:43 -04:00
Serguei Spitsyn
2fe671f646 Merge 2016-09-07 03:35:45 +00:00
Egor Ushakov
86762c9fff 6822627: NPE at ReferenceTypeImpl.constantPool
Fix the NullPointerException bug

Reviewed-by: sspitsyn, dsamersoff
2016-09-06 20:27:47 -07:00
Stuart Marks
97fa8cd04e 8159404: throw UnsupportedOperationException unconditionally for mutator methods
Reviewed-by: martin, psandoz
2016-09-06 16:08:54 -07:00
Alexandre Iline
9aa36236be 8148859: Fix module dependences for java/time tests
Reviewed-by: alanb, rriggs
2016-09-06 17:07:06 -04:00
Amit Sapre
d356b8d085 8164730: Make it clear that 'cl' parameter passed to RMIConnector.OISWL is never null
Added checks inside constructor of ObjectInputStreamWithLoader inner class. Test case added.

Reviewed-by: dfuchs, alanb
2016-09-06 13:57:03 +05:30
Sharath Ballal
fec04dd065 8164943: sun/tools/jhsdb/HeapDumpTest failed with Can't find library: /test/lib/share/classes
Change /test/lib/share/classes to /test/lib in HeapDumpTest.java

Reviewed-by: dsamersoff, ctornqvi
2016-09-06 09:37:55 +03:00
Ivan Gerasimov
164b17df5b 8165243: Base64.Encoder.wrap(os).write(byte[],int,int) with incorrect arguments should not produce output
Reviewed-by: rriggs, alanb, sherman
2016-09-03 13:43:01 +03:00
Brian Burkhalter
925586066c 8165000: Selector.select(timeout) throws IOException when timeout is a large long
Clamp the timeout passed to kevent0 to the largest value that does not provoke the error.

Reviewed-by: clanger, alanb
2016-09-02 12:38:27 -07:00
Andrey Dyachkov
6d3b1a78ad 8155102: (Process) Process.toString could include pid, isAlive, exitStatus
Reviewed-by: rriggs
2016-09-02 12:30:46 -04:00
George Triantafillou
3d2958a962 8165293: Remove ClassesByName2Test.java and RedefineCrossEvent.java from ProblemList.txt
Reviewed-by: dcubed
2016-09-02 11:20:33 -04:00
Alejandro Murillo
092d3bef1c Merge 2016-09-01 15:20:57 -07:00
Alejandro Murillo
f7039c9c31 Merge 2016-09-01 14:09:04 -07:00
Phil Race
2551c0ae07 Merge 2016-09-01 08:39:27 -07:00
Sean Coffey
9807f64dfc 8164846: CertificateException missing cause of underlying exception
Reviewed-by: xuelei
2016-09-01 11:01:47 +01:00
Amit Sapre
277a5b423f 8164609: javax/management/remote/mandatory/notif/DeadListenerTest.java fails with Assertion Error
Increased test timeout to ensure test case gets all notifications.

Reviewed-by: dholmes
2016-09-01 15:02:32 +05:30
Ramanand Patil
6906b1ad96 8161016: Strange behavior of URLConnection with proxy
Reviewed-by: shade, chegar
2016-09-01 10:35:38 +05:30
Paul Sandoz
3bd5ebe2ef 8162108: Rename weakCompareAndSetVolatile to weakCompareAndSet
Reviewed-by: martin
2016-09-01 13:56:13 -07:00
Paul Sandoz
c073edc24c 8162106: Remove VarHandle.addAndGet
Reviewed-by: shade, redestad
2016-09-01 10:17:01 -07:00
Paul Sandoz
82d48917bb 8161444: VarHandles should provide access bitwise atomics
8162107: Add acquire/release variants for getAndSet and getAndAdd

Reviewed-by: shade, redestad
2016-09-01 10:16:57 -07:00
Rajan Halade
53db4a4609 8164229: Redundant "sun/net/www/protocol/https" tests in jdk_security3 group
Reviewed-by: chegar
2016-08-31 16:16:01 -07:00
Alejandro Murillo
f2099ceae0 Merge 2016-08-31 13:50:02 -07:00
Alexandre Iline
3ff1d554b4 8164982: Fix legal notices in java/lang, java/net, java/util tests
Reviewed-by: darcy, iris
2016-08-31 09:46:50 -07:00
Alejandro Murillo
44fb1c5f24 Merge 2016-08-31 09:22:54 -07:00
Sibabrata Sahoo
3d17ae2b1d 8164922: sun/security/provider/SecureRandom/AutoReseed.java failed with timeout in Ubuntu Linux
The test timeout waiting to get seed in an exhausted Linux platform.

Reviewed-by: weijun
2016-08-31 08:44:12 -07:00
Sibabrata Sahoo
2822e9e2d6 8015595: Test sun/security/krb5/auto/Unreachable.java fails with Timeout error
Unreachable.java was getting timeout due to PortUnreachableException was not thrown

Reviewed-by: weijun
2016-08-31 08:34:59 -07:00
Claes Redestad
5afec5d3d6 8164858: Enable build-time use of java.lang.invoke resolve tracing
Reviewed-by: erikj, vlivanov
2016-08-31 14:20:02 +02:00
Jini George
c7a2c07ca8 8163150: SA: CLHSDB printmdo throws an exception with "java.lang.InternalError: missing reason for 22"
Accounted for the new JVMCI related Deoptimization Reasons.

Reviewed-by: dsamersoff, sla
2016-08-31 11:46:59 +03:00
Kim Barrett
7bddef3ed0 8156500: Move Reference pending list into VM to prevent deadlocks
Move reference pending list and locking into VM

Co-authored-by: Per Liden <per.liden@oracle.com>
Reviewed-by: coleenp, dholmes, dcubed, mchung, plevart
2016-08-30 23:46:02 -04:00
Alexandre Iline
0b55f8862f 8164859: Fix module dependences in java/text tests
Reviewed-by: naoto
2016-08-30 14:30:32 -07:00
Phil Race
f020ea7a19 Merge 2016-08-30 08:45:21 -07:00
Prasanta Sadhukhan
dba7bcf4f8 6357887: selected printertray is ignored under linux
Reviewed-by: prr, vadim
2016-08-30 11:07:58 +05:30
Masayoshi Okutsu
5f5e297c52 8157792: After Integrating tzdata2016d the test/sun/util/calendar/zi/TestZoneInfo310.java fails for "Asia/Oral" and "Asia/Qyzylorda" Timezones
Reviewed-by: peytoia
2016-08-30 14:16:16 +09:00
Amy Lu
5ee89f9f22 8164545: Mark java/net/URLPermission/nstest/lookup.sh as intermittently failing
Reviewed-by: dfuchs
2016-08-30 09:36:23 +08:00
Amy Lu
5c73d79296 8163934: Remove intermittent key from java/lang/ProcessBuilder/Zombies.java
Reviewed-by: darcy
2016-08-30 09:31:28 +08:00
Svetlana Nikandrova
af8dc755fd 8164533: sun/security/ssl/SSLSocketImpl/CloseSocket.java failed with "Error while cleaning up threads after test"
Reviewed-by: xuelei
2016-08-29 20:55:06 +03:00
Phil Race
0e155b2a1b Merge 2016-08-29 08:53:32 -07:00
Christoph Langer
ea29d586dd 8164649: Cleanup of test java/nio/channels/FileChannel/Lock.java
Reviewed-by: alanb
2016-08-29 11:23:34 +02:00
Dmitry Samersoff
7c219b82fc 8160923: sun/tools/jps/TestJpsJar.java fails due to ClassNotFoundException: jdk.testlibrary.ProcessTools
Cleanup build tag

Reviewed-by: iklam, rehn, ctornqvi
2016-08-29 11:59:52 +03:00
Bradford Wetmore
9cda798a33 8061842: Package jurisdiction policy files as something other than JAR
Reviewed-by: xuelei, weijun, mullan
2016-08-26 13:44:20 -07:00
Alejandro Murillo
4d1d2d4cf3 Merge 2016-08-26 10:14:15 -07:00
Alejandro Murillo
542ac8a147 Merge 2016-08-26 10:02:50 -07:00
Sharath Ballal
d6ad2ec5c5 8163346: Update jmap-hashcode/Test8028623.java for better diagnostic of timeout
Update jmap-hashcode/Test8028623.java to use LingeredApp and rename it to jhsdb/HeapDumpTest.java

Reviewed-by: dsamersoff, dholmes
2016-08-26 13:11:39 +03:00
Sibabrata Sahoo
6ab4f9a732 8006690: sun/security/krb5/auto/BadKdc* tests fails intermittently
Some of test for bad KDC failed intermittently

Reviewed-by: weijun
2016-08-26 01:20:30 -07:00
Athijegannathan Sundararajan
ab6aaea20a 8147491: module graph consistency checks after jlink plugins operate on module pool
Reviewed-by: jlaskey, mchung, psandoz
2016-08-26 11:50:36 +05:30
Stuart Marks
736833a357 8164834: remove jdeprscan from tools/launcher/VersionCheck.java
Reviewed-by: sundar, darcy
2016-08-25 21:58:38 -07:00
Sean Mullan
83c2e4ef3c 8151893: Add security property to configure XML Signature secure validation mode
Reviewed-by: jnimeh, xuelei
2016-08-25 15:06:26 -04:00
Svetlana Nikandrova
f894a28859 8005068: HttpCookie does not correctly handle negative maxAge values
Reviewed-by: chegar
2016-08-25 20:53:40 +03:00
Claes Redestad
2d02799b3b 8164866: tools/jlink/plugins/GenerateJLIClassesPluginTest.java can't compile after JDK-8163371
Reviewed-by: sundar, vlivanov
2016-08-26 18:10:12 +02:00
Felix Yang
616336b6c2 8163561: Add a test for Proxy Authentication in HTTP/2 Client API
Reviewed-by: chegar
2016-08-26 08:33:28 -07:00
Alan Bateman
97fca016ab 8066943: (fs) Path.relativize() gives incorrect result for ".."
Reviewed-by: prappo, bpb
2016-08-25 10:01:20 +01:00
Yasumasa Suenaga
bc0cae288e 8163581: Heap Parameters in HSDB cannot handle G1CollectedHeap
Reviewed-by: dholmes, sjohanss
2016-08-25 12:24:16 +09:00
Doug Lea
4c999ed180 8163353: NPE in ConcurrentHashMap.removeAll()
Reviewed-by: martin, psandoz, redestad, alanb
2016-08-24 12:50:37 -07:00
Robbin Ehn
001e52768a 8158628: test/java/lang/instrument/NativeMethodPrefixAgent.java: Error occurred during initialization of VM: Failed to start tracing backend
Reviewed-by: sla, gtriantafill
2016-08-24 20:51:37 +02:00
Robbin Ehn
dcb6b6c2e6 8164208: Update tests with redefine classes UL options and tags​
Reviewed-by: coleenp, gtriantafill
2016-08-24 20:38:22 +02:00
Brian Burkhalter
34565b8ada 8163136: Add print statements to java/nio/file/WatchService/LotsOfCancels.java
Add some print statements.

Reviewed-by: alanb
2016-08-24 11:23:58 -07:00
Artem Smotrakov
8fe1b11fa9 8164166: Make sure java/nio/channels tests shutdown asynchronous channel groups
Reviewed-by: alanb
2016-08-24 10:58:29 -07:00
Claes Redestad
60754ca0fb 8164569: Generate non-customized invoker forms at link time
Reviewed-by: vlivanov
2016-08-24 16:11:21 +02:00
Weijun Wang
dfa00059e2 8164656: krb5 does not retry if TCP connection timeouts
Reviewed-by: xuelei
2016-08-24 13:32:00 +08:00
Steve Drach
3a04923cad 8164585: JarFile::isMultiRelease does not return true in all cases where it should return true
Reviewed-by: alanb, psandoz
2016-08-23 11:26:41 -07:00
Paul Sandoz
f3e6d78c81 8160971: Re-enable VarHandle tests quarantined by JDK-8160690
Reviewed-by: vlivanov
2016-08-23 15:44:01 -07:00
Brian Burkhalter
dc3e5ed9fb 8164556: Drop AAC and FLAC from content type check in java/nio/file/Files/probeContentType/Basic.java
Remove file extensions of AAC and FLAC audio encodings from the list of extensions verified.

Reviewed-by: alanb
2016-08-23 10:51:17 -07:00
Artem Smotrakov
4b68f37bfe 8164159: java/nio/file/WatchService/UpdateInterference.java test leaves daemon threads
Reviewed-by: alanb
2016-08-23 10:38:01 -07:00
Artem Smotrakov
5971698320 8164592: java/net/MulticastSocket/NoLoopbackPackets.java tests may leave a daemon thread
Reviewed-by: clanger, chegar
2016-08-23 10:32:14 -07:00
Alexandre Iline
a4818844a9 8163126: Fix @modules in some of jdk/* tests
Reviewed-by: weijun, alanb, mchung
2016-08-22 18:22:19 -07:00
Alejandro Murillo
9517153e77 8164589: Remove sun/rmi/runtime/Log/6409194/NoConsoleOutput.java from ProblemList
Reviewed-by: jwilhelm
2016-08-22 15:27:50 -07:00
Christian Tornqvist
a5637c9afa 8164520: java/lang/ProcessHandle/Basic.java is missing @library tag
Reviewed-by: coleenp
2016-08-20 09:36:35 -04:00
Alejandro Murillo
ae1273fa3a Merge 2016-08-19 12:17:32 -07:00
Alejandro Murillo
3fe5cc875a Merge 2016-08-19 11:22:17 -07:00
Christian Tornqvist
0731886f09 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:09:53 -04:00
Steve Drach
4a9aefb851 8164389: jdk.nio.zipfs.JarFileSystem does not completely traverse the versioned entries in a multi-release jar file
Reviewed-by: psandoz
2016-08-18 17:18:21 -07:00
Ivan Gerasimov
1487578b08 8164366: ZoneOffset.ofHoursMinutesSeconds() does not reject invalid input
Reviewed-by: scolebourne, ntv, coffeys
2016-08-22 22:16:54 +03:00
Alejandro Murillo
46babcb5b7 Merge 2016-08-22 08:27:10 -07:00
Peter Levart
b0aa08888c 8164547: Make java.lang.reflect.ClassLoaderValue public for internal use
Move it to jdk.internal.loader and make it public

Reviewed-by: shade, alanb
2016-08-22 13:16:51 +02:00
Rachna Goel
b19bd0a798 8135055: java.util.Date.after(java.sql.Timestamp ) does not return correct results
Reviewed-by: okutsu
2016-08-22 15:17:11 +09:00
Rachna Goel
97f26b2097 8163350: LocaleProviderAdapter Preference list retrieved is wrong, when -Djava.locale.providers=COMPAT
Reviewed-by: naoto, okutsu
2016-08-22 14:55:11 +09:00
Yuka Kamiya
86bb2f51cd 7094818: closed/java/text/Format/DateFormat tests failed on Hindi
8132861: java/text/Format/DateFormat/Bug4845901.java failed in Thai locale
8134733: java/util/Calendar/CalendarRegression.java failed in ar locale

Reviewed-by: okutsu
2016-08-22 14:24:46 +09:00
Weijun Wang
f4ec2171f2 8164437: Test for JDK-8042900
GSSContext is of a different type when jdk.security.jgss is not loaded

Reviewed-by: xuelei
2016-08-20 17:10:17 +08:00
Brian Burkhalter
13f73f71eb 8164432: java/nio/file/Files/probeContentType/Basic.java fails on windows for Content type: audio/vnd.dlna.adts
Add audio/vnd.dlna.adts as an allowed MIME type for the aac extension.

Reviewed-by: darcy
2016-08-19 13:38:12 -07:00
Artem Smotrakov
f86257fff9 8164100: com/sun/crypto/provider/KeyFactory/TestProviderLeak.java fails with java.util.concurrent.TimeoutException
Reviewed-by: valeriep
2016-08-19 10:57:44 -07:00
David Dehaven
9c8bd63007 Merge 2016-08-19 08:47:12 -07:00
Michael Haupt
22e95f995a 8164102: MethodHandles.countedLoop/4 works incorrect for start/end = Integer.MAX_VALUE
Reviewed-by: redestad
2016-08-19 10:03:43 +02:00
Valerie Peng
c846a862ee 8130181: Deprecate java.security.Provider(String, double, String), add Provider(Strin
Added Provider constructor which uses version String and use sun.security.util.PROVIDER_VER

Reviewed-by: weijun
2016-08-19 06:27:54 +00:00
Claes Redestad
9dcafe04f0 8164044: Generate corresponding simple DelegatingMethodHandles when generating a DirectMethodHandle at link time
Reviewed-by: vlivanov, mhaupt, shade
2016-08-18 19:00:39 +02:00
Alejandro Murillo
f657bd2fa9 8164329: Problem list sun/rmi/runtime/Log/6409194/NoConsoleOutput.java on windows due to JDK-8164124
Reviewed-by: darcy
2016-08-18 09:52:43 -07:00
Svetlana Nikandrova
ae448d6e82 8146602: jdk/test/sun/misc/URLClassPath/ClassnameCharTest.java test fails with NullPointerException
Reviewed-by: dfuchs, clanger
2016-08-18 16:27:15 +03:00
Alejandro Murillo
0b42584961 Merge 2016-08-17 08:44:38 -07:00
Weijun Wang
8b6f2f0723 8087144: sun/security/krb5/auto/MaxRetries.java fails with Retry count is -1 less
8153146: sun/security/krb5/auto/MaxRetries.java failed with timeout

Reviewed-by: xuelei
2016-08-17 10:08:18 +08:00
Alejandro Murillo
9acf34189e Merge 2016-08-16 08:18:27 -07:00
Weijun Wang
68ec99774e 8141411: keytool can wrongly parse the start date value given by the -startdate option
Reviewed-by: xuelei
2016-08-16 21:28:10 +08:00
Dmitry Markov
85a2347cb5 8163583: [macosx] Press "To Back" button on the Dialog,the Dialog moves behind the Frame
Reviewed-by: serb
2016-08-16 11:13:46 +03:00
Staffan Larsen
a283244f86 8164012: com/sun/jdi/CatchPatternTest.sh fails on jdk9/hs with Required output "Exception occurred: java.lang.IllegalMonitorStateException" not found
Change test so that irrelevant exceptions do not interfere

Reviewed-by: dholmes, dsamersoff
2016-08-16 09:57:50 +02:00
Sibabrata Sahoo
ca2024b93f 8159964: Update Tests to verify JDK build for "JDK-8159488 Deprivilege java.xml.crypto"
Reviewed-by: valeriep
2016-08-16 12:34:00 +05:30
Artem Smotrakov
aacb739bbd 8162484: javax/net/ssl/Stapling/SSLSocketWithStapling.java test fails intermittently with "Address already in use" error
Reviewed-by: xuelei, jnimeh
2016-08-15 16:32:41 -07:00
Ivan Gerasimov
d928f3fae8 8163896: Finalizing one key of a KeyPair invalidates the other key
Reviewed-by: coffeys, vinnie
2016-08-15 23:45:32 +03:00
George Triantafillou
73837a5f34 8160833: ClassesByName2Test.java and RedefineCrossEvent.java failing with jtreg tip
Reviewed-by: dholmes, ctornqvi
2016-08-15 15:35:27 -04:00
Doug Lea
c5e580763c 8162627: Miscellaneous changes imported from jsr166 CVS 2016-08
Reviewed-by: martin, psandoz
2016-08-15 09:16:31 -07:00
Doug Lea
33762a65b8 8151158: [TESTBUG] java/util/concurrent/forkjoin/FJExceptionTableLeak.java fails due to out of memory
8144836: [TESTBUG] FJExceptionTableLeak and RemoveLeak fail with -XX:+UseParallelGC -XX:+AggressiveOpts

Reviewed-by: martin, psandoz, amlu, darcy
2016-08-15 09:13:22 -07:00
Doug Lea
0f24b72e4e 8163210: java/util/concurrent/tck/JSR166TestCase.java testWriteAfterReadLock(StampedLockTest): timed out waiting for thread to terminate
Reviewed-by: martin, psandoz, dholmes
2016-08-15 09:09:00 -07:00