Skip to content
Permalink
Browse files

[JENKINS-19990] LinkageError can be specified to NoSuchMethodError

  • Loading branch information...
ikedam committed Dec 11, 2013
1 parent 48063b9 commit e470582d8e4caf1e1cbb6b0ae0a509b5c50c338a
@@ -53,7 +53,7 @@ public static Properties loadProperties(String properties) throws IOException {
Properties p = new Properties();
try {
p.load(new StringReader(properties));
} catch(LinkageError _) {
} catch(NoSuchMethodError _) {
// {@link Properties#load(java.io.Reader)} is supported since Java 1.6
// When used with Java1.5, fall back to
// {@link Properties#load(java.io.InputStream)}, which does not support

0 comments on commit e470582

Please sign in to comment.
You can’t perform that action at this time.