I've added Hotswap agent to netbeans and while debugging I've seen the message:
Dynamic Code Evolution Server VM warning: JSR 292 is disabled in this JVM. Use -XX:+UnlockDiagnosticVMOptions -XX:+EnableInvokeDynamic to enable.
I've added the options to netbeans.conf.
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true -J-XX:+UnlockDiagnosticVMOptions -J-XX:+EnableInvokeDynamic"
But the message is still showing in tomcat console.