mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +00:00
4dbd404f64
* Remove non-deterministic classes from Avian (wip). * Complete integration between Avian and our local OpenJDK fork. * Revert accidental Avian modification. * Implements a "blacklist filter" for Avian's system classloader. * Remove .DSA, .RSA, .SF and .MF files when creating a fat jar. * Revert more accidental Avian changes. * Fix breakage with dependencies, and retain Kryo instance. * Apply blacklisting per thread rather than globally. * Blacklist java.lang.ClassLoader and all java.lang.Thread* classes. * Add comment explaining class blacklisting. * Fix Avian when building without OpenJDK. * Configure ProGuard to keep more classes for deserialisation. * Retain explicit return type for secure random function. * Add sources of random numbers to the class blacklist. * Blacklist the threading classes more precisely. * Make SystemClassLoader.isForbidden() static. * Prevent ProGuard from removing SerializedLambda.readResolve(). * Remove Avian tests involving direct buffers.
15 lines
522 B
Prolog
15 lines
522 B
Prolog
# proguard include file (http://proguard.sourceforge.net)
|
|
|
|
# We need these for Corda deserialisation:
|
|
-keep class sun.security.ec.ECPublicKeyImpl
|
|
-keep class sun.security.ec.ECPrivateKeyImpl
|
|
-keep class org.bouncycastle.jcajce.provider.asymmetric.rsa.BCRSAPublicKey
|
|
-keep class org.bouncycastle.jcajce.provider.asymmetric.rsa.BCRSAPrivateCrtKey
|
|
|
|
-keep class java.lang.invoke.SerializedLambda {
|
|
private java.lang.Object readResolve();
|
|
}
|
|
|
|
-keep class com.sun.org.apache.xerces.internal.jaxp.datatype.DatatypeFactoryImpl
|
|
|