Commit Graph

7780 Commits

Author SHA1 Message Date
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
Doug Lea
cdae608a00 8162805: Optimize AtomicBoolean.getAndSet
Reviewed-by: martin, psandoz, shade
2016-08-15 09:04:40 -07:00
David Dehaven
dbba0650a9 Merge 2016-08-15 08:15:02 -07:00
Xue-Lei Andrew Fan
abe8a9eae5 8162362: Introduce system property to control enabled ciphersuites
Reviewed-by: coffeys, mullan
2016-08-13 02:21:30 +00:00
Brian Burkhalter
61860ae01d 8152966: ClassCastException when adding IFD to the TIFFDirectory before the image write
Move the private method getDirectoryAsIFD(TIFFDirectory) from the API class TIFFDirectory to a public method in the internal class TIFFIFD and replace all casts of TIFFDirectory to TIFFIFD with its invocation

Reviewed-by: prr
2016-08-12 14:35:56 -07:00
Alejandro Murillo
284b527560 Merge 2016-08-12 14:12:56 -07:00
Alejandro Murillo
b5eefa753f Merge 2016-08-12 13:58:18 -07:00
Sergey Bylokhov
ab8079d89a 8159696: java.beans.MethodRef#get throws NullPointerException
Reviewed-by: alexsch
2016-08-12 20:36:41 +03:00
Svetlana Nikandrova
dac6760af7 8145732: Duplicate entry in http.nonProxyHosts will ignore subsequent entries
Test update to explicitly cover problematic scenario.

Reviewed-by: chegar
2016-08-12 20:14:25 +03:00
Mikhail Cherkasov
2b8954d7e4 8160696: IllegalArgumentException: adding a component to a container on a different GraphicsDevice
Reviewed-by: serb
2016-08-12 18:43:13 +03:00
John Jiang
bb160cec9c 8163435: Update issue number for SupportedDHKeys.java and UnsupportedDHKeys.java in ProblemList
Sun/security/pkcs11/KeyAgreement/SupportedDHKeys.java and sun/security/pkcs11/KeyAgreement/UnsupportedDHKeys.java should be tracked by JDK-8077138 rather than JDK-8154910.

Reviewed-by: mullan
2016-08-12 14:38:02 +08:00
John Jiang
5c39a70c30 8161340: ProblemList.txt update for sun/security/tools/keytool/autotest.sh
Remove sun/security/tools/keytool/autotest.sh from ProblemList.txt due to JDK-8130302 has been resolved

Reviewed-by: weijun
2016-08-12 14:36:14 +08:00
John Jiang
57152c2c9a 8160611: Clean up ProblemList.txt for closed/resolved issues
Clean up ProblemList.txt for JDK-8130339, JDK-8068645, JDK-8061177, JDK-8058616, JDK-8046285 and JDK-8031555

Reviewed-by: darcy
2016-08-12 14:34:45 +08:00
Pete Brunet
780aad0314 8161483: Implement AccessibleAction interface in JList.AccessibleJList.AccessibleJListChild
Move AccessibleAction implementation from subclass to AccessibleJListChild

Reviewed-by: alexsch, prr, darcy
2016-08-11 21:48:53 -05:00
Valerie Peng
805fa70745 8154113: java.security.AccessControlException: access denied ("java.security.SecurityPermission" "authProvider.SunMSCAPI")
Granted security permission "authProvider.SunMSCAPI" to SunMSCAPI provider

Reviewed-by: mullan
2016-08-12 00:47:06 +00:00
Valerie Peng
27492ab667 6469513: (smartcardio) CardPermission(String termName, String actions) violates specification
Changed to allow null actions value

Reviewed-by: xuelei
2016-08-12 00:10:07 +00:00
Igor Veresov
6f42323feb Merge 2016-08-11 16:22:09 -07:00
Ivan Gerasimov
cdf04f9c63 8163877: Tests added in JDK-8163518 fail on some platforms
Reviewed-by: darcy
2016-08-11 23:41:48 +03:00
Brian Burkhalter
d41cfa354a 8145014: "IIOException: Couldn't seek!" when calling TIFFImageReader.getNumImages()
In locateImage() break and decrement image count for zero-entry IFDs and on encountering an EOF.

Reviewed-by: prr
2016-08-11 11:35:47 -07:00
Phil Race
79b2dd4b8d Merge 2016-08-11 10:37:50 -07:00
Jini George
1920a07b8c 8163143: illegal bci error with interpreted frames in SA due to mirror being stored in interpreted frames
Added code to represent the frame mirror offset in SA

Reviewed-by: dsamersoff
2016-08-11 17:47:47 +03:00
Ivan Gerasimov
9088dcdb4a 8163518: Integer overflow in StringBufferInputStream.read() and CharArrayReader.read/skip()
Reviewed-by: rriggs, shade
2016-08-11 17:03:40 +03:00
Weijun Wang
a347e23de0 8133910: Some sun/security/tools tests failed
Reviewed-by: xuelei
2016-08-11 13:10:54 +08:00
Mandy Chung
e2a0ff3e0d 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:51:25 -07:00
Jamil Nimeh
b6e6759ba9 8132943: ServerHandshaker may select non-empty OCSPStatusRequest structures when Responder ID
Select only OCSPStatusRequest objects that have no responder IDs in them when deciding whether to do OCSP stapling and what form of stapling.

Reviewed-by: xuelei
2016-08-09 22:31:41 -07:00
Weijun Wang
359795c50d 8162739: Create new keytool option to access cacerts file
Reviewed-by: erikj, vinnie, mullan
2016-08-10 11:30:53 +08:00
Weijun Wang
ebf98a1654 8163489: Avoid using Utils.getFreePort() in TsacertOptionTest.java test
Reviewed-by: chegar
2016-08-10 11:21:01 +08:00
Alexander Scherbatiy
56b7589578 8160986: Bad rendering of Swing UI controls with Metal L&F on HiDPI display
Reviewed-by: prr
2016-08-09 12:08:51 +03:00
Prasanta Sadhukhan
74f5aaca1c 5080098: Page Range must be disabled on the common print dlg for Non serv-formatted flvrs
Reviewed-by: prr, jdv
2016-08-09 13:22:58 +05:30
Alexander Scherbatiy
fa627e16d5 8162856: JSlider thumb is twice smaller on HiDPI display
Reviewed-by: prr, serb
2016-08-09 10:17:51 +03:00
Brian Burkhalter
f270d810ad 8150154: AIOOB Exception during sequential write of TIFF images
Need to reset isRescaling variable when resetting the ImageWriter.

Reviewed-by: prr
2016-08-08 11:09:19 -07:00
Yasumasa Suenaga
6500bf0035 8163272: jhsdb jinfo cannot show system properties
Reviewed-by: dholmes, dsamersoff
2016-08-08 21:59:33 +09:00
Dmitrij Pochepko
91414d0dfc 8129523: java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java timeout
Reviewed-by: kvn
2016-08-08 11:32:11 +03:00
Robin Stevens
2bd07e4f39 8161664: Memory leak in com.apple.laf.AquaProgressBarUI removed progress bar still referenced
Reviewed-by: serb, alexsch
2016-08-08 11:40:39 +04:00
Phil Race
badde41605 Merge 2016-08-05 12:03:58 -07:00
Phil Race
f154b67d33 Merge 2016-08-05 10:23:28 -07:00
Alejandro Murillo
ce2288fa72 Merge 2016-08-05 09:58:09 -07:00
Alejandro Murillo
83f8829c06 Merge 2016-08-05 09:50:29 -07:00
Ambarish Rapte
7c82dd1d04 8039081: [TEST_BUG] Test java/awt/TrayIcon/PopupMenuLeakTest/PopupMenuLeakTest.java fails
Reviewed-by: serb, psadhukhan
2016-08-05 15:48:37 +05:30
Athijegannathan Sundararajan
f622ccd42d 8163116: jlink exclude VM plugin does not fully support cross platform image creation
Reviewed-by: redestad, alanb, mchung
2016-08-05 09:42:05 +05:30
Chris Plummer
6325503100 8162670: make of jtreg_tests fails if no tests are run, causing jprt test runs to also fail
Clear the jtreg exit code when set to 1.

Reviewed-by: stsmirno, dholmes
2016-08-04 16:11:30 -07:00
Brian Burkhalter
0af4f24e45 8162902: Add some debugging output to test/java/nio/file/WatchService/DeleteInterference
Add printing of iteration numbers

Reviewed-by: alanb
2016-08-04 14:29:27 -07:00
Athijegannathan Sundararajan
70ad571a32 8146721: FileCopierPlugin should not create fake module
Reviewed-by: jlaskey, alanb
2016-08-04 19:39:42 +05:30
Amy Lu
4710805267 8161024: Remove intermittent key from java/lang/Runtime/exec/LotsOfOutput.java
Reviewed-by: darcy
2016-08-04 15:45:24 +08:00
Roger Riggs
8bdadcb9dc 8160151: java/lang/ProcessBuilder/Zombies.java failed with error "1 zombies!"
Reviewed-by: dfuchs
2016-08-03 12:55:44 -04:00
Joe Darcy
ea95778f91 8162817: Annotation toString output not reusable for source input
Reviewed-by: plevart
2016-08-03 08:13:45 -07:00
Ajit Ghaisas
f140028251 6427331: NullPointerException in LookupOp.filter(Raster, WritableRaster)
Reviewed-by: psadhukhan, prr
2016-08-03 14:49:01 +05:30
Prasanta Sadhukhan
ac5928bc2a 6575247: Banner checkbox in PrinterJob print dialog doesn't work
Reviewed-by: prr, jdv
2016-08-03 14:45:25 +05:30
Laurent Bourgès
d9c6c4744a 8159638: Improve array caches and renderer stats in Marlin renderer
Byte/Float/Int ArrayCache (Reference) refactoring + improved cache statistics and tuning settings

Reviewed-by: flar, prr
2016-08-03 22:53:38 +02:00
Amy Lu
8962d2c020 8161970: Remove tools/jlink/JLinkOptimTest.java from ProblemList.txt
8157664: Remove JInfoSanityTest.java JInfoRunningProcessFlagTest.java and JMapHeapConfigTest.java from ProblemList.txt

Reviewed-by: sundar, dsamersoff
2016-08-03 13:32:59 +08:00
Nishit Jain
55be447abd 8035133: Locale matching: Weight q=0 isn't handled correctly
Reviewed-by: okutsu, peytoia
2016-08-03 09:37:57 +09:00
Tim Du
d43f127302 8160337: Remove intermittent key from sun/security/pkcs11/rsa/TestKeyPairGenerator.java
Reviewed-by: rhalade, xuelei
2016-08-02 10:36:33 -07:00
Athijegannathan Sundararajan
48757f6029 8159487: Add JAVA_VERSION, OS_NAME, OS_ARCH properties in release file
Reviewed-by: jlaskey
2016-08-02 17:33:50 +05:30
Jayathirth D V
d375707075 8160943: skipImage() in JPEGImageReader class throws IIOException if we have gaps between markers in Jpeg image
Reviewed-by: prr, flar
2016-08-02 15:55:03 +05:30