This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 84307 - Hung in error recovery.
Summary: Hung in error recovery.
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-06 14:56 UTC by Petr Hrebejk
Modified: 2007-11-07 08:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Hrebejk 2006-09-06 14:56:58 UTC
Adding extra '{' behind the opening '{' of interface or annotation makes the
parser to run in cycle forever. To reproduce try to open following class. 
package javaapplication1;

public @interface MyAnot {
  {
public String author() default "unknown";
public int review();

}


Probably some error-recovery bug.
Comment 1 Dusan Balek 2006-09-11 13:37:51 UTC
Fixed.
Comment 2 Jiri Prox 2007-11-07 08:27:45 UTC
v.