Compiler Error J0240

Syntax error in @security declaration

The compiler detected a syntax error in the specified @security comment tag. This error usually occurs when the comment tag is missing a closing parenthesis or the tag's attributes are incorrect. Ensure the syntax of the specified @security comment tag declaration is correct and compile again.

The following example illustrates this error:

/**@security()*/   //error: invalid @security syntax
public class Simple{
   //class members defined here
}