mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
preserve Windows-specific OpenJDK entities from obfuscation
This commit is contained in:
parent
a17045b02f
commit
195bafa9b3
10
openjdk.pro
10
openjdk.pro
@ -104,7 +104,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
-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 {
|
||||||
@ -132,7 +133,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
-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