23 Commits

Author SHA1 Message Date
Brian Burkhalter
3630a6a4f8 8168500: (se) EPollArrayWrapper optimization for update events should be robust to dynamic changes in file descriptor resource limits
Make eventsHigh final and always initialize it to an empty Map.

Reviewed-by: alanb
2016-11-15 08:40:36 -08: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
Roger Riggs
e54c445538 8161431: JNI pending exceptions in ProcessHandleImpl_linux.c and ProcessHandleImpl_unix.c
Reviewed-by: naoto
2016-08-08 13:55:16 -04:00
Brian Burkhalter
82e9d18d0e 8162624: (fs) Remove FileTypeDetectors based on libgio and libmagic
Remove GioFileTypeDetector and MagicFileTypeDetector.

Reviewed-by: alanb
2016-07-27 14:27:46 -07:00
Martin Walsh
a7e2ba6615 8160831: GioFileTypeDetector always calls deprecated g_type_init
Ensure that g_type_init is non-null before using it.

Reviewed-by: alanb
2016-07-11 14:46:21 -07:00
Brian Burkhalter
7f9465ef15 8160018: (fs) Remove GioFileTypeDetector on Solaris
Remove the GioFileTypeDetector from the chain of FileTypeDetectors provided by SolarisFileSystemProvider.

Reviewed-by: rriggs
2016-07-01 12:55:23 -07:00
Alan Bateman
a5e1465831 8066258: Re-examine com.sun.nio.file to see if it should be a supported API
Reviewed-by: chegar
2016-05-30 17:38:05 +01:00
Brian Burkhalter
5106d55d55 8153192: (se) Selector.select(long) uses wrong timeout after EINTR (lnx)
Pass what remains of the initial timeout to epoll_wait(2) (Linux) and ioctl(7d) (Solaris) instead of the original un-decremented timeout value.

Reviewed-by: alanb, rriggs
2016-05-04 08:04:22 -07:00
Claes Redestad
e8cd76568d 8155775: Re-examine naming of privileged methods to access System properties
Reviewed-by: mullan
2016-05-03 15:50:54 +02:00
Thomas Stuefe
52e49f6e86 8150460: (linux|bsd|aix)_close.c: file descriptor table may become large or may not work at all
Reviewed-by: dsamersoff, rriggs
2016-03-03 12:47:46 +01:00
Claes Redestad
2b5207e74d 8154231: Simplify access to System properties from JDK code
Reviewed-by: rriggs, chegar, weijun
2016-04-21 13:39:53 +02:00
Sebastian Sickelmann
053032b76c 8145981: (fs) LinuxWatchService can reports events against wrong directory
Fixes wakeup mechanism of LinuxWatchService and introduces a test

Reviewed-by: alanb
2015-12-30 19:20:51 +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
Chris Hegarty
bdbc4d15df 8140606: Update library code to use internal Unsafe
Reviewed-by: alanb, mchung, psandoz, weijun
2015-11-11 09:19:12 +00: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
Roger Riggs
ed3d59c71a 8133552: java/lang/ProcessHandle/InfoTest.java fails intermittently - incorrect user
8133809: Remove java/lang/ProcessHandle/InfoTest.java from the Problem List

Reviewed-by: darcy, chegar, simonis
2015-09-11 09:25:15 -04: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
Volker Simonis
1b8b82463e 8131168: Refactor ProcessHandleImpl_*.c and add implememtation for AIX
Reviewed-by: rriggs, smarks
2015-08-14 10:35:45 +02:00
Joe Darcy
d112215fc2 8078467: Update core libraries to use diamond with anonymous classes
Reviewed-by: mchung, alanb
2015-04-23 09:32:35 -07:00
Erik Joelsson
4f8c2c5896 8055190: Cleanup include and exclude of core-libs native libraries after source code restructure
Reviewed-by: alanb
2015-01-26 10:24:25 +01:00
Chris Hegarty
3bc69d393d 8054834: Modular Source Code
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: alanb, chegar, ihse, mduigou
2014-08-17 15:54:13 +01:00