JPDA: Field.isSynthetic () always returns false.

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P5
    • None
    • Affects Version/s: 1.3.1
    • Component/s: core-svc
    • None
    • x86
    • windows_2000

      When the following class is compiled using javac, class$java$math$BigDecimalField field is generated. According to the Field.isSynthetic () method, this field is not synthetic.

      public class Synthetic {
        public static void main (String args []) {
          System.out.println (java.math.BigDecimal.class);
        }
      }

      The same problem occurs in case of fields of type this$0 that are generated for inner classes. They are not considered to be synthetic again.

      I used javac and fastjavac in this case to compile a class. That's the reason why I fill this bug against JPDA, not javac. However, I am not sure if the issue is directly related to JPDA or not ...

            Assignee:
            Unassigned
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: