Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8202178

type.getKind() for var is None instead of Error

    Details

    • Subcomponent:
    • Resolved In Build:
      b16
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        For cases like :
        class Test {var v1;}
        type.getKind() for v1 is coming as None instead of Error which is resulting in
        IllegalArgumentException from netbeans code.

        Attached VarInstanceMemberTest.java is test case to reproduce the issue.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sdama Srinivas Dama
                  Reporter:
                  sdama Srinivas Dama
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: