Author: sebb Date: Wed Sep 23 22:10:14 2009 New Revision: 818280 URL: http://svn.apache.org/viewvc?rev=818280&view=rev Log: Ensure incompatible class files don't cause problems [Previously the method caught Throwable, which is rather extreme. Working towards a more sensible policy...]
Modified: jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java Modified: jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java?rev=818280&r1=818279&r2=818280&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java (original) +++ jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java Wed Sep 23 22:10:14 2009 @@ -471,6 +471,8 @@ } } } + } catch (UnsupportedClassVersionError ignored) { + log.debug(ignored.getLocalizedMessage()); } catch (NoClassDefFoundError ignored) { log.debug(ignored.getLocalizedMessage()); } catch (ClassNotFoundException ignored) { --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org