Skip to content

Commit bd8e058

Browse files
committed
Fix unit test failure in generator-Tests
1 parent a32e0e1 commit bd8e058

File tree

1 file changed

+1
-1
lines changed
  • tools/generator/Java.Interop.Tools.Generator.ObjectModel

1 file changed

+1
-1
lines changed

tools/generator/Java.Interop.Tools.Generator.ObjectModel/ClassGen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public static void GenerateTypeRegistrations (CodeGenerationOptions opt, Generat
181181
int ls = reg.Key.LastIndexOf ('/');
182182
string package = ls >= 0 ? reg.Key.Substring (0, ls) : "";
183183

184-
if (JavaNativeTypeManager.ToCliType (reg.Key) == reg.Value)
184+
if (JavaNativeTypeManager.ToCliType (reg.Key) == reg.Value.Replace ('/', '+'))
185185
continue;
186186
if (!mapping.TryGetValue (package, out var v))
187187
mapping.Add (package, v = new List<KeyValuePair<string, string>> ());

0 commit comments

Comments
 (0)