diff options
author | Marc R. Hoffmann <hoffmann@mountainminds.com> | 2012-06-20 20:26:20 +0000 |
---|---|---|
committer | Marc R. Hoffmann <hoffmann@mountainminds.com> | 2012-06-20 20:26:20 +0000 |
commit | 783aa63e134c6ba067e38e8a49207bd801693510 (patch) | |
tree | 8b7459e2e5e49b1d71600fcaeefc03ce5d4b4dd4 /org.jacoco.core.test/src/org/jacoco/core/test/validation/targets | |
parent | 74afb6c0906e5d8c7e1b639dd9bc0495db5f860f (diff) | |
download | jacoco-783aa63e134c6ba067e38e8a49207bd801693510.tar.gz |
Trac #154: Reworked instrumentation strategy to avoid verifier error "Uninitialized object exists on backward branch" with certain Java 7 class files.
Diffstat (limited to 'org.jacoco.core.test/src/org/jacoco/core/test/validation/targets')
-rw-r--r-- | org.jacoco.core.test/src/org/jacoco/core/test/validation/targets/Target10.java | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/org.jacoco.core.test/src/org/jacoco/core/test/validation/targets/Target10.java b/org.jacoco.core.test/src/org/jacoco/core/test/validation/targets/Target10.java index 6d2255b5..5f562baf 100644 --- a/org.jacoco.core.test/src/org/jacoco/core/test/validation/targets/Target10.java +++ b/org.jacoco.core.test/src/org/jacoco/core/test/validation/targets/Target10.java @@ -23,16 +23,7 @@ import org.jacoco.core.test.validation.targets.Stubs.SuperClass; public class Target10 extends SuperClass { public Target10() { - super(t() ? t() : f()); // $line-super$ - - // The following construct causes an VerifyError with the message - // "Uninitialized object exists on backward branch" on Oracle 1.6 VMs. - // Actually JaCoCo inserts a probe into the conditional jump here which - // results in a backward jump. - // It is not clear whether the VM implementations are in line with the - // latest VM specification update here. - - // super(t() || f()); + super(t() || f()); // $line-super$ } public static void main(String[] args) { |