Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-704

org.jboss.forge.parser.java.impl.FieldImpl<O> do not handle byte[] class

XMLWordPrintable

      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

              rhn-support-ggastald George Gastaldi
              mxsb_jira Max Schwaab (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: