1163 Commits

Author SHA1 Message Date
Roger Riggs
40644c5ab9 8169527: Typo in getCalendarType() method of Chronology class
Reviewed-by: bpb
2016-11-29 13:58:00 -05:00
Doug Lea
cee580a37d 8166646: Miscellaneous changes imported from jsr166 CVS 2016-10
Reviewed-by: martin, smarks, psandoz
2016-11-28 23:47:23 -08:00
Doug Lea
3f4bdaf9bd 8169272: Clarify Semaphore.drainPermits behavior when current permits are negative
Reviewed-by: martin, smarks, psandoz
2016-11-28 23:43:39 -08:00
Doug Lea
58623faf53 8166507: ConcurrentSkipListSet.clear() can leave the Set in an invalid state
Reviewed-by: martin, smarks, psandoz
2016-11-28 23:39:54 -08:00
Doug Lea
3d0d86185e 8143577: optimize ArrayList.removeIf
8169679: ArrayList.subList().iterator().forEachRemaining() off-by-one-error
8167202: ArrayDeque improvements
8164793: new ArrayDeque(2**N) allocates backing array of size 2**(N+1)
8169739: LinkedBlockingDeque spliterator needs to support node self-linking
8169738: CopyOnWriteArrayList subList needs more synchronization

Reviewed-by: martin, smarks, psandoz, forax
2016-11-28 23:36:11 -08:00
Weijun Wang
22ba1d5ebb 8170364: FilePermission path modified during merge
Reviewed-by: alanb
2016-11-28 22:32:17 +08:00
Joe Darcy
fc2f422623 8169479: java.lang.reflect.Constructor class has wrong api documentation
Reviewed-by: bpb, psandoz
2016-11-23 11:05:10 -08:00
Brent Christian
20c0c1d9d0 8136831: Undefined null behavior in ClassLoader.getResourceXXXX()
Reviewed-by: alanb, mchung, psandoz
2016-11-23 10:41:25 -08:00
Paul Sandoz
f5f1fcb803 8132964: Spliterator documentation on Priority(Blocking)Queue
Reviewed-by: martin, dl, chegar
2016-11-23 10:35:44 -08:00
Paul Sandoz
11b92f7ddb 8169808: Stream returning methods should specify if they are late binding
Reviewed-by: martin
2016-11-23 10:35:43 -08:00
Brent Christian
36ffe056e1 8169435: ClassLoader.isParallelCapable is final and conflicting method may get VerifyError
Reviewed-by: acorn, dholmes, mchung
2016-11-23 10:34:10 -08:00
Roger Riggs
305d776581 8169645: ObjectInputFilter Config spec is ambiguous regarding overriding the filter via System properties
Reviewed-by: bpb
2016-11-23 11:47:29 -05:00
Jesper Wilhelmsson
5140309cac Merge 2016-11-09 13:37:19 +01:00
Bhanu Prakash Gopularam
86bd9c2fd3 8066291: Return unmodifiable set of zone IDs to optimize ZoneIdPrinterParser
Cache the available zones to speed up parsing

Reviewed-by: rriggs, scolebourne
2016-11-21 06:04:25 +00:00
Claes Redestad
709d9ee9d0 8169993: Class::desiredAssertionStatus should call getClassLoader0
Reviewed-by: psandoz
2016-11-19 12:22:35 +01:00
Claes Redestad
09591861d0 8169880: Remove the sun.reflect.noCaches option
Reviewed-by: shade, psandoz, mchung
2016-11-17 19:38:14 +01:00
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