preserve Windows-specific OpenJDK entities from obfuscation

This commit is contained in:
Joel Dice 2011-04-14 16:39:25 -06:00
parent a17045b02f
commit 195bafa9b3

View File

@ -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;
}