1147 Commits

Author SHA1 Message Date
Weijun Wang
9a7622561a 7004967: SecureRandom should be more explicit about threading
8169312: SecureRandom::getSeed(num) not specified if num is negative

Reviewed-by: mullan, xuelei
2016-11-17 21:02:39 +08:00
Anubhav Meena
3f35be7242 8167618: DateTimeFormatter.format() uses exceptions for flow control
Removed flow control in exception catch

Reviewed-by: rriggs, scolebourne
2016-11-17 11:55:59 +00:00
Paul Sandoz
ce32d2aec8 8072784: Better spliterator implementation for BitSet.stream()
Reviewed-by: martin
2016-11-16 14:26:14 -08:00
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
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
Stuart Marks
6bdfb6eb48 8152617: add missing wildcards to Optional or() and flatMap()
Reviewed-by: psandoz, forax
2016-10-20 13:27:48 -07:00
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
Vinnie Ryan
15b6970daa 8165064: Enhance thread contexts in JNDI
Reviewed-by: chegar
2016-10-13 15:27:33 +01:00
Peter Levart
f160991436 6378384: (reflect) subclass can’t access superclass’s protected fields and methods by reflection
Reviewed-by: mchung
2016-10-18 20:28:58 +02:00
Claes Redestad
a424ba8c8d 8168073: Speed up URI creation during module bootstrap
Reviewed-by: alanb, mchung, psandoz, chegar
2016-10-18 14:22:16 +02:00
Stuart Marks
9852310517 8168096: markup error in "since" element spec of @Deprecated
Reviewed-by: darcy
2016-10-17 17:07:55 -07:00
Rachna Goel
8b7cc86473 8167992: Update documentation of java.util.Date class
Reviewed-by: okutsu, peytoia
2016-10-17 20:13:16 +09:00
Roger Riggs
445c99ec2b 8167166: Java API docs mention a non-existent method getNanosOfSecond
Reviewed-by: naoto
2016-10-14 17:15:11 -04: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
Paul Sandoz
2fc1b1389a 8167524: Rogue character in Stream javadoc
Reviewed-by: smarks, darcy
2016-10-11 16:25:52 -07: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
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
Weijun Wang
ba9df3533c 8164705: Remove pathname canonicalization from FilePermission
Reviewed-by: alanb, bpb
2016-10-10 08:28:50 +08:00
Jonathan Gibbons
0f9a011475 8159855: Create an SPI for tools
Reviewed-by: mchung
2016-10-07 16:49:31 -07:00
Brent Christian
2d52d60a1e 8151486: Class.forName causes memory leak
Remove ClassLoader.domains

Reviewed-by: coleenp, dholmes, mchung, naoto
2016-10-07 12:01:24 -07:00
Claes Redestad
8ebdbe3b5c 8167005: Comment on the need for an empty constructor in ArrayList$Itr
Reviewed-by: smarks, shade, chegar
2016-10-06 02:02:48 +02:00
Alejandro Murillo
db351aa712 Merge 2016-10-05 09:52:55 -07:00
Alejandro Murillo
7e7cbce1f6 Merge 2016-10-05 06:28:23 -07:00
Mandy Chung
6504983459 8166860: Add magic number to jmod file
Reviewed-by: alanb, jjg
2016-10-04 18:56:28 -07:00
Ramanand Patil
4dbca869e0 8166875: (tz) Support tzdata2016g
Reviewed-by: martin, okutsu
2016-10-05 16:39:13 +05:30
Roger Riggs
9aa8b6728a 8155760: Implement Serialization Filtering
8166739: Improve extensibility of ObjectInputFilter information passed to the filter

Reviewed-by: dfuchs, chegar, briangoetz, plevart
2016-10-04 13:45:42 -04:00
Vyom Tewari
0a885c4bc8 8153674: Expected SocketException not thrown when calling bind() with setReuseAddress(false)
Reviewed-by: chegar, msheppar
2016-10-04 21:59:16 +05:30
Nishit Jain
f1f59c6623 8165466: DecimalFormat percentage format can contain unexpected %
Reviewed-by: okutsu, peytoia
2016-10-04 19:28:09 +09:00
Rachna Goel
5e84d49af5 8166993: typo in java.util.Locale javadoc
Reviewed-by: okutsu, peytoia
2016-10-04 17:18:46 +09:00
Peter Levart
566b0cca41 8166842: String.hashCode() has a non-benign data race
Reviewed-by: shade, alanb, martin
2016-09-30 17:34:08 +02:00
Alejandro Murillo
53fa6ff273 Merge 2016-09-30 02:52:42 -07:00
Claes Redestad
2cee0a499a 8166840: Synthetic bridge constructor in ArrayList$Itr blocks inlining
Reviewed-by: vlivanov, mhaupt, forax
2016-09-28 14:27:34 +02:00
Michael Haupt
cec7bce69f 8151179: address issues raised by JCK team on JEP 274 API
Reviewed-by: jrose, redestad, psandoz
2016-09-28 14:02:21 +02:00
Dean Long
c329dba540 Merge 2016-09-27 21:14:47 -04:00
Doug Lea
c7cf1788ed 8165919: Miscellaneous changes imported from jsr166 CVS 2016-09-21
Reviewed-by: martin, chegar, shade
2016-09-23 13:24:33 -07:00
Doug Lea
9496149e05 8166465: CompletableFuture.minimalCompletionStage().toCompletableFuture() should be non-minimal
Reviewed-by: martin, chegar, shade
2016-09-23 13:14:14 -07:00
Michael Haupt
281862a6aa 8161211: better inlining support for loop bytecode intrinsics
Reviewed-by: jrose, vlivanov, redestad
2016-09-23 15:20:49 +02:00
Sean Coffey
48490309d8 8151832: Improve exception messages in exception thrown by new JDK 9 code
Reviewed-by: alanb
2016-09-22 17:21:10 +01:00
Alejandro Murillo
505c0d04f8 Merge 2016-09-21 09:29:30 -07:00
Dean Long
14ca581abf Merge 2016-09-20 16:34:47 -04:00
Nishit Jain
14d689c4a6 8165984: ResourceBundle lookup fields not completely thread-safe
Reviewed-by: okutsu, naoto
2016-09-18 23:09:37 +09:00
Alejandro Murillo
af75db6517 Merge 2016-09-16 10:57:21 -07:00
Mandy Chung
6f740b0d0f 8157464: Disallow StackWalker.getCallerClass() be called by caller-sensitive method
Reviewed-by: bchristi, coleenp, dfuchs, sspitsyn
2016-09-14 11:53:36 -07:00
Alejandro Murillo
b2e658b722 Merge 2016-09-14 11:22:39 -07:00