You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but it returns with java.lang.ClassNotFoundException: some.library.OuterClass.NestedStaticClass
while the OuterClass works but does not generate code for the nested class
I guess this is because Class.forName and friends need the binary class name, not the one we use in Java source code.
In the binary name, inner classes are separated with $ (not .) from the enclosing class.
I had the same problem in the compiler and solved it imho satisfactory, for details see frege.compiler.Javatypes.classForName
Is there support for nested static classes? such as NestedStaticClass
I've tried
but it returns with java.lang.ClassNotFoundException: some.library.OuterClass.NestedStaticClass
while the OuterClass works but does not generate code for the nested class
The text was updated successfully, but these errors were encountered: