Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343357

Summary: Parser bug prevents project compilation
Product: [WebTools] JSDT Reporter: Patric Rufflar <patric>
Component: GeneralAssignee: Project Inbox <jsdt.javascript-inbox>
Status: RESOLVED WORKSFORME QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: cmjaun
Version: 3.2.3Keywords: needinfo
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Patric Rufflar CLA 2011-04-20 05:38:45 EDT
Build Identifier: 3.2.3

There's a bug in the parses which causes jsdt to destabilize, a regular compilation is not possible any more (even when the problematic js file is not opened in an editor).

Please have a look at the minimalistic example below.

Reproducible: Always

Steps to Reproduce:
1. Open a new javascript file
2. Paste: /* function */ */ */ */ */ */
3. Save
Comment 1 Patric Rufflar CLA 2011-04-20 05:40:45 EDT
Additional info:
Even if the problematic source code / file will be removed, JSDT remains in an unstable state which makes further changes impossible.
A restart is necessary.
Comment 2 Chris Jaun CLA 2011-04-20 13:25:42 EDT
I do not observe any unstable state in 3.2.4, which contains an updated parser. I just see some syntax errors reported.
Comment 3 Nitin Dahyabhai CLA 2011-04-20 16:17:46 EDT
Patric, what destabilizing symptoms were you seeing?
Comment 4 Nitin Dahyabhai CLA 2011-04-27 22:01:58 EDT
Lowering severity and resolving from lack of details.  Patric, please reopen if you have more information or (later) find that problems persist with 3.2.4.  I do find that memory spikes when making further changes, but it's apparently just collectable garbage.