Commit Graph

11196 Commits

Author SHA1 Message Date
Kumar Srinivasan
0542ae2f13 8067889: 4 pack200 tests fail on mac since jdk became modular
Reviewed-by: alanb, chegar
2014-12-29 07:38:54 -08:00
Harold Seigel
16043e410a Merge 2014-12-27 13:27:07 -05:00
Alexander Kulyakthin
53664dc976 8068242: Quarantine the test IsModifiableClassAgent.java
Quarantine the test

Reviewed-by: hseigel, jbachorik, dsamersoff
2014-12-27 07:09:32 -08:00
Lana Steuck
95dbb38fbe Merge 2014-12-25 19:46:17 -08:00
Yumin Qi
c08e6d66cb Merge 2014-12-24 20:23:31 +00:00
Stuart Marks
457488c158 8067316: TEST_BUG: update RMI test library with better test.timeout.factor handling
Reviewed-by: lancea
2014-12-23 16:58:06 -08:00
Athijegannathan Sundararajan
3ad1d2a580 8068279: (typo in the spec) javax.script.ScriptEngineFactory.getLanguageName
Reviewed-by: jlaskey, alanb
2015-01-05 21:52:03 +05:30
Chris Hegarty
916c818ec2 8054565: FilterOutputStream.close may throw IOException if called twice and underlying flush or close fails
Co-authored-by: Nathan Clement <nathan.a.clement@hotmail.com>
Reviewed-by: alanb, prappo
2015-01-04 19:32:46 +00:00
Lana Steuck
253948253b Merge 2014-12-23 13:58:34 -08:00
Brian Burkhalter
89ee032790 8067964: Native2ascii doesn't close one of the streams it opens
Change sun.tools.native2ascii.Main.convert() to use try-with-resources; also clean up code formatting.

Reviewed-by: chegar
2014-12-23 12:40:06 -08:00
Alejandro Murillo
45a55f064e Merge 2014-12-23 11:06:13 -08:00
Brian Burkhalter
0062f27c96 8030090: (fs) Add default methods to Path for derived methods
Use method bodies from sun.nio.fs.AbstractPath as default method implementations in Path.

Reviewed-by: alanb
2014-12-23 10:09:52 -08:00
Vinnie Ryan
befd7d1c25 8044445: JEP 229: Create PKCS12 Keystores by Default
Reviewed-by: mullan, weijun
2014-12-23 16:30:57 +00:00
Amanda Jiang
9589fd31c1 8065420: Eliminate internal API dependency from java/net/ResponseCache/ResponseCacheTest.java
Reviewed-by: chegar
2014-12-23 15:10:15 +00:00
Valerie Peng
fa447efe14 8049312: AES/CICO test failed with on several modes
Fixed error in calculating data sizes when using feedback modes

Reviewed-by: xuelei
2014-12-23 02:58:15 +00:00
Valerie Peng
2f10f1d200 8043349: Consider adding aliases for Ucrypto algorithm-only Cipher transformations
Add alias RSA and AES for RSA/ECB/PKCS1Padding and AES/ECB/PKCS5Padding.

Reviewed-by: wetmore
2014-12-23 02:36:48 +00:00
Phil Race
22f59ce99e Merge 2014-12-20 10:11:14 -08:00
Yumin Qi
5e2fcdcda0 Merge 2014-12-19 22:58:32 -08:00
Alejandro Murillo
f507e301d3 Merge 2014-12-19 17:01:45 -08:00
Katja Kantserova
f1e461b61e 6977426: sun/tools tests can intermittently fail to find app's Java pid
Reviewed-by: dfuchs, jbachorik, egahlin, sjiang
2014-12-19 13:13:11 +01:00
Lana Steuck
d90d57cd11 Added tag jdk9-b43 for changeset 52310706ed47 2014-12-18 19:57:52 -08:00
Lance Andersen
ddcbf61389 8067904: Additional DriverManager clean-up from 8060068
Reviewed-by: mchung
2014-12-18 18:51:28 -05:00
Pavel Rappo
69df2fa9e5 8067870: Fix java.io.ObjectInputStream.PeekInputStream#skip
Reviewed-by: rriggs, alanb
2014-12-18 16:44:32 +00:00
Felix Yang
d215225740 8061442: Update jdk/tools tests to remove check for the "jre" directory
Reviewed-by: alanb, ksrini
2014-12-17 13:41:49 -08:00
Mandy Chung
cf23b1ea4b 8067366: Allow java.{endorsed,ext}.dirs property be set to empty string
Reviewed-by: alanb, hseigel
2014-12-17 12:29:20 -08:00
Pavel Rappo
024e2c06d7 8066642: Fix deprecation warnings in jdk.naming module
Reviewed-by: alanb, chegar
2014-12-17 13:03:29 +00:00
Valerie Peng
66ed69c8ba Merge 2014-12-17 00:19:28 +00:00
Kumar Srinivasan
f8fe49013d 8067421: java -help contains information about "-version:",'-jre-restrict-search', '-no-jre-restrict-search', but they are removed
8067411: tools/launcher/MultipleJRE.sh requires adjustments to work with module boundaries
8067290: Missing bug id in test/tools/launcher/*

Reviewed-by: darcy
2014-12-16 16:02:56 -08:00
Valerie Peng
dbe2f1349f Merge 2014-12-16 22:33:43 +00:00
Stuart Marks
9e2cda5c02 8035117: TEST_BUG: java/rmi/server/RemoteObject/notExtending/NotExtending.java can fail with timeout
Reviewed-by: lancea
2014-12-16 13:45:20 -08:00
Alejandro Murillo
346b210c83 Merge 2014-12-16 13:10:34 -08:00
Aleksei Efimov
2a50c5f3c4 8051641: Africa/Casablanca transitions is incorrectly calculated starting from 2027
Reviewed-by: sherman
2014-12-16 23:59:57 +03:00
Naoto Sato
9cb99ee080 8062588: Support java.util.spi.*, java.text.spi.*, java.awt.im.spi loaded from classpath
Reviewed-by: alanb
2014-12-16 12:48:31 -08:00
Joe Darcy
e9e0b591dc 8067088: Suppress solaris-specific deprecation warnings in the jdk.crypto.ucrypto module
Reviewed-by: valeriep
2014-12-16 11:49:37 -08:00
Sergey Bylokhov
020e01bb92 8065373: [macosx] jdk8, jdk7u60 Regression in Graphics2D drawing of derived Fonts
Reviewed-by: bae, prr
2014-12-16 19:46:22 +00:00
Joe Darcy
41844a4b8c 8067091: Fix Windows-specific deprecation warnings in the jdk.crypto.mscapi module
Reviewed-by: vinnie
2014-12-16 11:05:12 -08:00
Phil Race
95079baa3f Merge 2014-12-16 10:09:22 -08:00
Joe Darcy
0204a1cd9c 8067086: Suppress mac-specific deprecation warnings in the java.desktop module
Reviewed-by: prr
2014-12-16 10:09:01 -08:00
Phil Race
84ddb56140 Merge 2014-12-16 09:58:02 -08:00
Joe Darcy
31ae349097 8067092: Suppress windows-specific deprecation warnings in the java.desktop module
Reviewed-by: prr, alanb
2014-12-16 09:57:33 -08:00
Phil Race
fd64998f9d Merge 2014-12-16 09:51:17 -08:00
Sergey Bylokhov
05705c949e 7077826: Unset and empty DISPLAY variable is handled differently by JDK
Reviewed-by: azvegint, ant
2014-12-16 20:23:46 +03:00
Daniel Fuchs
e580eec37c 8066612: Add a test that will call getDeclaredFields() on all classes and try to set them accessible
This test use the jrt:/ file system to find the name of all classes, then loads each of them, get their declared fields, and attempt to call setAccessible.

Reviewed-by: coffeys, dholmes, plevart
2014-12-16 17:32:56 +01:00
Sergey Bylokhov
d2295af274 6470361: Swing's Threading Policy example does not compile
Reviewed-by: azvegint, alexsch
2014-12-16 19:26:06 +03:00
Phil Race
020063e1f4 Merge 2014-12-16 08:14:50 -08:00
Pavel Rappo
a21f0f99a9 8066867: Add InputStream transferTo to transfer content to an OutputStream
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Patrick Reinhart <patrick@reini.net>
Reviewed-by: chegar
2014-12-16 12:43:36 +00:00
Staffan Friberg
9827fe02ea 8067289: Fix deprecation warnings in java.base module - CRC32C
To remove the deprecation warning in CRC32C class

Reviewed-by: darcy
2014-12-16 04:58:34 +00:00
Joe Darcy
6e57ed8a2c 8066621: Suppress deprecation warnings in java.desktop module
Reviewed-by: prr, alanb, ptbrunet
2014-12-15 17:20:17 -08:00
Roger Riggs
ce6c1fa0fa 8067486: Add diagnostics for Exception: Read from closed pipe hang
Reviewed-by: lancea
2014-12-15 17:36:20 -05:00
Brian Burkhalter
871abc48e4 8025619: (fc) FileInputStream.getChannel on closed stream returns FileChannel that doesn't know that stream is closed
If the stream is closed ensure getChannel() returns a closed channel. Also, FileKey.create() should throw an IOException directly instead of wrapping it in an Error.

Reviewed-by: alanb
2014-12-15 12:09:49 -08:00
Shanliang Jiang
c85244cab9 8067241: DeadlockTest.java failed with negative timeout value
Reviewed-by: dfuchs, sspitsyn
2014-12-15 19:21:59 +01:00
Alexander Scherbatiy
d517ee7ec8 8067441: Some tests fails with error: cannot find symbol getSystemMnemonicKeyCodes()
Reviewed-by: serb, azvegint
2014-12-15 19:21:00 +03:00
Alexander Zvegintsev
fb226280bb 7155963: Deadlock in SystemFlavorMap.getFlavorsForNative and SunToolkit.awtLock
Reviewed-by: ant, serb
2014-12-15 16:00:53 +03:00
Yumin Qi
8382195614 Merge 2014-12-14 23:03:00 +00:00
Coleen Phillimore
ecc9f19dc9 8042418: Remove JVM_FindClassFromClassLoader
The function has been replaced so is no longer used.

Reviewed-by: mchung, dholmes
2014-12-14 16:02:46 -05:00
Amy Lu
3b60f51758 8067112: Update java/util/Collections/EmptyIterator.java to eliminate dependency on sun.tools.java
Reviewed-by: chegar, prappo
2014-12-13 20:22:21 +00:00
Dmitrij Pochepko
5325eb9993 8067295: Need to port Utils chagnes from JDK-8066440 into jdk workspace
Reviewed-by: fzhinkin, iignatyev
2014-12-13 22:14:34 +03:00
Yumin Qi
32d6037fb4 Merge 2014-12-12 20:51:03 -08:00
Dmitrij Pochepko
a8c7ba2129 8067307: Need custom classloaders(parent-last and filtering one) for JDK-8066625 in testlibrary
Reviewed-by: fzhinkin, iignatyev
2014-12-12 21:16:42 +03:00
Alejandro Murillo
edffdf101f Merge 2014-12-12 07:50:34 -08:00
Erik Joelsson
b479361747 8067254: No debug symbols in JPRT Windows builds
Reviewed-by: tbell
2014-12-12 15:35:21 +01:00
Shanliang Jiang
bf6938cb8c 8066952: [TEST-BUG] javax/management/monitor/CounterMonitorTest.java hangs
Reviewed-by: dfuchs
2014-12-12 14:31:26 +01:00
Alejandro Murillo
c88778bc25 Merge 2014-12-11 23:06:14 -08:00
Stuart Marks
7cbda8ab50 8066633: Fix deprecation warnings in java.rmi module
Reviewed-by: darcy, lancea
2014-12-11 18:40:05 -08:00
Valerie Peng
86291780cb 8062170: java.security.ProviderException: Error parsing configuration with space
Updated to parse library path as a line which can contain quoted strings.

Reviewed-by: vinnie
2014-12-12 00:23:32 +00:00
Amanda Jiang
7ffa3cd669 8048819: Implement reliability test for DH algorithm
Added DH test for up-to-4 parties key exchange

Reviewed-by: valeriep
2014-12-12 00:19:17 +00:00
Dmitrij Pochepko
4a438d1f98 8067291: Need additional vm checks in jdk/test/lib/testlibrary/jdk/testlibrary/Platform, checking which vm is run
Reviewed-by: fzhinkin, iignatyev
2014-12-12 00:40:56 +03:00
Tatiana Pivovarova
94c6fd7bc6 8067173: remove Utils::fileAsList
Reviewed-by: kvn, iignatyev
2014-12-24 17:54:00 +03:00
Lana Steuck
7471e6a63c Merge 2014-12-11 12:27:27 -08:00
David Katleman
b2f770c75c Added tag jdk9-b42 for changeset 1a0a8d89a6d7 2014-12-11 11:44:03 -08:00
Dmitry Samersoff
a36baa5d15 8067030: JDWP crash in transport_startTransport on OOM
Check for result of jvmtiAllocate

Reviewed-by: jbachorik, sspitsyn
2014-12-11 06:49:12 -08:00
Konstantin Shefov
cb8bd7875b 8066798: [TEST] Make java/lang/invoke/LFCaching tests use lib/testlibrary/jdk/testlibrary/TimeLimitedRunner.java to define their number of iterations
Reviewed-by: iignatyev, vlivanov
2014-12-11 15:10:35 +03:00
Otavio Santana
89cec23580 8055723: Replace concat String to append in StringBuilder parameters (dev)
Reviewed-by: redestad, ulfzibis, weijun, prappo, igerasim, alanb
2014-12-11 15:23:02 +08:00
Otavio Santana
6e791e3f31 8067207: Replace concat String to append in StringBuilder parameters (client)
Reviewed-by: serb
2014-12-11 15:19:12 +08:00
Xueming Shen
cd51ca39ff Merge 2014-12-10 14:15:31 -08:00
Xueming Shen
b41070012b 8046219: (str spec) String(byte[], int, int, Charset) should be clearer when IndexOutOfBoundsException is thrown
To update the java doc to clarify the existing behavior

Reviewed-by: lancea
2014-12-10 14:11:05 -08:00
Volker Simonis
e29325b0d5 8066589: Make importing sa-jdi.jar optional on its existance
Also fix the location where libjli_static.a is loaded from on AIX

Reviewed-by: erikj, dsamersoff
2014-12-10 18:31:24 +01:00
Alan Bateman
ccab6bc563 8066915: (fs) Files.newByteChannel opens directories for cases where subsequent reads may fail
Reviewed-by: chegar
2014-12-10 15:01:26 +00:00
Denis Fokin
eaff0bd40d 8057788: [macosx] "Pinch to zoom" does not work since jdk7
Reviewed-by: serb, alexsch
2014-12-10 17:10:57 +03:00
Alexander Scherbatiy
32d197a928 8065627: Animated GIFs fail to display on a HiDPI display
Reviewed-by: serb, azvegint
2014-12-10 15:59:21 +04:00
Vladimir Ivanov
e0eba41e1c 8066746: MHs.explicitCastArguments does incorrect type checks for VarargsCollector
Reviewed-by: jrose, psandoz
2014-12-09 09:22:07 -08:00
Weijun Wang
26099e744a 8044500: Add kinit options and krb5.conf flags that allow users to obtain renewable tickets and specify ticket lifetimes
Reviewed-by: valeriep
2014-12-09 18:28:26 +08:00
Alexey Ivanov
e209029c14 8066756: Test test/sun/awt/dnd/8024061/bug8024061.java fails
Reviewed-by: alexsch, azvegint
2014-12-09 13:11:20 +03:00
Jaroslav Bachorik
594e368671 8059949: com/sun/tools/attach/StartManagementAgent.java interrupted! (timed out?)
Reviewed-by: sla
2014-12-09 08:58:19 +01:00
Erik Joelsson
77e5c6eadf 8066761: Investigate -sourcepath usage when compiling java
Removed all uses of -sourcepath

Reviewed-by: jfranck, alanb, ihse
2014-12-09 08:57:41 +01:00
Erik Joelsson
294a85dbe7 8066752: Remove space after -L on linker lines
Reviewed-by: ihse
2014-12-09 08:43:06 +01:00
Stuart Marks
b633764a63 8066835: TEST_BUG: javax/management/remote/mandatory/connection/RMIConnector_NPETest.java fails
Reviewed-by: lancea
2014-12-08 14:32:31 -08:00
Kumar Srinivasan
277a0d2dc8 8066841: Need to exclude javacpl in tools/launcher/VersionCheck.java
Reviewed-by: alanb
2014-12-08 11:54:17 -08:00
Joe Darcy
220aa4b838 8066643: (zipfs) Suppress deprecation warnings in jdk.zipfs module
8066634: Suppress deprecation warnings in java.management module
8066636: Suppress deprecation warnings in the jdk.jvmstat and jdk.jdi modules

Reviewed-by: alanb, lancea, sherman, sla, dfuchs
2014-12-08 09:13:08 -08:00
Kumar Srinivasan
8732d09ae7 8066745: tools/pack200/Pack200Props.java failed with java.lang.OutOfMemoryError: Java heap space
Reviewed-by: alanb
2014-12-08 07:51:59 -08:00
Yumin Qi
3dff2ab063 Merge 2014-12-08 00:25:10 -08:00
Zaiyao Liu
34372ab223 8049432: New tests for TLS property jdk.tls.client.protocols
Reviewed-by: xuelei
2014-12-08 07:15:49 +00:00
Phil Race
fe279aa4d8 Merge 2014-12-07 09:03:07 -08:00
Kirk Shoop
9eafb6c406 8064407: (fc) FileChannel transferTo should use TransmitFile on Windows
Co-authored-by: Valeriy Kopylov <v-valkop@microsoft.com>
Reviewed-by: alanb
2014-12-07 07:10:29 +00:00
Joe Darcy
c278cc80e9 8066638: Suppress deprecation warnings in jdk.crypto module
8066641: Suppress deprecation warnings in jdk.naming module

Reviewed-by: wetmore, xuelei, valeriep, lancea
2014-12-05 17:36:18 -08:00
Chris Plummer
ac8fc3ff27 8066507: JPRT is not capable of running jtreg tests located jdk/test
Fixed by copying same fix already in place in hotspot/test/Makefile.

Reviewed-by: dholmes, tbell
2014-12-05 15:44:01 -08:00
Rob McKenna
9fa1d1239b 8065238: javax.naming.NamingException after upgrade to JDK 8
Reviewed-by: vinnie
2014-12-05 20:13:05 +00:00
Volker Simonis
2570fc5418 8066766: The commands in the modular images are executable by the owner only
Also simplify the 'set executable' step of jspawnhelper in ImageBuilder.java

Reviewed-by: chegar, alanb
2014-12-05 19:46:15 +01:00
Pavel Rappo
421fc583be 8066678: java.nio.channels.Channels cleanup
Reviewed-by: alanb, chegar
2014-12-05 15:35:15 +00:00
Yuri Nesterenko
c08a28b218 8063104: Change open awt regression tests to avoid sun.awt.SunToolkit.realSync, part 2
Reviewed-by: serb, alexsch
2014-12-05 14:55:08 +03:00