문제

Cobertura uses Offline byte code instrumentation, which means it will add instructions after the compilation into the byte-code. I have a very large generated method which now I'm trying to refactor. Itself is under 64KB JVM limitation, but after being added more byte code by cobertura, it will cause the oversize error. I'm asking this question to decide how to refactor the method generating logic.

도움이 되었습니까?

해결책

A simple workaround could be to just exclude your generated classes or specific methods from Cobertura instrumentation.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top