Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-708

Code completion throws an AssertionError when running before an annotation on a final variable in a method

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 9.0
    • Fix Version/s: None
    • Component/s: java - Source
    • Labels:
      None

      Description

          private void asplode(){
              
              @SuppressWarnings("deprecation")
              final int foo = 0;        
          }
      

      Typing anything above the annotation (like, say, 'I' for Integer) will cause an assertion error.

        Attachments

        1. NETBEANS-708.txt
          3 kB
          Jan Lahoda

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Sir Intellegence Austin Stephens
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: