22 Commits

Author SHA1 Message Date
Sean Mullan
f91e4dfbaf 8165712: Grant permission to read specific properties instead of all to the jdk.crypto.ucrypto module
Reviewed-by: xuelei
2016-10-17 15:31:50 +00: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
Sean Mullan
dded3f4e47 8162882: Permission merge issue in jdk.crypto.ucrypto module
Reviewed-by: valeriep
2016-08-01 16:59:04 -04:00
Sean Mullan
663f6eb830 8159752: Grant de-privileged module permissions by default with java.security.policy override option
Reviewed-by: alanb, chegar, mchung, tbell, weijun
2016-07-29 19:00:54 -04: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
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
Chris Hegarty
25b68378f6 8153737: Unsupported Module
Reviewed-by: alanb, mchung, psandoz
2016-04-09 20:12:13 +01:00
Erik Joelsson
26cd467900 8152545: Use preprocessor instead of compiling a program to generate native nio constants
Reviewed-by: alanb
2016-03-24 14:23:37 +01:00
Alan Bateman
db4d383614 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00: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
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
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
Roger Riggs
103d99baf1 8077350: JEP 102 Process API Updates Implementation
Reviewed-by: chegar, plevart, psandoz, darcy, martin, alanb
2015-05-29 14:04:12 -04: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