ENT-4595: Delete SgxSupport from core-deterministic. (#5804)

This commit is contained in:
Chris Rankin 2019-12-12 17:12:16 +00:00 committed by Matthew Nesbit
parent 1df0ba3aa2
commit f9eda81b4d
3 changed files with 3 additions and 10 deletions

View File

@ -64,7 +64,6 @@ task patchCore(type: Zip, dependsOn: coreJarTask) {
exclude 'net/corda/core/serialization/*SerializationFactory*.class'
exclude 'net/corda/core/serialization/internal/CheckpointSerializationFactory*.class'
exclude 'net/corda/core/internal/rules/*.class'
exclude 'net/corda/core/utilities/SgxSupport*.class'
}
reproducibleFileOrder = true

View File

@ -1,9 +0,0 @@
package net.corda.core.utilities
import net.corda.core.KeepForDJVM
@KeepForDJVM
object SgxSupport {
@JvmStatic
val isInsideEnclave: Boolean = true
}

View File

@ -1,5 +1,8 @@
package net.corda.core.utilities
import net.corda.core.DeleteForDJVM
@DeleteForDJVM
object SgxSupport {
@JvmStatic
val isInsideEnclave: Boolean by lazy {