File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

assert keyword

 
Don Bosco
Ranch Hand
Posts: 108
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why don't I see assert keyword in the list provided my Sun??
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/_keywords.html
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good point. I have given Sun a gentle poke!
-Barry
 
Don Bosco
Ranch Hand
Posts: 108
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to run a program using assert as a variable name. Giving me errors even if the assertions are disabled. So I think Sun should really need to update his list.
 
Yan Bai
Ranch Hand
Posts: 125
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Don Bosco:
I tried to run a program using assert as a variable name. Giving me errors even if the assertions are disabled. So I think Sun should really need to update his list.

error or warning? I got warnings but the program ran well.
 
Don Bosco
Ranch Hand
Posts: 108
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm Sorry. That was a warning.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic