diff --git a/tests/TestJVM/TestJVM.cs b/tests/TestJVM/TestJVM.cs index 2a22c518f..4995e874d 100644 --- a/tests/TestJVM/TestJVM.cs +++ b/tests/TestJVM/TestJVM.cs @@ -16,6 +16,7 @@ static JreRuntimeOptions CreateBuilder (string[] jars) var dir = Path.GetDirectoryName (typeof (TestJVM).Assembly.Location); var builder = new JreRuntimeOptions () { JvmLibraryPath = Environment.GetEnvironmentVariable ("JI_JVM_PATH"), + JniAddNativeMethodRegistrationAttributePresent = true, }; if (jars != null) { foreach (var jar in jars)