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

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 9.0
    • None
    • java - Source
    • 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

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

            Dates

              Created:
              Updated: