Jump to content

What does this compiling error mean?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
Plutonic

Plutonic

    Newbie

  • Members
  • Pip
  • 3 posts
Note: C:\Documents and Settings\Steven\My Documents\Java\Bouncy Ball\BouncyBall.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

#2
CygnetGames

CygnetGames

    Programmer

  • Members
  • PipPipPipPip
  • 119 posts
When Sun release new version of java, they sometimes find a new way to implement something. (A more secure way, or a way that make less problems for people using it.) So this means that some functions become obsolete (or deprecated in java terminology.)

You must be using one of these deprecated functions in your code. If you add the flag -Xlint:deprecation when you compile your program, it will tell you which function is deprecated and might even tell you what to use instead.