<p>-version 3.19 | <p>-version 3.19 | ||||
<ul> | <ul> | ||||
<li>JIRA JASSIST-158, 205, 206, 207, 211, 212, 216. | |||||
<li>JIRA JASSIST-158, 205, 206, 207, 211, 212, 216, 223. | |||||
</ul> | </ul> | ||||
</p> | </p> | ||||
*/ | */ | ||||
public CtField getField() throws NotFoundException { | public CtField getField() throws NotFoundException { | ||||
CtClass cc = getCtClass(); | CtClass cc = getCtClass(); | ||||
return cc.getField(getFieldName()); | |||||
int index = iterator.u16bitAt(currentPos + 1); | |||||
ConstPool cp = getConstPool(); | |||||
return cc.getField(cp.getFieldrefName(index), cp.getFieldrefType(index)); | |||||
//return cc.getField(getFieldName()); | |||||
} | } | ||||
/** | /** |
long t2 = endTime2 - endTime; | long t2 = endTime2 - endTime; | ||||
long t3 = endTime3 - endTime2; | long t3 = endTime3 - endTime2; | ||||
System.out.println("JIRA150: " + t1 + ", " + t2 + ", " + t3); | System.out.println("JIRA150: " + t1 + ", " + t2 + ", " + t3); | ||||
assertTrue(t2 < t1 * 3); | |||||
assertTrue(t3 < t1 * 2); | |||||
assertTrue(t2 < t1 * 4); | |||||
assertTrue(t3 < t1 * 3); | |||||
} | } | ||||
public void testJIRA150b() throws Exception { | public void testJIRA150b() throws Exception { |