Detect use of older Java libraries

Posted by Tony Morris on Stack Overflow See other posts from Stack Overflow or by Tony Morris
Published on 2010-06-09T05:29:42Z Indexed on 2010/06/09 5:32 UTC
Read the original article Hit count: 229

Filed under:
|

Is there a third party library to detect the use of a Java 1.5 library when compiling with a 1.5 compiler with -source 1.4 and -target 1.4? I could use a 1.4 rt.jar in the bootclasspath however I hope there is a better way. To be used, for example, to fail the compile/build if a newer library is used.

© Stack Overflow or respective owner

Related posts about java

Related posts about bytecode