???????15???????
???????????? ???????[ 2012/10/25 10:57:48 ] ????????
public class AssertCodeCoverage {
public void verify(Boolean b) {
assert b;
}
}
???????????????????class??????????????????ж?????????????????????У????????????????????????????з????????????????????????????????????????ü????????????????
public void verify(java.lang.Boolean b);
0 getstatic com.test.coverage.AssertCodeCoverage.$assertionsDisabled : boolean [16]
3 ifne 21
6 aload_1 [b]
7 invokevirtual java.lang.Boolean.booleanValue() : boolean [28]
10 ifne 21
13 new java.lang.AssertionError [33]
16 dup
17 invokespecial java.lang.AssertionError() [35]
20 athrow
21 return
}
0x9a ifne ?????int???????????0??????
???????????????????????????????????????????????????????????????????????????
??????????????????????????????δ????????
????15??????????Χ??
???????????????????????????????Χ???
????1??Java??????????涼???????????????????κδ???????
????2???????п????java??????????????????????native??????
abstract class AbstractService {
abstract String getString(); //???????
String getName() { return getString().trim(); }
}
public class BaseService extends AbstractService {
@Override
String getString() { return "zookeeper"; }
}
?????????????????Χ??????????
????С??
?????????????15????????????????????????????????????д??????????????У???????????1?????У?
????1?????????->??->????->????
????2????????? ?????????->????????->??????????->??????
???????????????????????????????????????????????????????????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11