11324 Commits

Author SHA1 Message Date
Paul Sandoz
4bcf62b9d1 8132097: Stream.generate should use a covariant Supplier as parameter
Reviewed-by: forax, martin
2016-11-16 14:26:12 -08:00
Jamil Nimeh
2eff7e6a9a 8043252: Debug of access control is obfuscated - NullPointerException in ProtectionDomain
Protect against null return value from Permission.getActions in ProtectionDomain's toString method.

Reviewed-by: weijun, mullan
2016-11-16 08:29:58 -08:00
Daniel Fuchs
f3cb8c41dc 8169068: Add a new method: java.net.Authenticator.getDefault()
Reviewed-by: chegar
2016-11-16 15:40:06 +00:00
Jim Laskey
b440aed691 8169505: Update changes by JDK-8159393 to reflect CCC review
Reviewed-by: sundar
2016-11-16 10:52:08 -04:00
Athijegannathan Sundararajan
5efdbcb1fb 8153038: The set of jlink plugins enabled by default should be the same via CLI or jlink API
Reviewed-by: jlaskey
2016-11-16 19:52:20 +05:30
Jesper Wilhelmsson
5140309cac Merge 2016-11-09 13:37:19 +01:00
Brian Burkhalter
3630a6a4f8 8168500: (se) EPollArrayWrapper optimization for update events should be robust to dynamic changes in file descriptor resource limits
Make eventsHigh final and always initialize it to an empty Map.

Reviewed-by: alanb
2016-11-15 08:40:36 -08:00
Jim Laskey
8d64cef95c 8169720: jimage help message for --include option should be corrected
Reviewed-by: alanb, sundar
2016-11-15 10:53:32 -04:00
Anthony Scarpino
39b3b9cb3b 8168931: Few OCSP related test failed with "Response is unreliable: its validity interval is out-of-date"
Reviewed-by: mullan
2016-11-14 13:32:15 -08:00
Anthony Scarpino
a556619f93 8168861: AnchorCertificates uses hardcoded password for cacerts keystore
Reviewed-by: vinnie, mullan
2016-11-14 10:13:38 -08:00
Amit Sapre
e935e7cb1e 8006078: [findbugs] java.lang.management.ThreadInfo returns mutable objects
Cloned the array before returning to caller.

Reviewed-by: dholmes, fparain
2016-11-03 12:04:40 +05:30
Paul Sandoz
ff33d165a6 8163553: java.lang.LinkageError from test java/lang/ThreadGroup/Stop.java
Reviewed-by: redestad
2016-11-01 17:20:45 -07:00
Paul Sandoz
29871f6f8a 8166974: invokedynamic implementation should not wrap Errors
Reviewed-by: smarks, jrose
2016-10-14 14:47:27 -07:00
Amit Sapre
6e7ec59861 8151099: java.lang.management.ManagementFactory.getPlatformMXBeans() should work even if jdk.management is not present
Removed dependency of java.management over jdk.management.

Reviewed-by: mchung, dfuchs, dholmes
2016-10-26 15:08:29 +05:30
Robbin Ehn
447f64bf30 8164501: Uninitialised memory in byteArrayToPacket of SharedMemoryConnection.c
Reviewed-by: sla, dsamersoff
2016-10-24 09:07:26 +02:00
Alejandro Murillo
45b9a9c97e Merge 2016-10-20 17:05:27 -07:00
Alejandro Murillo
ae7aae8464 Merge 2016-10-20 16:54:00 -07:00
Stuart Marks
6bdfb6eb48 8152617: add missing wildcards to Optional or() and flatMap()
Reviewed-by: psandoz, forax
2016-10-20 13:27:48 -07:00
Amit Sapre
d45aa3fbb1 8167294: MXBean javadoc should be updated to take modules into account
Updated MXBean class javadoc to take modules into account

Reviewed-by: alanb
2016-10-20 15:07:06 +05:30
David Holmes
de2a8e756b 8165827: Support private interface methods in JNI, JDWP, JDI and JDB
Reviewed-by: dcubed, lfoltan, sspitsyn
2016-10-18 20:04:36 -04:00
Alejandro Murillo
ff0d142c0a Merge 2016-10-13 09:02:13 -07:00
Alejandro Murillo
9047ce6f76 Merge 2016-10-13 08:57:57 -07:00
Vinnie Ryan
02ca9985fc 8167371: KeyStoreSpi.engineSetEntry should throw an Exception if password protection alg is specified
Reviewed-by: xuelei, mullan
2016-10-13 12:37:42 +01:00
Mandy Chung
44a7c1b644 8164689: Retrofit jar, jlink, jmod as a ToolProvider
Reviewed-by: alanb, lancea
2016-10-12 15:41:00 -07:00
Jonathan Bluett-Duncan
a19fc7fbdb 8134373: use collections convenience factories in the JDK
Reviewed-by: scolebourne, prappo, dfuchs, redestad, smarks
2016-10-12 11:54:38 -07:00
Athijegannathan Sundararajan
8c7dc29389 8167614: Avoid module dependency from jdk.dynalink to jdk.internal.module of java.base module
Reviewed-by: jlaskey, alanb
2016-10-12 22:44:43 +05:30
David Dehaven
b27d8f6dd9 8165271: Fix use of reflection to gain access to private fields
Reviewed-by: mchung
2016-10-12 08:47:53 -07:00
Pavel Rappo
d16760afb5 8168405: Pending exceptions in java.base/windows/native
Reviewed-by: chegar, clanger
2016-10-20 18:35:45 +01:00
Daniel Fuchs
97658dc623 8157965: update httpserver logging to use java.lang.System.Logger
This patch updates the jdk.httpserver module to use System.Logger and break its dependency with the java.logging module.

Reviewed-by: rriggs, michaelm, chegar, mchung
2016-10-20 12:31:24 +01:00
Weijun Wang
debfdef758 8163304: jarsigner -verbose -verify should print the algorithms used to sign the jar
Reviewed-by: mullan
2016-10-20 09:24:47 +08:00
Anthony Scarpino
4b919bee81 8167591: Add MD5 to signed JAR restrictions
Reviewed-by: mullan, jnimeh
2016-10-19 10:49:52 -07:00
Jan Lahoda
d132146380 8166183: jshell tool: on return from Ctrl-Z, garbage on screen, dies with Ctrl-C
Allow use of jdk.internal.misc.Signal from jshell and jjs.

Reviewed-by: rfield, chegar
2016-10-19 12:42:34 +02:00
Athijegannathan Sundararajan
b82ec86107 8071588: The spec for javax.script.ScriptEngineFactory.getProgram() should specify NPEs thrown
Reviewed-by: alanb, hannesw
2016-10-19 13:26:49 +05:30
Weijun Wang
8d889c2a92 8167647: Copy-and-paste bug in javax.security.auth.kerberos.KerberosTicket.toString()
Reviewed-by: xuelei
2016-10-19 11:45:43 +08:00
Vinnie Ryan
15b6970daa 8165064: Enhance thread contexts in JNDI
Reviewed-by: chegar
2016-10-13 15:27:33 +01:00
Sean Mullan
41e797f4da 8162723: Array index overflow in Base64 utility class
Reviewed-by: ascarpino, jnimeh
2016-10-12 09:46:35 -04:00
Paul Sandoz
2fc1b1389a 8167524: Rogue character in Stream javadoc
Reviewed-by: smarks, darcy
2016-10-11 16:25:52 -07:00
Bradford Wetmore
909e2244c8 8167459: Add debug output for indicating if a chosen ciphersuite was legacy
Reviewed-by: xuelei
2016-10-11 15:49:37 -07:00
Jan Lahoda
b765ef344a 8166890: JShell: locks forever when input is piped
Only read cursor position if connected to a terminal.

Reviewed-by: rfield, shinyafox
2016-10-11 12:33:15 +02:00
Vyom Tewari
b09d8ad0e6 8163482: java.net.URLPermission.getActions() adds a trailing colon when header-names is empty
Reviewed-by: chegar, dfuchs
2016-10-11 15:12:40 +05:30
Xue-Lei Andrew Fan
9c0a3e6ca9 8167472: Chrome interop regression with JDK-8148516
Reviewed-by: weijun
2016-10-11 09:11:34 +00:00
Valerie Peng
81d15be0db 8165275: Replace the reflective call to the implUpdate method in HandshakeMessage::digestKey
Replaced the reflection calls with the new sun.security.util.MessageDigestSpi2 interface

Reviewed-by: xuelei, mchung
2016-10-11 00:04:35 +00:00
Paul Sandoz
bf450d55c1 8164814: Deprecate Atomic*.weakCompareAndSet and defer to Atomic*.weakCompareAndSetPlain
Reviewed-by: martin, dl
2016-10-10 15:58:42 -07:00
Mandy Chung
fddb29160d 8162401: Support multiple --add-exports and --add-reads with the same module/package
Reviewed-by: alanb, redestad, sundar
2016-10-10 15:46:14 -07:00
Phil Race
6ac1a33ba5 Merge 2016-10-10 14:26:49 -07:00
Phil Race
396d6e2a1a Merge 2016-10-10 14:21:39 -07:00
Anthony Scarpino
dab57d2037 8165103: Update to "denyAfter constraint check" exception message
Reviewed-by: valeriep
2016-10-10 14:20:16 -07:00
Christoph Langer
0d046ab808 8167295: Further cleanup to the native parts of libnet/libnio
Reviewed-by: chegar
2016-10-10 22:42:45 +02:00
Phil Race
13dd764edf Merge 2016-10-10 13:31:48 -07:00
Anthony Scarpino
3d4d013f55 8165101: AnchorCertificates throws NPE when cacerts file not found
Reviewed-by: mullan
2016-10-10 13:28:44 -07:00