Commit Graph

7100 Commits

Author SHA1 Message Date
Mike Duigou
5a95645a18 8004015: Additional static and instance utils for functional interfaces
8011010: Spec j.u.f.Predicate doesn't specify NPEs thrown by the SE8's Reference Implementation

Reviewed-by: briangoetz, dholmes, chegar
2013-05-17 10:36:04 -07:00
Paul Sandoz
b175321e7d 8014133: Spliterator.OfPrimitive
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou, forax
2013-05-15 10:25:59 +02:00
Paul Sandoz
eb66929285 8013334: Spliterator behavior for LinkedList contradicts Spliterator.trySplit
This changeset also contains some minor, non spec, related fixes to tidy up other areas of the JavaDoc.

Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Mike Duigou <mike.duigou@oracle.com>
Reviewed-by: plevart, darcy
2013-05-15 10:15:28 +02:00
Dan Xu
a8783e010f 8011136: FileInputStream.available and skip inconsistencies
Correct the behavior of available() and update related java specs for available() and skip() in InputStream and FileInputStream classes.

Reviewed-by: alanb
2013-05-17 12:04:18 -07:00
Chris Hegarty
fa23123952 Merge 2013-05-17 16:44:36 +01:00
Chris Hegarty
d6531cbf9f 8014783: java/net/HttpURLPermission/HttpURLPermissionTest.java leaves files open
Reviewed-by: michaelm
2013-05-17 16:44:15 +01:00
Chris Hegarty
7d32b90712 Merge 2013-05-17 15:18:40 +01:00
Chris Hegarty
c17637a0f8 8014791: More ProblemList.txt updates (5/2013)
Reviewed-by: alanb
2013-05-17 15:00:53 +01:00
Daniel Fuchs
8d94e88c93 8013900: More warnings compiling jaxp
Some internal implementation classes in Jaxp were redefining equals() without redefining hashCode(). This patch adds hashCode() methods that are consistent with equals().

Reviewed-by: chegar, joehw
2013-05-17 10:40:55 +02:00
Mandy Chung
a4a210dc69 4487672: (proxy) Proxy constructor should check for null argument
Reviewed-by: alanb, lancea
2013-05-16 15:08:24 -07:00
Vinnie Ryan
72591df578 Merge 2013-05-16 13:22:41 -07:00
Michael McMahon
4c8411b088 8012625: Incorrect handling of HTTP/1.1 " Expect: 100-continue " in HttpURLConnection
Reviewed-by: alanb, chegar
2013-05-16 17:28:47 +01:00
Xue-Lei Andrew Fan
9681f58b21 8010814: More buffers are stored or returned without cloning
Reviewed-by: lancea
2013-05-16 04:30:45 -07:00
Eric Wang
9b4403735d 8004177: test/java/lang/Thread/GenerifyStackTraces.java doesn't clean-up
Reviewed-by: alanb, dholmes, chegar
2013-05-16 10:59:06 +01:00
Vinnie Ryan
193ed72708 Merge 2013-05-16 02:43:58 -07:00
Valerie Peng
f06239abab Merge 2013-05-15 18:38:52 -07:00
Kumar Srinivasan
797c391622 8001163: [pack200] should support attributes introduced by JSR-308
Reviewed-by: jrose
2013-05-15 18:26:16 -07:00
Kurchi Subhra Hazra
83505983f5 7150552: network test hangs [macosx]
Remove usage of test/sun/net/www/httptest

Reviewed-by: chegar
2013-05-16 10:58:20 -07:00
Daniel Fuchs
ea276bd930 Merge 2013-05-16 18:40:47 +02:00
Michael McMahon
57075722b2 Merge 2013-05-16 17:31:41 +01:00
Ivan Gerasimov
03a640d7f1 8014676: Java debugger may fail to run
The problem is observed when the binaries for windows are placed under a path which contains a space

Reviewed-by: sla, alanb
2013-05-16 19:28:44 +04:00
Jim Gish
b0c93f4d19 8013380: Removal of stack walk to find resource bundle breaks Glassfish startup
Use caller's classloader to load resource as an alternative to thread context classloader and system classloader

Reviewed-by: mchung, alanb
2013-05-16 11:19:00 -04:00
Naoto Sato
41c159f597 8013233: java/util/Locale/LocaleProviders.sh fails
Reviewed-by: okutsu
2013-05-15 16:48:54 -07:00
Joe Darcy
40a5f1f53c 8014677: Correct docs warning for Objects.requireNonNull(T, Supplier<String>)
Reviewed-by: alanb
2013-05-15 09:54:30 -07:00
Stephen Colebourne
48fc4f5552 8013730: JSR 310 DateTime API Updates III
Integration of JSR310 Date/Time API update III

Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Patrick Zhang <patrick.zhang@oracle.com>
Reviewed-by: naoto
2013-05-15 07:48:57 -07:00
Vinnie Ryan
4128a74cbc Merge 2013-05-15 15:39:28 +01:00
Michael McMahon
527399b98c 8010464: Evolve java networking same origin policy
Reviewed-by: alanb, chegar, dsamersoff, weijun
2013-05-15 15:01:59 +01:00
Vinnie Ryan
1c510cf688 Merge 2013-05-15 14:49:50 +01:00
David Holmes
4e4591b4da 8013395: StringBuffer.toString performance regression impacting embedded benchmarks
Cache a copy of the char[] to use with toString() and clear it when ever the sb content is modified

Reviewed-by: alanb, plevart, mduigou, forax
2013-05-15 00:36:03 -04:00
Xueming Shen
bedabba81c 8014217: Base64.getXDecoder().wrap(...).read() doesn't throw exception for an incorrect number of padding chars in the final unit
To throw IOE for malformed final unit in base64 stream

Reviewed-by: chegar, alanb
2013-05-14 14:20:18 -07:00
Xueming Shen
1e18db55d6 8012326: Deadlock occurs when Charset.availableCharsets() is called by several threads at the same time
Removed the race condition risk from  ExtendedCahrset access code

Reviewed-by: mchung, alanb
2013-05-14 14:09:18 -07:00
Kurchi Subhra Hazra
4e50454550 6328537: Improve javadocs for Socket class by adding references to SocketOptions
Insert references to SocketOptions.java where applicable

Reviewed-by: alanb, chegar
2013-05-14 12:01:38 -07:00
Vinnie Ryan
dd74360c62 Merge 2013-05-14 18:11:46 +01:00
Stephen Flores
c39030c7b3 7194075: Various classes of sunec.jar are duplicated in rt.jar
Reviewed-by: mullan, vinnie
2013-05-14 18:08:18 +01:00
Andreas Rieber
5ed0727b83 8014519: scriptpad sample does not work with nashorn
Reviewed-by: attila, jlaskey
2013-05-14 22:36:52 +05:30
Alexey Utkin
41b7094a94 8012453: (process) Runtime.exec(String) fails if command contains spaces [win]
Reviewed-by: alanb
2013-05-14 20:16:21 +04:00
Alan Bateman
6288fc0c48 8014500: bootcycle-images fails after upgrade to JAXP 1.5
Reviewed-by: lancea
2013-05-14 14:32:15 +01:00
Joe Darcy
b281decb0a 8014365: Restore Objects.requireNonNull(T, Supplier<String>)
Reviewed-by: mduigou
2013-05-13 22:16:55 -07:00
Xueming Shen
288d98cbaa 8013386: (tz) Support tzdata2013c
Updated tz data to version 2013c

Reviewed-by: peytoia, okutsu
2013-05-13 20:35:36 -07:00
Valerie Peng
fe625d26a3 Merge 2013-05-13 16:52:33 -07:00
Kurchi Subhra Hazra
162500725a 8014254: Selector in HttpServer introduces a 1000 ms delay when using KeepAlive
Rearrange event-handling code to remove bottle-neck. Also reviewed by mhall@mhcomputing.net.

Reviewed-by: chegar, alanb
2013-05-13 13:48:58 -07:00
Mike Duigou
823dd51602 Merge 2013-05-13 13:15:20 -07:00
Bharadwaj Yadavalli
c5150dac16 8008687: MethodHandle code: allow static and invokespecial calls to interface methods
Changes to support invocation of lambda methods compiled either as static interface methods and or private instance methods.

Reviewed-by: jrose, twisti
2013-05-13 12:26:28 -07:00
Athijegannathan Sundararajan
53fafed923 8012975: Remove rhino from jdk8
Reviewed-by: alanb, tbell
2013-05-13 22:23:17 +05:30
Xue-Lei Andrew Fan
9d11c897d3 8005598: (reopened) Need to clone array of input/output parameters
Reviewed-by: weijun
2013-05-13 06:05:32 -07:00
Xue-Lei Andrew Fan
0abd396d42 8005535: SSLSessionImpl should have protected finalize()
Reviewed-by: weijun, wetmore
2013-05-13 05:41:51 -07:00
Ivan Gerasimov
171fdabebb 7021870: GzipInputStream closes underlying stream during reading
Reviewed-by: mduigou
2013-05-10 23:56:24 +04:00
Joe Darcy
b1127b3050 8014357: Minor refactorings to sun.reflect.generics.reflectiveObjects.*
Reviewed-by: mchung
2013-05-10 12:25:16 -07:00
Mike Duigou
d8751e2c7f Merge 2013-05-10 10:12:58 -07:00
Mike Duigou
386bb440ad 8014316: Use Method Refs in j.u.stream.MatchOps
Reviewed-by: dholmes
2013-05-10 09:51:14 -07:00