• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Java Assertions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Xcode On Jaguar PLUS Project Builder?
  • Next by Date: Strange problems with XCode
  • Previous by thread: Re: Java Assertions
  • Next by thread: getting Saturn to walk
  • Index(es):
    • Date
    • Thread