diff --git a/openjdk.pro b/openjdk.pro index 81031f3bc9..dd9e07a910 100644 --- a/openjdk.pro +++ b/openjdk.pro @@ -104,7 +104,8 @@ } -keepclassmembers class java.io.FileDescriptor { - private int fd; + private int fd; + private long handle; } -keep class java.net.InetAddress { @@ -132,7 +133,8 @@ } -keepclassmembers class java.io.FileOutputStream { - private java.io.FileDescriptor fd; + private java.io.FileDescriptor fd; + private boolean append; } # changed in native code via sun.misc.Unsafe (todo: handle other @@ -174,6 +176,10 @@ public UnixFileSystem(); } +-keep class java.io.WinNTFileSystem { + public WinNTFileSystem(); + } + -keep class java.io.File { private java.lang.String path; }