9018 Commits

Author SHA1 Message Date
Martin Buchholz
24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00
Weijun Wang
a4b5e30688 8129789: implies() of ServicePermission and DelegationPermission underspecified
Reviewed-by: mullan
2015-09-02 19:20:46 +08:00
Vyom Tewari
b4782037f6 8064470: JNI exception pending in jdk/src/java/base/unix/native/libjava/FileDescriptor_md.c
Reviewed-by: alanb, chegar, dfuchs
2015-09-01 15:34:58 +02:00
Alejandro Murillo
a088fb343d Merge 2015-08-31 11:26:11 -07:00
Vinnie Ryan
b476482197 8130800: KeyStore.getInstance(File,char[]) does not throw IOE for null password
Reviewed-by: weijun, mullan
2015-08-31 10:14:34 +01:00
Brian Burkhalter
44c462ee50 8133987: (fs) Rename GnomeFileTypeDetector to GioFileTypeDetector
Rename class and associated native file as indicated and fix some related comments in the source and test.

Reviewed-by: alanb
2015-08-28 10:46:43 -07:00
Alejandro Murillo
b4c388e6ce Merge 2015-08-27 14:40:21 -07:00
Xueming Shen
e6b269ec59 8131067: (zipfs) Zip File System Provider returns doubly-encoded Path URIs
To decode the zip file path uri before passing it into zippath uri.

Reviewed-by: alanb
2015-08-27 14:32:42 -07:00
David Dehaven
eedfee9bfa Merge 2015-08-25 12:19:46 -07:00
Lance Andersen
791d62a37e 8133939: javadoc clarification for java.sql.Date.toLocalDate
Reviewed-by: joehw
2015-08-25 13:40:07 -04:00
Ivan Gerasimov
9073b652b3 8134356: {@code} tag contains < and > sequences
Reviewed-by: martin
2015-08-25 19:45:07 +03:00
Alexander Stepanov
572aef810c 8133802: replace some <tt> tags (obsolete in html5) in security-libs docs
Reviewed-by: mullan
2015-08-25 18:45:09 +03:00
Christoph Langer
739a00037e 8133830: [solaris] Fix for potential memory leak in TimeZone_md.c, function findJavaTZ_md()
Reviewed-by: andrew, goetz, okutsu
2015-08-25 18:40:32 +03:00
Rob McKenna
9835141429 8087190: Regression in sun.net.util.IPAddressUtil.isIPv4LiteralAddress(String)
Reviewed-by: chegar
2015-08-25 14:07:08 +01:00
Joel Borggrén-Franck
b7e143e8f6 8073056: Repeating annotations throws java.security.AccessControlException with a SecurityManager
Reviewed-by: ahgross, darcy
2015-08-24 11:00:12 +02:00
Alexander Zvegintsev
5b3adbd1d3 8134028: [PIT] XToolkit, strange behavior of robot.createScreenCapture(): looks like a native crash in X11/GTK
Reviewed-by: alexsch, serb
2015-08-21 10:43:47 -07:00
Alejandro Murillo
c56196370b Merge 2015-08-20 07:36:37 -07:00
Brian Burkhalter
ada1a8eecd 8074821: Resolve disabled warnings for libnio
Enable the indicated warnings and correct the code which provoked them.

Reviewed-by: alanb
2015-08-19 13:11:24 -07:00
Vinnie Ryan
68703f6458 8130799: KeyStoreSpi.engineProbe does not throw the expected NullPointerException
Reviewed-by: xuelei
2015-08-19 17:42:52 +01:00
Valerie Peng
33abd28183 8086002: Move apple.security.AppleProvider to a proper module
Move Apple provider to java.base module with "libosxsecurity" native library.

Reviewed-by: mchung
2015-08-18 21:16:27 +00:00
Alexander Stepanov
3ff6e41288 8132478: [tidy] three new warnings from java docs (java.net, javax.annotation)
Minor docs cleanup (jdk part)

Reviewed-by: lancea
2015-08-18 18:04:17 +03:00
Jean-Francois Denise
4d4cf68fd9 8132527: jimage tool extract and recreate options are not consistent (no NPE)
Module metadata original name must be reused when recreating a jimage

Reviewed-by: jlaskey
2015-08-18 15:46:01 +02:00
David Buck
a9fb6ab847 8133666: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux
Reviewed-by: sla, mgronlun
2015-08-18 04:29:28 -07:00
Alejandro Murillo
64e18f581d Merge 2015-08-17 11:18:31 -07:00
David Dehaven
75e42535c3 Merge 2015-08-17 10:12:16 -07:00
Sergey Bylokhov
894f976f30 6778087: getLocationOnScreen() always returns (0, 0) for mouse wheel events
Reviewed-by: alexsch, azvegint
2015-08-17 16:56:22 +03:00
Dmitry Samersoff
8b0d0cea27 Merge 2015-08-17 12:45:16 +03:00
Sergey Kuksenko
cd2d84c814 8132330: Ineffective SecureRandom usage in RSA encoding with PKCS1Padding
Reviewed-by: weijun
2015-08-15 21:14:08 +08:00
Xueming Shen
bef17a6e80 8039390: Unexpected behaviour of String.format with null arguments
To explicitly specify the null behavior for all conversions

Reviewed-by: rriggs
2015-08-15 04:38:51 +00:00
Alexander Stepanov
ea7449a3ad 8133480: replace some <tt> tags (obsolete in html5) in core-libs docs
Reviewed-by: lancea
2015-08-14 14:40:13 +03:00
Volker Simonis
1b8b82463e 8131168: Refactor ProcessHandleImpl_*.c and add implememtation for AIX
Reviewed-by: rriggs, smarks
2015-08-14 10:35:45 +02:00
Alejandro Murillo
d8f13cb1d1 Merge 2015-08-13 15:50:52 -07:00
Brian Burkhalter
10207de32f 8065595: Wrong JNI_OnLoad called if just loaded lib does not have JNI_OnLoad function
Add nio_util.c containing JNI_OnLoad bare bones implementation.

Reviewed-by: rriggs
2015-08-13 09:36:14 -07:00
Athijegannathan Sundararajan
d45350bdb1 8133347: Add makefiles support and basic session, persistence history navigation with jline
Reviewed-by: erikj, jlahoda, jlaskey
2015-08-13 19:09:18 +05:30
Alexander Stepanov
6b4c935035 8133459: replace <tt> tags (obsolete in html5) in java.nio docs
Reviewed-by: lancea
2015-08-13 12:40:07 +03:00
Ivan Gerasimov
6b0aff010f 8133232: [fs] Regex has redundant | in the char class
Reviewed-by: bpb, rriggs
2015-08-12 22:24:26 +03:00
Brian Burkhalter
5924c95500 8132539: (fs) Files.lines(path).collect() returns wrong value in JDK 9 with certain files
Do not use the Spliterator approach for lines() if the FileChannel size is thought to be zero.

Reviewed-by: chegar
2015-08-12 07:55:24 -07:00
David Dehaven
ebed974436 Merge 2015-08-11 12:33:25 -07:00
David Dehaven
0cf20fdd7b Merge 2015-08-11 12:32:10 -07:00
Alexander Stepanov
c683f90b9a 8133188: docs: replace <tt> tags (obsolete in html5) for java.util
Reviewed-by: martin
2015-08-11 20:46:46 +03:00
Sean Mullan
784379f7a4 8077055: Allow other named SecurityPermissions, RuntimePermissions, and AuthPermissions to be used
Reviewed-by: weijun
2015-08-11 08:48:18 -04:00
Matthias Baesken
1104878b02 8133105: Fix getFinalAttributes() on Windows to handle more special cases
Reviewed-by: simonis, rriggs
2015-08-11 10:53:50 +02:00
Alejandro Murillo
29ad7ba848 Merge 2015-08-10 18:58:25 -07:00
Brian Burkhalter
aabba04bda 8132497: (fs) FileSystems.newFileSystem(URI, ..) doesn't handle UOE thrown by provider
Handle UOEs in newFileSystem(URI,...) similarly to as done in newFileSystem(Path path, ClassLoader loader).

Reviewed-by: chegar
2015-08-10 10:50:24 -07:00
Staffan Larsen
48c33a4389 Merge 2015-08-10 13:34:55 +00:00
Staffan Larsen
de0713848b 8076470: Remove the JVM TI hprof Agent
Reviewed-by: sspitsyn, mchung, erikj
2015-08-10 13:08:55 +02:00
Dmitry Samersoff
c23132013d Merge 2015-08-10 14:05:37 +03:00
Brian Burkhalter
f0c2f24793 8080115: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads
Make GnomeFileTypeDetector.probeGio() synchronized and add a regression test based on the test source included in JDK-8080115.

Reviewed-by: chegar
2015-08-07 07:10:44 -07:00
Volker Simonis
0ee85af4ec 8132551: Initialize local varibales before returning them in p11_convert.c
Reviewed-by: wetmore
2015-08-07 10:25:19 +02:00
Xueming Shen
f6514bdd8a 8080252: java.util.Formatter documentation of %n converter is misleading
To correct the %n ref to System.lineSeparator()

Reviewed-by: smarks, rriggs
2015-08-06 21:56:31 +00:00