mbien commented on PR #8991:
URL: https://github.com/apache/netbeans/pull/8991#issuecomment-3514758602

   i can now view the bugzilla bugs again since my account got repaired, the 
comment mentions the hotfix for 
https://bz.apache.org/netbeans/show_bug.cgi?id=213723 which is the exact same 
bug.
   reproducer was:
   ```java
   public enum Tester {
       ENUM1 {
           {
               System.out.println("");
           }
       },
       ENUM2 {
           @Override
           public String toString() {
               return super.toString();
           }
       };
       private Tester() {
       }
   }
   ```
   what I believe happened is that `getStartPosition()` used to return -1 
there, but for some reason it returns now a positive number, while 
`getStartPosition()` still returns -1. This made the same bug resurface again.
   
   So this PR essentially activates the old hotfix again. cc @jlahoda 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to