2121 Commits

Author SHA1 Message Date
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
Roger Riggs
6ff3529ff2 8166148: Fix for JDK-8165936 broke solaris builds
Reviewed-by: naoto
2016-09-15 16:05:51 -04:00
Henry Jen
bc3449ccbe 8042148: Ensure that the java launcher help is consistent with the manpage where they report common information
Reviewed-by: ksrini
2016-09-16 10:57:02 -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
Weijun Wang
9eda16c50d 8165816: jarsigner -verify shows jar unsigned if it was signed with a weak algorithm
Reviewed-by: mullan
2016-09-14 00:29:30 +08:00
Mark Sheppard
3463ee94d8 8164147: Improve streaming socket output
Reviewed-by: chegar, igerasim
2016-09-13 11:59:56 +01:00
Thomas Stuefe
e99208ee7d 8165936: Potential Heap buffer overflow when seaching timezone info files
Readdir_r called with too small buffer

Reviewed-by: clanger, rriggs, okutsu, naoto
2016-09-13 11:38:31 +02:00
Alejandro Murillo
b2e658b722 Merge 2016-09-14 11:22:39 -07:00
Jamil Nimeh
1b9ce49e92 8132926: PKIXParameters built with public key form of TrustAnchor causes NPE during cert path building/validation
Fix cases where non-certificate issuer information may be passed into the OCSPResponse.verify method, thereby causing NPEs to be thrown.

Reviewed-by: xuelei
2016-09-14 07:37:15 -07:00
Chris Bensen
a7b5545cb8 8165524: Better detect JRE that Linux JLI will be using
Reviewed-by: ksrini
2016-09-14 06:46:19 -07:00
Daniel Fuchs
aebe74d3f5 6543126: Level.known can leak memory
Custom level instances will now be released when their defining class loader is no longer referenced.

Reviewed-by: plevart, mchung, chegar
2016-09-14 14:04:14 +01:00
Steve Drach
375fe9b50c 8163798: Create a JarFile versionedStream method
Reviewed-by: mchung, psandoz, redestad
2016-09-13 13:55:35 -07:00
Rob McKenna
2cca4bcc0a 6947916: JarURLConnection does not handle useCaches correctly
Reviewed-by: chegar
2016-09-13 14:47:29 +01:00
Vyom Tewari
912fe7e358 8075484: SocketInputStream.socketRead0 can hang even with soTimeout set
Reviewed-by: chegar, dsamersoff, msheppar, clanger
2016-09-13 17:00:06 +05:30
Xue-Lei Andrew Fan
6e132741b6 8165071: Expand TLS support
Reviewed-by: jnimeh, ahgross, asmotrak
2016-09-13 00:20:17 +00:00
David Dehaven
876ddcae54 Merge 2016-09-12 15:26:27 -07:00
Doug Lea
60cd28abd7 8164169: Miscellaneous changes imported from jsr166 CVS 2016-09
Reviewed-by: martin, psandoz, shade
2016-09-12 13:14:49 -07:00
Doug Lea
d7f3695a90 8164983: Improve CountedCompleter code samples; add corresponding tests
Reviewed-by: martin, psandoz, shade
2016-09-12 13:07:30 -07:00
Naoto Sato
4c95fceb14 8165605: Thai resources in jdk.localedata cause split package issue with java.base
Reviewed-by: mchung, erikj
2016-09-12 09:38:32 -07:00
Claes Redestad
2ac4d6a7d3 8165723: JarFile::isMultiRelease() method returns false when it should return true
Reviewed-by: alanb
2016-09-12 17:45:55 +02:00
Claes Redestad
32f983128d 8165492: Reduce number of lambda forms generated by MethodHandleInlineCopyStrategy
Reviewed-by: mhaupt, vlivanov, psandoz, shade
2016-09-12 13:23:07 +02:00
Alejandro Murillo
1808257845 Merge 2016-09-10 12:23:52 -07:00
Alejandro Murillo
8957d8798f Merge 2016-09-10 12:18:34 -07:00
Mandy Chung
2b31773cba 8165634: Support multiple --add-modules options on the command line
Reviewed-by: alanb
2016-09-10 08:27:40 -04:00
Athijegannathan Sundararajan
85eaf2d3d3 8165726: fix for 8165595 revealed a bug in pack200 tool's handling of main class attribute of module-info classes
Reviewed-by: ksrini
2016-09-10 06:46:45 +05:30
Patrick Reinhart
5deb28b6a1 8161230: ClassLoader: add resource methods returning java.util.stream.Stream
Reviewed-by: psandoz, alanb, mchung, tvaleev
2016-09-09 14:54:41 -07:00
Paul Sandoz
a7dd7b59da 8164691: Stream specification clarifications for iterate and collect
Reviewed-by: briangoetz, smarks, tvaleev
2016-09-09 14:54:29 -07:00
Paul Sandoz
caa7db4496 8165731: Reference to removed method in VarHandle JavaDoc
Reviewed-by: shade, bpb
2016-09-09 14:54:24 -07:00
Mandy Chung
397525a2d4 8165346: j.l.ClassLoader.getDefinedPackage(String) throws NPE
Reviewed-by: alanb, lancea, shade
2016-09-09 13:44:48 -07:00
Kim Barrett
4f08176bb5 8165393: bad merge in java/lang/ref/package-info.java
Added the missing change.

Reviewed-by: rriggs
2016-09-09 16:24:24 -04:00
Stuart Marks
e249470c72 4285505: deprecate java.lang.Compiler
Reviewed-by: shade, forax, kmo, tellison, mchung, alanb, rriggs
2016-09-09 12:07:49 -07:00
Dean Long
88318fc0e0 Merge 2016-09-08 23:43:47 -04:00
Martin Buchholz
97ed09e075 8165643: SecureDirectoryStream doesn't work on linux non-x86
Reviewed-by: alanb
2016-09-07 14:44:59 -07:00
Joe Darcy
d14725c1ad 8039854: Broken link in java.lang.RuntimePermission
Reviewed-by: lancea
2016-09-08 14:23:45 -07:00
Mandy Chung
37ff205c8a 8165563: ClassLoader::getSystemClassLoader will never be null
Reviewed-by: alanb, dholmes, psandoz
2016-09-08 09:45:50 -07:00
Stuart Marks
b5f85932d6 8165636: add removal text to Runtime.traceInstructions/MethodCalls deprecation text
Reviewed-by: iris, darcy, mchung
2016-09-07 14:59:55 -07:00
Kumar Srinivasan
45e7a1faa8 8151901: test/tools/pack200/Pack200Test fails on verifying native unpacked JAR
Reviewed-by: jrose
2016-09-07 10:58:22 -07:00
Harold Seigel
6f8c0a7193 8058575: IllegalAccessError trying to access package-private class from VM anonymous class
Put anonymous classes in unnamed package into host class's package.  Throw exception if host class's package differs from anonymous class.

Reviewed-by: coleenp, acorn
2016-09-07 07:21:43 -04:00
Ivan Gerasimov
b7edd5f9aa 8165413: Typos in javadoc: extra period, wrong number, misspelled word
Reviewed-by: weijun, mullan
2016-09-07 10:14:48 +03:00
Stuart Marks
97fa8cd04e 8159404: throw UnsupportedOperationException unconditionally for mutator methods
Reviewed-by: martin, psandoz
2016-09-06 16:08:54 -07:00
Alan Burlison
3228ea809c 8161360: Deprecated vfork() should not be used on Solaris
Reviewed-by: rriggs, dsamersoff
2016-09-06 13:09:29 -04:00
Christoph Langer
5044a0fdc4 8163181: Further improvements for Unix NetworkInterface native implementation
Reviewed-by: chegar, msheppar
2016-09-05 10:05:12 +02:00
Ivan Gerasimov
164b17df5b 8165243: Base64.Encoder.wrap(os).write(byte[],int,int) with incorrect arguments should not produce output
Reviewed-by: rriggs, alanb, sherman
2016-09-03 13:43:01 +03:00
Brian Burkhalter
925586066c 8165000: Selector.select(timeout) throws IOException when timeout is a large long
Clamp the timeout passed to kevent0 to the largest value that does not provoke the error.

Reviewed-by: clanger, alanb
2016-09-02 12:38:27 -07:00
Andrey Dyachkov
6d3b1a78ad 8155102: (Process) Process.toString could include pid, isAlive, exitStatus
Reviewed-by: rriggs
2016-09-02 12:30:46 -04:00
Alejandro Murillo
092d3bef1c Merge 2016-09-01 15:20:57 -07:00
Sean Coffey
9807f64dfc 8164846: CertificateException missing cause of underlying exception
Reviewed-by: xuelei
2016-09-01 11:01:47 +01:00
Li Jiang
44ec255a91 8145952: ISO 4217 amendment 161
8164784: ISO 4217 amendment 162

Reviewed-by: naoto
2016-09-01 01:39:21 -07:00
Ramanand Patil
6906b1ad96 8161016: Strange behavior of URLConnection with proxy
Reviewed-by: shade, chegar
2016-09-01 10:35:38 +05:30