Commit Graph

10907 Commits

Author SHA1 Message Date
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
David Dehaven
c7429fd2f6 Merge 2016-08-15 10:23:39 -07:00
Sergey Bylokhov
50c19d9194 8163949: Cleanup of classes which are related to JavaSound
Reviewed-by: prr
2016-08-15 20:08:55 +03: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
Vinnie Ryan
3cde7f3104 8163503: PKCS12 keystore cannot store non-X.509 certificates
Reviewed-by: weijun, xuelei, mullan
2016-08-15 14:25:51 +01: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
Sergey Bylokhov
ab8079d89a 8159696: java.beans.MethodRef#get throws NullPointerException
Reviewed-by: alexsch
2016-08-12 20:36:41 +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
Claes Redestad
7ccd401ac7 8163946: java/lang/String/concat/WithSecurityManager.java fails after 8163878
Reviewed-by: mhaupt
2016-08-12 17:35:01 +02:00
Claes Redestad
fff5c5bf8d 8163878: Remove unnecessary bridge methods, allocations in java.lang.invoke
Reviewed-by: mhaupt, shade
2016-08-12 11:30:23 +02: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
16b80b792d 8157579: com/sun/crypto/provider/Mac/MacClone.java failed on solaris12(sparcv9 and x86)
Changed the MAC impl to fall back to SUN provider (or through provider list) if the most preferred impl does not support cloning

Reviewed-by: vinnie, mullan
2016-08-12 00:39:34 +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
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
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
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
Pavel Rappo
5212065235 8163586: java.net.http.RawChannel has been made public by mistake
Reviewed-by: chegar
2016-08-10 22:48:25 +01:00
Claes Redestad
855893cb3b 8163814: JDK build has been failing after 8163373
Reviewed-by: mchung
2016-08-10 22:49:05 +02:00
Claes Redestad
73b11dc1d0 8163373: Rewrite GenerateJLIClassesPlugin to avoid reflective calls into java.lang.invoke
Reviewed-by: vlivanov, mchung
2016-08-10 21:55:25 +02:00
Volker Simonis
0e13ad60ad 8163408: Fix wrong prototype of getNativeScaleFactor() in systemScale.h
Reviewed-by: serb
2016-08-10 17:55:08 +02:00
Claes Redestad
bb95ea6101 8163370: Reduce number of classes loaded by common usage of java.lang.invoke
Reviewed-by: igerasim, psandoz
2016-08-10 13:54:38 +02:00
Sean Coffey
23853ed3e4 8163104: Unexpected NPE still possible on some Kerberos ticket calls
Reviewed-by: weijun
2016-08-10 11:54:12 +01: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
Alexander Zvegintsev
88f2ad28aa 8155690: Update libPNG library to the latest up-to-date
Reviewed-by: serb
2016-08-10 02:50:58 +03:00
Phil Race
9797ce7dcb 8163238: Upgrade to harfbuzz 1.3.0 in JDK 9
Reviewed-by: vadim, serb
2016-08-09 16:20:02 -07: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
Jayathirth D V
c4a6631fc1 8160455: KSS : class.forName issue in TIFFImageMetadata.java
Reviewed-by: prr, bpb, serb
2016-08-09 13:55:27 +05:30
Jayathirth D V
0127b8e8b5 8160456: KSS : resource loading issue in TIFFMetadataFormat.java
Reviewed-by: prr, bpb
2016-08-09 13:45:17 +05:30
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
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
Sergey Bylokhov
fdfda0df82 8162970: Merge error in the DefaultRowSorter.java
Reviewed-by: alexsch
2016-08-05 16:20:02 +03:00
Athijegannathan Sundararajan
34e2e88ae2 8163256: jlink/plugins/ExcludeVMPluginTest.java failed with Selected VM server doesn't exist
Reviewed-by: jlaskey, alanb
2016-08-05 18:16:45 +05:30
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
Athijegannathan Sundararajan
70ad571a32 8146721: FileCopierPlugin should not create fake module
Reviewed-by: jlaskey, alanb
2016-08-04 19:39:42 +05:30
Ivan Gerasimov
4809e92cec 8163180: Typos around @code javadoc tag usage
Reviewed-by: dfuchs
2016-08-04 16:05:37 +03:00
Christoph Langer
d83a402794 8162819: fix minor Javadoc issues and remove warnings in java.net.Socket
Reviewed-by: dfuchs
2016-08-03 21:15:05 +02: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
Li Jiang
a2e634345b 8159713: Make the non-translated keywords clear to translator in jar.properties
8161183: Need extra newline in the end of for multi-lines strings in jar.properties

Reviewed-by: naoto
2016-08-03 15:18:58 +08:00
Christoph Langer
3673248f32 8163177: Fix for 8152971 breaks builds with VS2010
Reviewed-by: simonis, pnarayanan
2016-08-04 15:58:28 +02:00
Brian Burkhalter
3c2ec5319e 8155960: TIFF javadoc contains HTML entities inside {@code} tags
Remove   from inside @code tags.

Reviewed-by: prr
2016-08-03 17:01:51 -07:00
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
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
Naoto Sato
6d70a9e52d 8162797: Code clean-up in IncludeLocalesPlugin
Reviewed-by: sundar
2016-08-02 10:58:16 -07:00
Phil Race
0100968f1c 8074843: Resolve disabled warnings for libmlib_image and libmlib_image_v
Reviewed-by: vadim, psadhukhan
2016-08-02 10:43:31 -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
0a24ae0e00 8160736: KSS : unnecessary class.forName in TIFFJPEGCompressor.java
Reviewed-by: prr, bpb, vadim
2016-08-02 16:14:59 +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
Rajeev Chamyal
c7f532a83d 8144594: HiDPI: awt.Choice looks improperly (Win 8)
Reviewed-by: alexsch, serb
2016-08-02 10:46:08 +05:30
Athijegannathan Sundararajan
15cf9b716f 8162782: jlink ResourcePool.releaseProperties should be removed
Reviewed-by: jlaskey, alanb
2016-08-02 07:19:06 +05:30
Nishit Jain
a92810e865 7153347: System read/stat/open calls should be hardened to handle EINTR
Reviewed-by: okutsu
2016-08-02 10:31:05 +09:00
Sean Mullan
4130468fcd Merge 2016-08-01 17:00:26 -04:00
Sean Mullan
dded3f4e47 8162882: Permission merge issue in jdk.crypto.ucrypto module
Reviewed-by: valeriep
2016-08-01 16:59:04 -04:00
Claes Redestad
68a5236016 8162439: Runtime.Version.parse needs fast-path for major versions
Reviewed-by: psandoz, sdrach, iris
2016-08-01 20:32:10 +02:00
Phil Race
8ab66b8911 Merge 2016-08-01 10:06:09 -07:00
Sean Mullan
df31ad7090 8161506: Deprecate pre-1.2 SecurityManager methods and fields with forRemoval=true
Reviewed-by: coleenp, jnimeh, xuelei
2016-08-01 09:58:36 -04:00
Rachna Goel
0eb7344760 8066652: Default TimeZone is GMT not local if user.timezone is invalid on Mac OS
Reviewed-by: okutsu
2016-08-01 15:55:54 +09:00
Weijun Wang
3d915b8f78 8162752: keytool -importkeystore should probe srcstoretype if not specified
Reviewed-by: mullan
2016-07-31 09:40:17 +08:00
Weijun Wang
dd3b3b2ba5 8159528: Deprivilege java.security.jgss, jdk.security.jgss and jdk.security.auth
Reviewed-by: mchung, mullan
2016-07-31 09:37:02 +08:00
Sean Mullan
663f6eb830 8159752: Grant de-privileged module permissions by default with java.security.policy override option
Reviewed-by: alanb, chegar, mchung, tbell, weijun
2016-07-29 19:00:54 -04:00
Steve Drach
def15478eb 8158295: Add a multi-release jar validation mechanism to jar tool
Reviewed-by: ogb, psandoz
2016-07-29 09:58:28 -07:00
Claes Redestad
0ae20fdfaa 8163476: java/lang/StackWalker/VerifyStackTrace.java fails after JDK-8163369
Reviewed-by: igerasim, chegar
2016-08-09 15:02:27 +02:00
Claes Redestad
cdef6ef876 8163369: Enable generating DMH classes at link time
Reviewed-by: vlivanov, shade
2016-08-09 10:00:31 +02:00
Tomas Hurka
3be823e0db 8162815: unnecessary object creation in reflection
Reviewed-by: psandoz, shade
2016-08-09 09:42:01 +02:00
Athijegannathan Sundararajan
93cbc70d81 8163382: ResourcePoolManager.findEntry has a bug in startsWith call
Reviewed-by: jlaskey, redestad
2016-08-09 09:44:25 +05:30
Brian Burkhalter
97b666ee29 8162745: content-types.properties files are missing some modern types
Add some content types from HTML5 and Xiph.

Reviewed-by: rriggs, chegar
2016-08-08 13:58:14 -07:00
Brian Burkhalter
522e112b4a 8146215: (fs) java/nio/file/Files/probeContentType/Basic.java failed frequently on Solaris-sparc with Unexpected type: text/plain
Append a FileTypeDetector using java.net.FileNameMap as a fallback on all platforms

Reviewed-by: alanb, rriggs, naoto
2016-08-08 13:57:51 -07:00
Alejandro Murillo
a2a5ee0193 Merge 2016-08-08 11:04:57 -07:00
Roger Riggs
e54c445538 8161431: JNI pending exceptions in ProcessHandleImpl_linux.c and ProcessHandleImpl_unix.c
Reviewed-by: naoto
2016-08-08 13:55:16 -04:00
Alejandro Murillo
961ca2224c Merge 2016-08-08 08:12:20 -07:00
Weijun Wang
d418a61b62 8163303: Remove identity scope information from jarsigner -verbose output
Reviewed-by: mullan
2016-08-08 21:51:01 +08:00
Felix Yang
9b7097c149 8163149: Typo in java.net.http.AuthenticationFilter
Reviewed-by: chegar, rriggs
2016-08-05 18:45:40 -07:00
Claes Redestad
8cf37c5448 8161379: Force inline methods calling Reflection.getCallerClass
Reviewed-by: shade, mchung
2016-08-06 00:34:50 +02:00
Alejandro Murillo
83f8829c06 Merge 2016-08-05 09:50:29 -07:00
Markus Grönlund
b152d05787 8162945: HotspotDiagnosticMXBean getFlags erroneously reports OutOfMemory
Reviewed-by: egahlin, dcubed
2016-08-02 18:36:47 +02:00
Amit Sapre
c4dce28e8e 8162702: com.sun.management.internal.GcInfoBuilder.getPoolNames should not return reference of it's private member
Return clone of array

Reviewed-by: dholmes, hb, dsamersoff
2016-08-01 15:27:07 +03:00
Amit Sapre
496e48d0fb 8162524: src/jdk.management/share/native/libmanagement_ext/Flag.c doesn't handle JNI exceptions
Add missed exception check

Reviewed-by: dholmes, hb, dsamersoff
2016-08-01 13:53:55 +03:00
Alejandro Murillo
435f7046be Merge 2016-07-30 00:11:02 +00:00
Alejandro Murillo
41186dae1b Merge 2016-07-29 16:11:57 -07:00
Li Jiang
d8180948ff 8161544: JDK9 message drop 20 resource updates - OpenJDK
JDK9 message drop 20 resource updates - openjdk

Reviewed-by: peytoia, weijun
2016-07-29 09:34:20 -07:00
Semyon Sadetsky
ae42c4bfa7 8157827: AWT_Desktop/Automated/Exceptions/BasicTest loads incorrect GTK version when jdk.gtk.version=3
Reviewed-by: prr
2016-07-29 11:25:59 +03:00
Semyon Sadetsky
0faa49fb23 8160448: Make GTK3 menus appearence similar to native
Reviewed-by: alexsch
2016-07-29 11:19:28 +03:00
Paul Sandoz
8dc58ab506 8162458: Buffer view implementations use incorrect offset for Unsafe access
Reviewed-by: alanb
2016-07-29 10:18:47 +02:00
Semyon Sadetsky
7c91e56ca7 8161195: Regression: closed/javax/swing/text/FlowView/LayoutTest.java
Reviewed-by: alexsch
2016-07-29 11:14:05 +03:00
Semyon Sadetsky
5e8ef54fb0 8016313: java.awt.Headless exception has no spec since its creation
Reviewed-by: prr
2016-07-29 11:08:34 +03:00
Semyon Sadetsky
742777a00d 8117886: There is no tooltip while moving the mouse on the tray icon
Reviewed-by: alexsch
2016-07-29 11:04:52 +03:00
Semyon Sadetsky
cb959adf02 8161273: [hidpi] The frame insets size is wrong on Linux HiDPI because it is not scaled
Reviewed-by: alexsch
2016-07-29 10:59:43 +03:00
Semyon Sadetsky
6ac698e26b 8160246: Regression: 4410243 reproducible with GTK LaF
Reviewed-by: alexsch
2016-07-29 10:56:30 +03:00