This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 65724 - move inner to outer level mangling instanceof keyword
Summary: move inner to outer level mangling instanceof keyword
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords: API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2005-10-03 15:19 UTC by kaushalsc
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
JMI changes diff - "instanceof" operator added (1.21 KB, patch)
2005-10-31 12:42 UTC, Tomas Hurka
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kaushalsc 2005-10-03 15:19:39 UTC
When I use the refactoring option 'move inner to outer level', the inner class 
is moved correctly, but the instanceof keyword in a method in the inner class 
is replaced by '???' , a series question marks. Please contact me in case any 
more information is required.
Comment 1 Daniel Prusa 2005-10-04 15:48:10 UTC
Constant for "instanceof" operator is missing in the java model. When a source
code is generated, the operator cannot be sucessfully detected.
Comment 2 Tomas Hurka 2005-10-31 12:42:11 UTC
Created attachment 26481 [details]
JMI changes diff - "instanceof" operator added
Comment 3 Jaroslav Tulach 2005-11-01 07:58:46 UTC
Please add: @since, apichanges, manifest spec version increment. 
Comment 4 Tomas Hurka 2005-11-08 13:20:26 UTC
It will be fixed in trunk.
Comment 5 Tomas Hurka 2005-11-08 13:33:09 UTC
Fixed in trunk (Individual javadoc for enumeration constants is not supported - so @since on 
OperatorEnum.INSTANCEOF is missing.)

Checking in javamodel/manifest.mf;
/cvs/java/javamodel/manifest.mf,v  <--  manifest.mf
new revision: 1.26; previous revision: 1.25
done
Checking in javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/
InfixExpressionImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/InfixExpressionImpl.java,v  
<--  InfixExpressionImpl.java
new revision: 1.9; previous revision: 1.8
done
Checking in javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/StatementImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/StatementImpl.java,v  <--  
StatementImpl.java
new revision: 1.4; previous revision: 1.3
done
Checking in javamodel/api/doc/changes/apichanges.xml;
/cvs/java/javamodel/api/doc/changes/apichanges.xml,v  <--  apichanges.xml
new revision: 1.3; previous revision: 1.2
done
Checking in javamodel/nbproject/project.properties;
/cvs/java/javamodel/nbproject/project.properties,v  <--  project.properties
new revision: 1.10; previous revision: 1.9
done
Checking in javamodel/src/org/netbeans/jmi/javamodel/OperatorEnum.java;
/cvs/java/javamodel/src/org/netbeans/jmi/javamodel/OperatorEnum.java,v  <--  OperatorEnum.java
new revision: 1.5; previous revision: 1.4
done
Checking in javamodel/src/org/netbeans/jmi/javamodel/resources/java-model.xml;
/cvs/java/javamodel/src/org/netbeans/jmi/javamodel/resources/java-model.xml,v  <--  java-
model.xml
new revision: 1.18; previous revision: 1.17
done
Checking in javacore/nbproject/project.xml;
/cvs/java/javacore/nbproject/project.xml,v  <--  project.xml
new revision: 1.15; previous revision: 1.14
done
Comment 6 Quality Engineering 2007-09-20 12:04:24 UTC
Reorganization of java component