答复: Questions about using `assert` in Java
Daohan Qu
quadhier at outlook.com
Tue Jul 18 02:54:30 UTC 2023
> This makes me wonder if it is worth introducing a compiler flag
> that would omit assert statements from the compiled bytecode
> for this scenario.
Hi Andrew,
Maybe the first one of this FAQ could answer your question:
https://docs.oracle.com/javase/8/docs/technotes/guides/language/assert.html#design-faq-enable-disable
- Daohan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20230718/cc8b3399/attachment.htm>
More information about the core-libs-dev
mailing list