Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366005 - [refactoring] Xtext refactoring breaks JDT enum refactoring
Summary: [refactoring] Xtext refactoring breaks JDT enum refactoring
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.2.0   Edit
Hardware: All All
: P3 critical (vote)
Target Milestone: M4   Edit
Assignee: Jan Koehnlein CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-08 05:55 EST by Jan Koehnlein CLA
Modified: 2017-09-19 17:15 EDT (History)
1 user (show)

See Also:
jan: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Koehnlein CLA 2011-12-08 05:55:10 EST
See http://www.eclipse.org/forums/index.php/t/264116/

Having installed Xtext 2.2, rename an Java enum in a project not related to Xtext at all => NPE in JvmMemberRenameStrategy.
Comment 1 Jan Koehnlein CLA 2011-12-08 05:56:08 EST
Raised to critical as it breaks exisiting JDT behavior.
Comment 2 Jan Koehnlein CLA 2011-12-08 06:44:59 EST
Fixed in HEAD.

Turned out there was a wrong type guard in JvmMemberRenameStrategy (JvmEnumerationType is not an JvmGenericType)
Comment 3 Karsten Thoms CLA 2017-09-19 17:03:59 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 4 Karsten Thoms CLA 2017-09-19 17:15:45 EDT
Closing all bugs that were set to RESOLVED before Neon.0