105 Commits

Author SHA1 Message Date
Claes Redestad
22df7c453f 8145988: Use the raw methods of java.net.URI when possible
Reviewed-by: shade, chegar
2015-12-22 16:42:16 +01:00
Claes Redestad
5f1918e76e 8145680: Remove unnecessary explicit initialization of volatile variables in java.base
Reviewed-by: alanb, chegar, jfranck, shade
2015-12-21 20:54:00 +01:00
Brian Burkhalter
30abf404b3 8139133: Changing the modification time on a unix domain socket file fails
If a file descriptor cannot be obtained, use utimes() instead of futimes().

Reviewed-by: alanb
2015-12-10 15:57:27 -08:00
Rob McKenna
4a95c1495d 8142872: Remove support for sun.nio.ch.PollSelectorProvider from 9
Reviewed-by: alanb, simonis
2015-11-30 17:37:48 +00:00
Roger Riggs
2714bdae50 8132394: (process) ProcessBuilder support for a pipeline of processes
Reviewed-by: psandoz, alanb
2015-11-13 15:48:59 -05:00
Jesper Wilhelmsson
a18ce1f7d5 Merge 2015-10-30 00:02:35 +01:00
Bob Vandette
3dc2d02585 8136556: Add the ability to perform static builds of MacOSX x64 binaries
Reviewed-by: ihse, bdelsart, gadams, lfoltan, rriggs, hseigel, twisti
2015-10-19 13:41:09 -04:00
Thomas Stuefe
18794fd351 8139037: [aix] Crash in ResolverConfigurationImpl.c - pointer shearing
Reviewed-by: goetz, simonis
2015-10-07 15:29:55 +02:00
Ivan Gerasimov
cc953fc59a 8138819: (se) File descriptor leak when Selector.open fails
Reviewed-by: rriggs, alanb
2015-10-06 12:00:38 +03:00
Rob McKenna
7127fab647 8133249: Occasional SIGSEGV: non thread-safe use of strerr in getLastErrorString
Reviewed-by: igerasim, rriggs, christos
2015-10-01 00:13:09 +01:00
Artem Smotrakov
fb9ae3bb10 8137174: NTLM impl should use doPrivileged when it reads system properties
Reviewed-by: chegar
2015-09-30 15:30:50 +03:00
Chris Hegarty
0cc24c29ca 8137056: Move SharedSecrets and interface friends out of sun.misc
Reviewed-by: alanb, mchung, psandoz, rriggs
2015-09-28 13:39:27 +01:00
James Laskey
8aa6d9f160 8135197: libjimage code needs translation from hotspot-ish to jdk-ish
Reviewed-by: rriggs, chegar
2015-09-22 12:47:40 -03:00
Martin Buchholz
623caa1da9 8136570: Stop changing user environment variables related to /usr/dt
4953367: MAWT: Java should be more careful manipulating NLSPATH, XFILESEARCHPATH env variables

Stop changing user environment variables: NLSPATH XFILESEARCHPATH

Reviewed-by: prr
2015-09-16 10:49:11 -07:00
Vyom Tewari
681e6b478b 8073542: File Leak in jdk/src/java/base/unix/native/libnet/PlainDatagramSocketImpl.c
Ensure that file descriptor is properly closed if setsockopt fails.

Reviewed-by: chegar, igerasim
2015-09-17 17:33:00 +02:00
Martin Buchholz
a2f0fe3c94 8136583: Core libraries should use blessed modifier order
Run blessed-modifier-order script (see bug)

Reviewed-by: psandoz, chegar, alanb, plevart
2015-09-15 21:56:04 -07:00
Alejandro Murillo
556157743b Merge 2015-09-10 14:55:20 -07:00
Christoph Langer
981fa17133 8134505: Cleanup of "TimeZone_md.c"
Reviewed-by: rriggs, dsamersoff, simonis
2015-09-10 17:56:24 +02:00
Vyom Tewari
7c9b107d1f 8080402: File Leak in jdk/src/java.base/share/classes/sun/net/sdp/SdpSupport.java
Reviewed-by: alanb, chegar, igerasim, msheppar
2015-09-10 17:14:59 +02:00
Volker Simonis
7beac309c0 8135271: Add missing "-client IGNORE" to jvm.cfg file for ppc64
Reviewed-by: rriggs
2015-09-10 11:44:14 +02:00
Ivan Gerasimov
50aa8839d5 8072466: Deadlock when initializing MulticastSocket and DatagramSocket
Reviewed-by: chegar
2015-09-09 16:33:19 +03:00
Jesper Wilhelmsson
a97c863c3d Merge 2015-09-08 16:10:36 +02:00
Jim Laskey
953b4a3225 8087181: Move native jimage code to its own library (maybe libjimage)
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: alanb, lfoltan, hseigel, acorn
2015-09-04 10:11:43 -03:00
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
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
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
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
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
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
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
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
Brian Burkhalter
ba6e733ede 8129633: (fs) Investigate removing the GNOME-based FileTypeDetector from the Linux and Solaris implementations
Remove the GNOME VFS detector leaving the libgio detector in place.

Reviewed-by: chegar
2015-08-06 12:35:59 -07:00
Brian Burkhalter
594c515e82 8132652: Java_sun_nio_ch_Net_poll passes a long to an int
Clamp long timeout parameter to [-1,INT_MAX].

Reviewed-by: alanb
2015-08-03 10:25:38 -07:00
Brian Burkhalter
56a927013b 8130274: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal
Make UnixFileStore.equals() also compare the return values of name(), the names of the mounted filesystems.

Reviewed-by: alanb
2015-07-31 07:12:36 -07:00
Brian Burkhalter
6dbdc160b4 8132505: Signature of Java_sun_nio_ch_Net_socket0 should return jint not int
Change return type of Java_sun_nio_ch_Net_socket0 from int to jint

Reviewed-by: alanb
2015-07-31 07:04:48 -07:00
Volker Simonis
29a79fc1a3 8132374: AIX: fix value of os.version property
Reviewed-by: alanb, rriggs
2015-07-27 19:50:14 +02:00
Rob McKenna
7ee95a458c 8075738: Better multi-JVM sharing
Reviewed-by: michaelm
2015-04-21 20:33:34 +01:00
Kumar Srinivasan
8c4275fcb7 8073773: Presume path preparedness
Reviewed-by: darcy, dholmes, ahgross
2015-03-02 08:19:11 -08:00
Roger Riggs
9bb445c368 Merge 2015-07-14 22:21:52 -04:00
Roger Riggs
8477d88b81 8078099: (process) ProcessHandle should uniquely identify processes
8078108: (process) ProcessHandle.isAlive should be robust

IsAlive should check and confirm the start time

Reviewed-by: simonis, plevart
2015-07-14 15:35:37 -04:00
Daniel D. Daugherty
10219ee9a2 Merge 2015-07-03 07:13:24 -07:00
Ivan Gerasimov
0e510a1f61 8077242: (str) Optimize AbstractStringBuilder.append(CharSequence, int, int) for String argument
Reviewed-by: martin
2015-07-02 00:26:35 +03:00
Jean-Francois Denise
30cacaa5c9 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:24:39 +02:00
Brian Burkhalter
bfe32f271f 8129632: (fs) Files.probeContentType returns null on Mac OS X
Append a Uniform Type Identifier-based FileType Detector for Mac OS X

Reviewed-by: alanb
2015-06-30 10:47:54 -07:00
Roger Riggs
cacb730235 8086208: java/lang/ProcessHandle/OnExitTest.java: IllegalThreadStateException: process hasn't exited
Reviewed-by: martin, dholmes
2015-06-17 16:03:49 -04:00
Brian Burkhalter
4b1eb9b618 8081843: (fs) FileStore.getTotalSpace returns unexpected results with >2TB file systems
On Mac OS X use statfs() instead of statvfs().

Reviewed-by: alanb
2015-06-12 17:06:28 -07:00
Brian Burkhalter
a2d7bc3020 8087288: File.get{Free,Total,Usable}Space may return unexpected results with >2TB file systems
On Mac OS X replace statvfs64() and struct statvfs64 with statfs() and struct statfs, respectively, and f_frsize with f_bsize.

Reviewed-by: alanb
2015-06-12 17:05:26 -07:00
Alexander Stepanov
2541238e18 8081517: minor cleanup for docs
Fix some tidy and javadoc warnings/errors

Reviewed-by: lancea, rriggs
2015-06-08 16:37:53 +04:00
Brian Toal
57abe9b399 8080819: Inet4AddressImpl regression caused by JDK-7180557
Reviewed-by: michaelm
2015-06-05 14:20:40 +01:00