1174 Commits

Author SHA1 Message Date
Mandy Chung
264639c70b 8151571: InnocuousThread cannot be created during early startup
Reviewed-by: alanb, plevart, chegar
2016-03-25 12:30:13 -07:00
Daniel Fuchs
da3998f139 8150840: Add an internal system property to control the default level of System.Logger when java.logging is not present
Reviewed-by: mchung, rriggs
2016-03-25 17:12:18 +01:00
Chris Hegarty
03f0d9ab61 Merge 2016-03-24 15:34:37 +00:00
Chris Hegarty
bbadf6c0ef 8149122: Move sun.misc.URLClassPath and Resouce to an internal package
Reviewed-by: alanb, rriggs
2016-03-24 15:32:54 +00:00
Daniel Fuchs
a6046c45c2 8152606: java.base no longer needs to export sun.util.logging to java.httpclient
Now that JDK-8151281 is fixed, java.base module-info.java can be cleaned up to no longer export sun.util.logging to java.httpclient.

Reviewed-by: chegar, alanb
2016-03-24 14:45:46 +01:00
Erik Joelsson
26cd467900 8152545: Use preprocessor instead of compiling a program to generate native nio constants
Reviewed-by: alanb
2016-03-24 14:23:37 +01:00
Xue-Lei Andrew Fan
240f07d0fb 8152237: Support BigInteger.TWO
Reviewed-by: jnimeh, bpb, weijun
2016-03-24 12:41:24 +00:00
Chris Hegarty
ef944b06b4 8152277: Move URLClassPath.pathToURLs(String) to RegistryImpl
Reviewed-by: alanb
2016-03-24 11:59:07 +00:00
Chris Hegarty
b40e890e78 8152642: Remove sun.misc.Unsafe dependency from java.lang.reflect.Proxy
Reviewed-by: alanb, shade
2016-03-24 11:56:47 +00:00
Aleksey Shipilev
ccdf984e57 8150463: StringConcat MH_INLINE_SIZED_EXACT should skip storage initialization
Reviewed-by: plevart, chegar
2016-03-24 12:52:03 +03:00
Abhijit Roy
9057c75425 8151868: Typo in java.time.Instant until(Temporal endExclusive, TemporalUnit unit)
Reviewed-by: rriggs, lancea, scolebourne
2016-03-23 19:57:42 +05:30
Xue-Lei Andrew Fan
5669c583c4 8149017: Delayed provider selection broken in RSA client key exchange
Reviewed-by: coffeys
2016-03-23 12:25:08 +00:00
Brian Burkhalter
81c1051455 8151957: ObjectInputStream - Use new convenience method for immutable Map creation during static initialization
Initialize primClasses primitive type name-to-class mapping using a new Map.of() conveience method.

Reviewed-by: lancea, redestad, smarks
2016-03-22 15:37:55 -07:00
Chris Hegarty
3dd92e7102 Merge 2016-03-22 16:02:32 +00:00
Chris Hegarty
a59bc4455b Merge 2016-03-22 16:02:25 +00:00
Tagir F. Valeev
89599944c6 8148748: ArrayList.subList().spliterator() is not late-binding
Reviewed-by: psandoz
2016-03-22 16:28:52 +01:00
Tagir F. Valeev
41786c2118 8151123: Collectors.summingDouble/averagingDouble unnecessarily call mapper twice
Reviewed-by: psandoz
2016-03-22 16:28:50 +01:00
Chris Hegarty
ff2e79c118 Merge 2016-03-22 10:42:32 +00:00
Xueming Shen
5abe6e1f23 8152352: Compiling warnings in zip_util.c blocks devkit to build with --with-zlib=system
Reviewed-by: naoto
2016-03-21 15:59:27 -07:00
Nadeesh TV
d110d8b320 8032051: "ZonedDateTime" class "parse" method fails with short time zone offset ("+01")
Reviewed-by: rriggs, scolebourne
2016-03-21 14:24:11 -04:00
Christoph Langer
872d60701a 8149169: SSLSocketInputRecord.decodeInputRecord buffer overflow
Reviewed-by: xuelei
2016-03-18 13:14:53 +00:00
Alan Bateman
db4d383614 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
Brian Burkhalter
9a55e05cfb 8152043: (fs) Remove dynamic loopup of Win32 API functions in WindowsNativeDispatcher needed to support Windows XP and Server 2003
Remove dynamic lookup of Win32 functions which was required to support Windows XP and Windows Server 2003.

Reviewed-by: alanb
2016-03-17 08:47:46 -07:00
Roger Riggs
829d62738c 8085887: java.time.format.FormatStyle.LONG or FULL causes unchecked exception
8076528: LocalTime.format() throws exception when FormatStyle is LONG or FULL

Reviewed-by: sherman, scolebourne
2016-03-16 13:16:14 -04:00
Kumar Srinivasan
27c0bb6266 8151858: update ASM 5.1 to accept V53.0 classfiles
Reviewed-by: forax, sundar
2016-03-15 06:53:45 -07:00
Brian Burkhalter
f876e4bbd2 8151691: [Findbugs]jdk.internal.math.FormattedFloatingDecimal.getExponent() may expose internal rep
The reference to the internal array is never leaked via the public API but some internal API clarification is added.

Reviewed-by: rriggs
2016-03-11 14:07:03 -08:00
Jamil Nimeh
59eca614db 8132942: ServerHandshaker should not throw SSLHandshakeException when CertificateStatus constructor is called with invalid arguments
Performs argument checking on inputs to the CertificateStatus constructor in order to eliminate the need for exception processing.  Also pulls stapling processing logic out to its own method.

Reviewed-by: xuelei
2016-03-11 10:54:42 -08:00
Abhijit Roy
2fc3f9915c 8151063: Typo in java.lang.invoke.StringConcatFactory javadoc
Reviewed-by: prappo, rriggs
2016-03-11 12:53:10 -05:00
Mandy Chung
28ad968682 8151660: Revert NativeBuffer.java to use jdk.internal.ref.Cleaner
Reviewed-by: rriggs
2016-03-10 11:52:54 -08:00
Sergey Ustimenko
f36012af70 8043329: Wrong variable used in java.util.Collections javadoc code
Reviewed-by: lancea, rriggs
2016-03-10 09:35:59 -05:00
Peter Levart
020a27b202 8149925: We don't need jdk.internal.ref.Cleaner any more - part1
1st part of removing legacy jdk.internal.ref.Cleaner

Reviewed-by: chegar, mchung
2016-03-09 21:17:06 +01:00
Alejandro Murillo
7abd206441 Merge 2016-03-08 19:03:30 -08:00
Chris Hegarty
bd69ca08d2 8151384: Improve String.CASE_INSENSITIVE_ORDER and remove sun.misc.ASCIICaseInsensitiveComparator
Reviewed-by: shade, sherman
2016-03-08 12:11:07 +00:00
Joe Darcy
3fb108bd73 8151393: Revert changes for JDK-8087104
Reviewed-by: alanb
2016-03-07 12:10:55 -08:00
Alejandro Murillo
dbc5e5d48d Merge 2016-03-05 20:46:44 -08:00
Jesper Wilhelmsson
ace4ef5700 Merge 2016-03-05 10:10:20 +01:00
Xue-Lei Andrew Fan
3c244740c6 8148108: Disable Diffie-Hellman keys less than 1024 bits
Reviewed-by: vinnie, mullan
2016-03-04 14:04:01 +00:00
Rachel Protacio
29383473b1 8145098: JNI GetVersion should return JNI_VERSION_9
Updated JNI_VERSION for current version to be JNI_VERSION_9

Reviewed-by: hseigel, gtriantafill, dholmes, alanb
2016-03-02 14:52:35 -05:00
Ramanand Patil
dae73946be 8087104: DateFormatSymbols triggers this.clone() in the constructor
Instead of using its own instance for caching and calling clone in DateFormatSymbols, a nested class SymbolsCacheEntry is introduced.

Reviewed-by: okutsu, peytoia
2016-03-02 23:28:59 +05:30
Steve Drach
da10efd829 8150679: closed/javax/crypto/CryptoPermission/CallerIdentification.sh fails after fix for JDK-8132734
Also fixes JDK-8150920

Reviewed-by: psandoz, redestad
2016-03-03 09:47:40 -08:00
Doug Lea
a9c908bcb3 8150417: Make ThreadLocalRandom more robust against static initialization cycles
Reviewed-by: martin, psandoz, dholmes, mhaupt
2016-03-03 10:39:34 -08:00
Vyom Tewari
b053911474 8150521: SharedSecrets.getJavaNetInetAddressAccess should ensure that InetAddress is initialised
Reviewed-by: alanb, chegar
2016-03-03 17:27:35 +00:00
Vyom Tewari
96f1a8250d 8148609: socket impl supportedOptions() should return an immutable set
Reviewed-by: alanb, chegar
2016-03-03 17:21:08 +00:00
Chris Hegarty
622963bd4d 8151140: Replace use of lambda/method ref in jdk.Version constructor
Reviewed-by: psandoz
2016-03-03 12:07:45 +00:00
Chris Hegarty
d6208a2b4a 8150162: Move sun.misc.Version to a truly internal package
Reviewed-by: alanb, iris, mchung, rriggs
2016-03-03 12:07:13 +00:00
Tagir F. Valeev
c880124c81 8147505: BaseStream.onClose() should not allow registering new handlers after stream is consumed
Reviewed-by: psandoz
2016-03-03 10:06:25 +01:00
Tagir F. Valeev
90adb4174f 8072727: add variation of Stream.iterate() that's finite
Reviewed-by: psandoz, briangoetz
2016-03-03 10:06:16 +01:00
Mikael Vidstedt
2255be0267 8149596: Remove java.nio.Bits copy wrapper methods
Reviewed-by: bpb, chegar, psandoz
2016-03-02 13:21:20 -08:00
Michael Haupt
1619ac11c9 8150635: j.l.i.MethodHandles.loop(...) throws IndexOutOfBoundsException
Reviewed-by: psandoz
2016-03-02 20:16:11 +01:00
Chris Hegarty
645c21e16f 8150976: JarFile and MRJAR tests should use the JDK specific Version API
Reviewed-by: alanb, mchung
2016-03-02 16:25:29 +00:00