Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7947

3.1 error is on class but should be on the field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.0.CR1
    • 3.2.0.Beta2
    • cdi
    • None

      @Singleton
      public class Test {

      public String xxx;
      public String xyz;
      }

      Gives something like this on the class for every public field:
      Description Resource Path Location Type
      Managed bean with a public field must be @Dependent scoped [JSR-299 ยง3.1] MockOptionTestPlugin.java /forge-shell/src/test/java/org/jboss/seam/forge/shell/test/command line 36 CDI Problem

      That error should be on the field, not the class.

              alexeykazakov Alexey Kazakov
              manderse@redhat.com Max Andersen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: