The function reset-java-interface-for-new-jvm
resets the Java interface, which means eliminating all cached information. for-shaking-p needs to be true when it is called before shaking.
The system automatically calls reset-java-interface-for-new-jvm
when delivering, so you do not need to call it then. Applications should never use it. It may be useful during debugging if the JVM is manipulated in some way.
LispWorks User Guide and Reference Manual - 13 Feb 2015