RFR: JDK-8180709: java -javaagent:agent.jar with run-time that does not contain java.instrument prints confusing error

Alan Bateman Alan.Bateman at oracle.com
Mon Dec 18 14:53:05 UTC 2017


On 18/12/2017 14:38, Gary Adams wrote:
> Here's a simple fix to include additional information when the 
> instrument library is
> missing from the jre and the command line requests -javaagent.
>
>  Issue: https://bugs.openjdk.java.net/browse/JDK-8180709
>  Webrev: http://cr.openjdk.java.net/~gadams/8180709/webrev.00/
The approach looks okay to me, I just wonder if the failover to the 
library path can be skipped when is_instrument_lib is true.

-Alan


More information about the serviceability-dev mailing list