RE: Java Assertions
RE: Java Assertions
- Subject: RE: Java Assertions
- From: email@hidden
- Date: Tue, 4 Nov 2003 00:38:11 -0600
here is a flag to java, but not javac. assertions are runtime, not compile time.
Any more ideas?
Blake
Quoting Casper Gasper <email@hidden>:
>
> This sounds like a Java problem, not an Xcode problem. Don't you have to
> specifically pass an option to javac to enable assertions?
>
> Casper.
>
> > -----Original Message-----
> > From: email@hidden
> > [mailto:email@hidden]
> > Sent: 03 November 2003 08:07
> > To: email@hidden
> > Subject: Java Assertions
> >
> >
> > I've tried all I could to fix this, and I'm sure its easy,
> > but I can't figure it
> > out.
> >
> > When using assertions in any form, I get the error saying
> > that it is now a
> > keyword, not an identifier, and that it can't find the method
> > assert (boolean).
> > Even if I do "assert true;" it returns errors. Any ideas?
> >
> > I had a similar problem when trying to upgrade from 1.3.* to
> > 1.4.1 when using
> > BlueJ, and it not recognizing the new version's path. But since I just
> > installed Panther, this shouldn't be a problem.
> >
> > Blake
> > _______________________________________________
> > xcode-users mailing list | email@hidden
> > Help/Unsubscribe/Archives:
> > http://www.lists.apple.com/mailman/listinfo/xcode-users
> > Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.