没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > forceassertions |
forceassertions
|
0 | 0 | 9 |
贡献者 | 讨论 | 代码提交 |
概述
fa.jar -- Check assertions even when not enabledAssertions are one of the most useful tools available for software engineers to help debug their code. Unfortunately, Java has assertion checking turned off by default. This means that, even if assertions fail, no error will be produced.
To make sure that assertion are always checked, simply include fa.jar into the classpath when compiling your source. FA will automagically turn all your assert statements into if-not-condition-throw-error expressions that can not the turned off!
This is most useful for libraries, where you have no control over your client's VM settings.
FA requires Java 6 or higher.
创建时间:2014-05-11 23:12