robovm icon indicating copy to clipboard operation
robovm copied to clipboard

* fixed: de-sugared ByteBuffer (java9) calls are not visible at second compilation session

Open dkimitsa opened this issue 3 years ago • 1 comments

Root Case

these methods are added when ByteBuffer is compiled. At next session ByteBuffer class is considered compiled and its structure only parsed (and not desugared) as result de-sugared methods are not present in SootClass as result this produces java.lang.NoSuchMethodError compilation time.

The Fix

trampoline compiler allows now compiler plugin to resolve missing methods. ByteBuffer de-sugaring plugin in this case returns references to target methods.

dkimitsa avatar Jul 12 '22 13:07 dkimitsa

it fixes #667

dkimitsa avatar Jul 12 '22 13:07 dkimitsa