Skip to content

Commit b72d141

Browse files
Revert "Temporary dedup type name"
This reverts commit 76f79c9.
1 parent 5be237b commit b72d141

File tree

1 file changed

+3
-3
lines changed
  • tests/Mono.Android-Tests/Mono.Android-Tests/Java.Interop

1 file changed

+3
-3
lines changed

tests/Mono.Android-Tests/Mono.Android-Tests/Java.Interop/JnienvTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public void InvokingNullInstanceDoesNotCrashDalvik ()
108108
public void NewOpenGenericTypeThrows ()
109109
{
110110
try {
111-
var lrefInstance = JNIEnv.StartCreateInstance (typeof (GenericAndroidHolder<>), "()V");
111+
var lrefInstance = JNIEnv.StartCreateInstance (typeof (GenericHolder<>), "()V");
112112
JNIEnv.FinishCreateInstance (lrefInstance, "()V");
113113
Assert.Fail ("SHOULD NOT BE REACHED: creation of open generic types is not supported");
114114
} catch (NotSupportedException) {
@@ -118,7 +118,7 @@ public void NewOpenGenericTypeThrows ()
118118
[Test]
119119
public void NewClosedGenericTypeWorks ()
120120
{
121-
using (var holder = new GenericAndroidHolder<int>()) {
121+
using (var holder = new GenericHolder<int>()) {
122122
}
123123
}
124124

@@ -511,7 +511,7 @@ public ThrowableActivatedFromJava ()
511511
}
512512
}
513513

514-
class GenericAndroidHolder<T> : Java.Lang.Object {
514+
class GenericHolder<T> : Java.Lang.Object {
515515

516516
public T Value {get; set;}
517517

0 commit comments

Comments
 (0)