aspose file tools*
The moose likes Beginning Java and the fly likes instanceof is going to be removed? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "instanceof is going to be removed?" Watch "instanceof is going to be removed?" New topic
Author

instanceof is going to be removed?

nomeaning
Greenhorn

Joined: Sep 16, 2005
Posts: 21
hello, what should i do respect to this warning? i have got it when i tried to use the instanceof operator.. thank you
warning: com.sun.org.apache.bcel.internal.generic.INSTANCEOF is Sun proprietary API and may be removed in a future release
import com.sun.org.apache.bcel.internal.generic.INSTANCEOF;
bart zagers
Ranch Hand

Joined: Feb 05, 2003
Posts: 234
Are you using some type of IDE?
It looks like you mistyped a little and it added an import for

import com.sun.org.apache.bcel.internal.generic.INSTANCEOF

at the top of your file, which you don't need to use the instanceof operator (lowercase). If that's the case, just remove the import statement.
(Just guessing, I might be wrong)
nomeaning
Greenhorn

Joined: Sep 16, 2005
Posts: 21
that is exactly what have happened...
this is my first app using an IDE (netBeans)

thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: instanceof is going to be removed?