Incorrect printing of the generic method declaration

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 8, 9
    • Component/s: tools
    • Environment:

      8.0 b129, 9 dev

      Get javap's output for class that contains generic methods, e.g.
      public class Sample {
          public <T> T m1(T a) {
              return null;
          }
      }

      Method's declaration is printed incorrectly -redundant printing of extends java.lang.Object superclass

      For verbose mode:
      ...........
        public <T extends java.lang.Object> T m1(T);
      ...........

            Assignee:
            Jonathan Gibbons
            Reporter:
            Oleg Barbashov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: