mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
preserve Windows-specific OpenJDK entities from obfuscation
This commit is contained in:
parent
a17045b02f
commit
195bafa9b3
@ -105,6 +105,7 @@
|
|||||||
|
|
||||||
-keepclassmembers class java.io.FileDescriptor {
|
-keepclassmembers class java.io.FileDescriptor {
|
||||||
private int fd;
|
private int fd;
|
||||||
|
private long handle;
|
||||||
}
|
}
|
||||||
|
|
||||||
-keep class java.net.InetAddress {
|
-keep class java.net.InetAddress {
|
||||||
@ -133,6 +134,7 @@
|
|||||||
|
|
||||||
-keepclassmembers class java.io.FileOutputStream {
|
-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
|
# changed in native code via sun.misc.Unsafe (todo: handle other
|
||||||
@ -174,6 +176,10 @@
|
|||||||
public UnixFileSystem();
|
public UnixFileSystem();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-keep class java.io.WinNTFileSystem {
|
||||||
|
public WinNTFileSystem();
|
||||||
|
}
|
||||||
|
|
||||||
-keep class java.io.File {
|
-keep class java.io.File {
|
||||||
private java.lang.String path;
|
private java.lang.String path;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user