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

Bug 146187

Summary: [rename] Refractor doesn't properly handle a package named assert.
Product: [Eclipse Project] JDT Reporter: Mike Eagar <oakblade>
Component: UIAssignee: Markus Keller <markus.kell.r>
Status: CLOSED WONTFIX QA Contact:
Severity: trivial    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Mike Eagar CLA 2006-06-09 03:36:50 EDT
 
Comment 1 Mike Eagar CLA 2006-06-09 03:42:48 EDT
The refractor doesn't catch renaming a package to "assert".

It also lets me create a package named assert.

Trying to create a class named assert causes an error, though it still creates
an empty file called "assert.java"
(Creation of Element failed. Index: 0 Size: 0)
Comment 2 Eclipse Genie CLA 2020-03-19 17:42:02 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.