(I am using Eclipse as my development environment.) How do I make the Java assert statement work? By "work" I mean that a failed assertion should either stop program execution or at least log the failure. Currently, neither happens. I understand there is a run- time option to enable this (-ea), but I don't know where to specify it. Changing "Preferences\Java\Installed JREs\Edit JRE\Default VM Arguments" has no effect, probably because those settings are not used for the Android execution.
Thanks for any help, and please let me know if there is a document that I should read to know things like this. (I am speaking here strictly of the Java assert statement, not of other assertion facilities such as those in junit.) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

