Compiler Error J0243

'identifier' is obsolete; use 'identifier' instead

The compiler detected a comment tag (for example @com, @dll, @security) that is using a format that is now considered obsolete. To avoid this error change the line of code that the error occurred on to the newer format specified in the error message and compile again.

The following example illustrates this error:

public class Simple{
   /**@dllimport("kernel32", ansi)*/
   /* error: 'dllimport' is no longer a supported format for
      @dll.import declarations */
   public static native boolean GetComputerName(StringBuffer s, int[]cb);
}