« Return to Thread: [ checkstyle-Bugs-2008498 ] Parser error with obscure syntax

[ checkstyle-Bugs-2008498 ] Parser error with obscure syntax

by SourceForge.net :: Rate this Message:

Reply to Author | View in Thread

Bugs item #2008498, was opened at 2008-07-02 16:06
Message generated for change (Comment added) made by oburn
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397078&aid=2008498&group_id=29721

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Oliver Burn (oburn)
>Assigned to: Michael Studman (mstudman)
Summary: Parser error with obscure syntax

Initial Comment:
The Java parser fails to parse the following segment of code:

        Other o = new Other() {
            <EE> void getMoreFoo() {
            }
        };

It is from the attached file. The parse fails with a NPE.

----------------------------------------------------------------------

>Comment By: Oliver Burn (oburn)
Date: 2008-07-02 16:12

Message:
Logged In: YES
user_id=218824
Originator: YES

I should add that this was found by Travis Schneeberger in patch #1956561.
I am raising this defect to I can submit his patch and work around the
bug.

Hopefully you get some time to apply your ANTLR magic Michael. :-)

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397078&aid=2008498&group_id=29721

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Checkstyle-devel mailing list
Checkstyle-devel@...
https://lists.sourceforge.net/lists/listinfo/checkstyle-devel

 « Return to Thread: [ checkstyle-Bugs-2008498 ] Parser error with obscure syntax

LightInTheBox - Buy quality products at wholesale price!