Skip to content

Commit 8642a73

Browse files
committed
Merge pull request #474 from NativeScript/pete/fix-dexFactory-bug
Fix DexFactory bug when creating proxy
2 parents fac893e + 041017e commit 8642a73

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/src/com/tns/DexFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,12 @@ private String getClassToProxyName(String className) throws InvalidClassExceptio
194194
{
195195
String classToProxy = className;
196196

197-
if (className.startsWith("com.tns.gen"))
197+
if (className.startsWith("com.tns.gen."))
198198
{
199199
classToProxy = className.substring(12);
200200
}
201201

202-
if (classToProxy.startsWith("com.tns.gen"))
202+
if (classToProxy.startsWith("com.tns.gen."))
203203
{
204204
throw new InvalidClassException("Can't generate proxy of proxy");
205205
}

0 commit comments

Comments
 (0)