Compiler Error J0228

Syntax error in @dll declaration

The compiler detected a syntax error in an @dll comment tag. This error usually occurs when an @dll comment tag has been mistyped. Check the statement for syntactical errors and compile again.

The following example illustrates this error:

public class Simple{
   /**@dll.import(kernel32, ansi)*/
   /* error: missing quotes around 'kernel32' */

   public static native boolean GetComputerName(StringBuffer s, int[]cb);
}