From a1a8ef146cdd015be65d52929430d15d5f0b3b9b7593ea3c3116e1bdcab3314b Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 23 Aug 2017 16:27:24 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:Factory/java-1_8_0-openjdk?expand=0&rev=233 --- java-1_8_0-openjdk-linuxfilestore.patch | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/java-1_8_0-openjdk-linuxfilestore.patch b/java-1_8_0-openjdk-linuxfilestore.patch index 23a3a39..caf5f38 100644 --- a/java-1_8_0-openjdk-linuxfilestore.patch +++ b/java-1_8_0-openjdk-linuxfilestore.patch @@ -1,6 +1,6 @@ --- openjdk/jdk/src/solaris/classes/sun/nio/fs/LinuxFileStore.java 2017-08-23 11:40:26.690809603 +0200 +++ openjdk/jdk/src/solaris/classes/sun/nio/fs/LinuxFileStore.java 2017-08-23 11:44:28.314815334 +0200 -@@ -74,20 +74,20 @@ +@@ -74,8 +74,16 @@ } catch (UnixException x) { x.rethrowAsIOException(parent); } @@ -19,15 +19,3 @@ path = parent; parent = parent.getParent(); } - -- // step 3: lookup mounted file systems (use /proc/mounts to ensure we -- // find the file system even when not in /etc/mtab) -- byte[] dir = path.asByteArray(); -- for (UnixMountEntry entry: fs.getMountEntries("/proc/mounts")) { -- if (Arrays.equals(dir, entry.dir())) -- return entry; -- } -- - throw new IOException("Mount point not found"); - } -