On 2014-04-25, 1:30 PM, James Willcox wrote:
Greetings,
We don’t have anything like MOZ_ASSERT() in Java land, so I added an “Assert”
class[1]. Just like MOZ_ASSERT() in C++ land, these assertions are only active
in debug mode. Hopefully we can use these to catch some bad stuff.
I think this is a good thing, thanks for doing it! Is there a reason we
didn't just use Java's assert mechanism [1], and enable/disable checking
at compile time with MOZ_DEBUG and friends?
Best,
Nick
[1]
http://docs.oracle.com/javase/7/docs/technotes/guides/language/assert.html
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev