File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

instanceof is going to be removed?

 
nomeaning
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 234
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic