697 Commits

Author SHA1 Message Date
Martin Buchholz
623caa1da9 8136570: Stop changing user environment variables related to /usr/dt
4953367: MAWT: Java should be more careful manipulating NLSPATH, XFILESEARCHPATH env variables

Stop changing user environment variables: NLSPATH XFILESEARCHPATH

Reviewed-by: prr
2015-09-16 10:49:11 -07:00
Vyom Tewari
681e6b478b 8073542: File Leak in jdk/src/java/base/unix/native/libnet/PlainDatagramSocketImpl.c
Ensure that file descriptor is properly closed if setsockopt fails.

Reviewed-by: chegar, igerasim
2015-09-17 17:33:00 +02:00
Stuart Marks
343e882e7f 8072722: add stream support to Scanner
Reviewed-by: psandoz, chegar, sherman
2015-09-16 16:24:35 -07:00
Martin Buchholz
a2f0fe3c94 8136583: Core libraries should use blessed modifier order
Run blessed-modifier-order script (see bug)

Reviewed-by: psandoz, chegar, alanb, plevart
2015-09-15 21:56:04 -07:00
Sean Mullan
d323a04105 8015388: Required algorithms for JDK 9
Reviewed-by: jnimeh, wetmore, xuelei
2015-09-16 08:23:37 -04:00
Alejandro Murillo
dd319ca29f Merge 2015-09-15 07:47:44 -07:00
Artem Smotrakov
f1f48ab0d3 8134232: KeyStore.load() throws an IOException with a wrong cause in case of wrong password
Reviewed-by: vinnie
2015-09-14 19:49:28 +03:00
Weijun Wang
20b057fc29 8136425: KeystoreImpl.m using wrong type for cert format
Reviewed-by: vinnie
2015-09-13 10:55:58 +08:00
Roger Riggs
ed3d59c71a 8133552: java/lang/ProcessHandle/InfoTest.java fails intermittently - incorrect user
8133809: Remove java/lang/ProcessHandle/InfoTest.java from the Problem List

Reviewed-by: darcy, chegar, simonis
2015-09-11 09:25:15 -04:00
Naoto Sato
ed2b735ba0 8134915: Improve performance of CLDRLocaleProviderAdapter.getCandidateLocales
Reviewed-by: okutsu
2015-09-10 16:50:39 -07:00
Alejandro Murillo
556157743b Merge 2015-09-10 14:55:20 -07:00
Christoph Langer
981fa17133 8134505: Cleanup of "TimeZone_md.c"
Reviewed-by: rriggs, dsamersoff, simonis
2015-09-10 17:56:24 +02:00
Vyom Tewari
7c9b107d1f 8080402: File Leak in jdk/src/java.base/share/classes/sun/net/sdp/SdpSupport.java
Reviewed-by: alanb, chegar, igerasim, msheppar
2015-09-10 17:14:59 +02:00
Volker Simonis
7beac309c0 8135271: Add missing "-client IGNORE" to jvm.cfg file for ppc64
Reviewed-by: rriggs
2015-09-10 11:44:14 +02:00
Ivan Gerasimov
50aa8839d5 8072466: Deadlock when initializing MulticastSocket and DatagramSocket
Reviewed-by: chegar
2015-09-09 16:33:19 +03:00
Artem Smotrakov
b259dd24ea 8134708: Certpath validation fails to load certs and CRLs if AIA and CRLDP extensions point to LDAP resources
Reviewed-by: mullan, coffeys
2015-09-09 12:39:45 +03:00
Jesper Wilhelmsson
a97c863c3d Merge 2015-09-08 16:10:36 +02:00
Igor Veresov
f48eceb393 Merge 2015-09-07 13:28:41 -07:00
Vyom Tewari
d9d52a27f0 8080486: JNI exception pending in jdk/src/java.base/windows/native/libnet/DualStackPlainSocketImpl.c
Reviewed-by: alanb, chegar, igerasim
2015-09-07 10:37:00 +02:00
Jim Laskey
953b4a3225 8087181: Move native jimage code to its own library (maybe libjimage)
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: alanb, lfoltan, hseigel, acorn
2015-09-04 10:11:43 -03:00
Jamil Nimeh
60cdefbf44 8134364: Add defensive copies to get/set methods for OCSPNonceExtension
Make OCSPNonceExtension immutable, add defensive copies

Reviewed-by: xuelei, mullan
2015-09-04 09:31:47 -07:00
Ahmed Khawaja
7d308d2023 8132081: C2 support for Adler32 on SPARC
Add C2 instrinsic support for Adler32 checksum on SPARC.

Reviewed-by: kvn
2015-09-03 15:04:05 -07:00
Martin Buchholz
24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00
Vyom Tewari
b4782037f6 8064470: JNI exception pending in jdk/src/java/base/unix/native/libjava/FileDescriptor_md.c
Reviewed-by: alanb, chegar, dfuchs
2015-09-01 15:34:58 +02:00
Alejandro Murillo
a088fb343d Merge 2015-08-31 11:26:11 -07:00
Vinnie Ryan
b476482197 8130800: KeyStore.getInstance(File,char[]) does not throw IOE for null password
Reviewed-by: weijun, mullan
2015-08-31 10:14:34 +01:00
Brian Burkhalter
44c462ee50 8133987: (fs) Rename GnomeFileTypeDetector to GioFileTypeDetector
Rename class and associated native file as indicated and fix some related comments in the source and test.

Reviewed-by: alanb
2015-08-28 10:46:43 -07:00
Alejandro Murillo
b4c388e6ce Merge 2015-08-27 14:40:21 -07:00
David Dehaven
eedfee9bfa Merge 2015-08-25 12:19:46 -07:00
Ivan Gerasimov
9073b652b3 8134356: {@code} tag contains &lt; and &gt; sequences
Reviewed-by: martin
2015-08-25 19:45:07 +03:00
Alexander Stepanov
572aef810c 8133802: replace some <tt> tags (obsolete in html5) in security-libs docs
Reviewed-by: mullan
2015-08-25 18:45:09 +03:00
Christoph Langer
739a00037e 8133830: [solaris] Fix for potential memory leak in TimeZone_md.c, function findJavaTZ_md()
Reviewed-by: andrew, goetz, okutsu
2015-08-25 18:40:32 +03:00
Rob McKenna
9835141429 8087190: Regression in sun.net.util.IPAddressUtil.isIPv4LiteralAddress(String)
Reviewed-by: chegar
2015-08-25 14:07:08 +01:00
Joel Borggrén-Franck
b7e143e8f6 8073056: Repeating annotations throws java.security.AccessControlException with a SecurityManager
Reviewed-by: ahgross, darcy
2015-08-24 11:00:12 +02:00
Alejandro Murillo
c56196370b Merge 2015-08-20 07:36:37 -07:00
Brian Burkhalter
ada1a8eecd 8074821: Resolve disabled warnings for libnio
Enable the indicated warnings and correct the code which provoked them.

Reviewed-by: alanb
2015-08-19 13:11:24 -07:00
Vinnie Ryan
68703f6458 8130799: KeyStoreSpi.engineProbe does not throw the expected NullPointerException
Reviewed-by: xuelei
2015-08-19 17:42:52 +01:00
Valerie Peng
33abd28183 8086002: Move apple.security.AppleProvider to a proper module
Move Apple provider to java.base module with "libosxsecurity" native library.

Reviewed-by: mchung
2015-08-18 21:16:27 +00:00
Alexander Stepanov
3ff6e41288 8132478: [tidy] three new warnings from java docs (java.net, javax.annotation)
Minor docs cleanup (jdk part)

Reviewed-by: lancea
2015-08-18 18:04:17 +03:00
Jean-Francois Denise
4d4cf68fd9 8132527: jimage tool extract and recreate options are not consistent (no NPE)
Module metadata original name must be reused when recreating a jimage

Reviewed-by: jlaskey
2015-08-18 15:46:01 +02:00
Alejandro Murillo
64e18f581d Merge 2015-08-17 11:18:31 -07:00
David Dehaven
75e42535c3 Merge 2015-08-17 10:12:16 -07:00
Dmitry Samersoff
8b0d0cea27 Merge 2015-08-17 12:45:16 +03:00
Sergey Kuksenko
cd2d84c814 8132330: Ineffective SecureRandom usage in RSA encoding with PKCS1Padding
Reviewed-by: weijun
2015-08-15 21:14:08 +08:00
Xueming Shen
bef17a6e80 8039390: Unexpected behaviour of String.format with null arguments
To explicitly specify the null behavior for all conversions

Reviewed-by: rriggs
2015-08-15 04:38:51 +00:00
Alexander Stepanov
ea7449a3ad 8133480: replace some <tt> tags (obsolete in html5) in core-libs docs
Reviewed-by: lancea
2015-08-14 14:40:13 +03:00
Volker Simonis
1b8b82463e 8131168: Refactor ProcessHandleImpl_*.c and add implememtation for AIX
Reviewed-by: rriggs, smarks
2015-08-14 10:35:45 +02:00
Alejandro Murillo
d8f13cb1d1 Merge 2015-08-13 15:50:52 -07:00
Brian Burkhalter
10207de32f 8065595: Wrong JNI_OnLoad called if just loaded lib does not have JNI_OnLoad function
Add nio_util.c containing JNI_OnLoad bare bones implementation.

Reviewed-by: rriggs
2015-08-13 09:36:14 -07:00
Athijegannathan Sundararajan
d45350bdb1 8133347: Add makefiles support and basic session, persistence history navigation with jline
Reviewed-by: erikj, jlahoda, jlaskey
2015-08-13 19:09:18 +05:30