This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

native and strictfp

 
ramya ray
Ranch Hand
Posts: 101
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
native and strictfp modifiers can not be used simultaneously AM I RIGHT?
I am cnforming as it is not specifically mentioned any where.
 
Matt Russell
Ranch Hand
Posts: 165
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by ramya ray:
native and strictfp modifiers can not be used simultaneously AM I RIGHT?

Oh yes. To quote the JLS:
"A compile-time error occurs if a method declaration that contains the keyword native also contains strictfp."
http://java.sun.com/docs/books/jls/third_edition/html/classes.html#8.4.3
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic