Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-19990] LinkageError can be specified to NoSuchMethodError
  • Loading branch information
ikedam committed Dec 11, 2013
1 parent 48063b9 commit e470582
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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
Expand Down

0 comments on commit e470582

Please sign in to comment.