| Author |
Assertions : have I gone nuts?
|
KR Campbell
Ranch Hand
Joined: Mar 26, 2004
Posts: 124
|
|
Has my mental freezer been unplugged overnight? : At the command prompt with version 1.4.2: Output: " As of release 1.4, assert is a keyword and may not be used as an identifier...." Ken
|
 |
Rachel Swailes
Ranch Hand
Joined: May 18, 2004
Posts: 434
|
|
It might solve your problem to enable assertions on the command line. I found this info on http://www.javaemerald.com/javamaster/assert.html so maybe give it a try.
|
 |
KR Campbell
Ranch Hand
Joined: Mar 26, 2004
Posts: 124
|
|
Thanks for the reply Rachel, I think that only matters at runtime. I found my mistake. I somehow managed to get my assertion outside my method body. Compiler didn't like it. Mental powercut! Regards, Ken
|
 |
 |
|
|
subject: Assertions : have I gone nuts?
|
|
|