开发者

Which version of FindBugs can run on Java 1.4?

开发者 https://www.devze.com 2023-01-11 13:18 出处:网络
I want to run FindBugs on a project, but we\'re still stuck with Java 1.4 (and I won\'t go political now... :-}). The latest version of FindBugs can only run on JRE 1.5+, so I\'m wondering which versi

I want to run FindBugs on a project, but we're still stuck with Java 1.4 (and I won't go political now... :-}). The latest version of FindBugs can only run on JRE 1.5+, so I'm wondering which version was the last to support 1.4?

Update FindBugs v1.2.1 is r开发者_StackOverflow中文版unning on Java 1.4.


Why don't you run FindBugs on a Java 6 JRE against your legacy project?


I'm wondering if you can't run the latest version of FindBugs on Java 1.4 code as long as you have the 1.5 JRE. There might be some warnings and errors that you have to turn off, since they don't apply to 1.4, such as any relating to Generics (which were introduced in 5). But I honestly don't see why you can't run FindBugs on old Java code.

0

精彩评论

暂无评论...
验证码 换一张
取 消