Byteman 4.0.1 is not released yet but it should be soon. I've tested a local snapshot build and confirmed it works fine on JDK 10.