-
Bug
-
Resolution: Done
-
Major
-
1.1.0.Final
-
None
org.jboss.forge.parser.java.impl.FieldImpl<O> can not handle byte[] class.
When trying to generate a byte[] field org.jboss.forge.parser.java.impl.FieldImpl.setType(Class<?>) fails, because at the end it depends on Class.getName, which does not start with "java.lang" (checked in org.jboss.forge.parser.java.impl.AbstractJavaSource<O>).
Forge tries to generate an import for the name byte[], which fails in org.jboss.forge.parser.java.impl.AbstractJavaSource.addImport(String)
I discovered this while using the hibersap-plugin.
Best regards
Max