Use of -noverify when launching java apps

前端 未结 6 1073
小鲜肉
小鲜肉 2020-12-29 02:06

I have seen many apps that take instrument classes and take -javaagent as a param when loading also put a -noverify to the command line.

Th

6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-29 02:30

    Using JRebel without -noverify will give this warning on startup:

    JRebel: '-noverify' missing, changing/adding/removing constructors will not be enabled!

    So appears that -noverify allows bytecode re-instrumentation to do some things which would otherwise not be possible.

提交回复
热议问题