The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


Blog Archive for kohsuke during November 2008

It's common for a Java project to compile with later versions of JDK than it minimally requires. For example, when Hudson runs on Java6 it takes advantages of those features, but it can also run on Java5 without those advanced features. The technique to do this is well understood. Here's one such code fragment taken from Hudson: try { for (ThreadInfo ti : Functions.getThreadInfos...