• Post Reply Bookmark Topic Watch Topic
  • New Topic

problems compiling a java 1.5 (tiger) Annotation Type  RSS feed

 
Carlos Okieffe
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was trying to create an Annotation Type (Looked simple enough)
on my Windows box,
but I keep getting the following error:
DelegateAnnotation.java:17: illegal character: \64
public @interface DelegateAnnotation
any assistance would be appreciate
thanks in advance
//-- here is the source code (without package and header comments) --
import java.lang.annotation.*;
public @interface DelegateAnnotation
{
String delegateClass();

String methodName();
}
 
Carlos Okieffe
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
duh I did not set my -source to '1.5'
never mind
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!