You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Austin Stephens (JIRA)" <ji...@apache.org> on 2018/04/20 20:13:00 UTC

[jira] [Commented] (NETBEANS-708) Code completion throws an AssertionError when running before an annotation on a final variable in a method

    [ https://issues.apache.org/jira/browse/NETBEANS-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16446298#comment-16446298 ] 

Austin Stephens commented on NETBEANS-708:
------------------------------------------

It looks like it happens when the annotation is on a non-final value as well, it just happens more predictably.

> Code completion throws an AssertionError when running before an annotation on a final variable in a method
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-708
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-708
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Source
>    Affects Versions: 9.0
>            Reporter: Austin Stephens
>            Priority: Major
>
> {code:java}
>     private void asplode(){
>         
>         @SuppressWarnings("deprecation")
>         final int foo = 0;        
>     }
> {code}
> Typing anything above the annotation (like, say, 'I' for Integer) will cause an assertion error.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists