• Post Reply Bookmark Topic Watch Topic
  • New Topic

Downcasting

 
Abu Nene
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi does anyone know why with the same project, the command line "make compile" is successfully but eclipse IDE report compilation error with the a class that have a line doing downcasting?
 
Campbell Ritchie
Marshal
Posts: 53207
124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please explain with more details; "make compile" is not a usual Java command. Please show us the code.
 
Rob Spoor
Sheriff
Posts: 20837
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please TellTheDetails. You're not even showing us the line Eclipse is complaining about.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!