01: package org.hanseltest; 02: 03: public class CoverSwitchBug { 04: private int anInt; 05: 06: public void aCase(int i) { 07: switch (i) { 08: case -1: 09: anInt = 100; 10: break; 11: case 1: 12: anInt = 10; 13: break; 14: default: 15: anInt = -1; 16: break; 17: } 18: } 19: }