Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Dmitry Jemerov
Subsystem
Refactoring
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Bas Leijdekkers
    2 years ago (13 Mar 2009 18:01)
  • Updated by   root
    2 years ago (17 Jan 2010 21:13)
  • Jira: IDEADEV-37036
    (history, comments)
 
IDEA-48141 "Extract Interface" fails when extracting an implements clause of a library interface
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
To reproduce:

1. invoke Extract Interface on the following code:
class X implements java.io.Serializable {
}

2. Select "Rename original class and use interface where possible" and enter a new name
3. Include "implements Serializable" in the Members to Form Interface section and Refactor

Result:
"Refactoring cannot be performed
File ...java/io/Serializable is located in a jar file"
error message

Expected:
An extracted interface extending Serializable

This same bug was once present in the Extract Superclass refactoring: IDEA-43951



Issue was resolved
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments