Bug 66452 - Code Formatter stops working
Summary: Code Formatter stops working
Status: RESOLVED DUPLICATE of bug 84770
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 86277 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-09 22:49 EDT by James Adams CLA
Modified: 2005-03-29 15:45 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Adams CLA 2004-06-09 22:49:52 EDT
Hi, somehow when something like the following appears within the code, the code
formatter just stops working:

	throw new Exception("String" + Object.class + "String");

Basically, throwing any Exception with a String, then a Class field (I think),
then a String seems to fail.  The following works, though:

	throw new Exception("String" + Object.class.toString() + "String");

BTW, I'm using eclipse-SDK-I20040603-win32.zip as my platform.
Comment 1 Dani Megert CLA 2004-07-19 10:12:27 EDT
Can reproduce using R3.0. The formatter returns a null edit.
Comment 2 Dani Megert CLA 2005-02-23 11:03:41 EST
*** Bug 86277 has been marked as a duplicate of this bug. ***
Comment 3 Olivier Thomann CLA 2005-03-29 15:45:57 EST

*** This bug has been marked as a duplicate of 84770 ***