VladRassokhin/intellij-annotations-instrumenter-maven-plugin

Instrumenter fails on catch multiple exceptions (Java7)

osundblad opened this issue · 1 comments

Instrumenter fails to on the following class:

package test.notnull;

public class InstrumentationFails {

    public void fail() {
        try {
            System.out.println("fail");
        } catch (IllegalStateException | IllegalArgumentException e) {
        }
    }

    public void success() {
        try {
            System.out.println("success");
        } catch (IllegalStateException e) {
        } catch (IllegalArgumentException e) {
        }
    }

}

PS This is probably what happened on my last flawed bug report just couldn't isolate it, see if this is better :-)

Hmm.. interesting. I'll investigate that on weekend.