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
Tue Dec 19 10:10:38 UTC 2017
On 18/12/2017 21:14, gary.adams at oracle.com wrote:
> I can just the error message.
> What would you like it to say?
>
> "Module java.instrument may be missing"
Technically it may be that the java.instrument module is not observable
but saying that it may not be in the run-time image is probably clearer
to the clearer. The main thing is to connect it to the java.instrument
module, other details are useful too, say where someone has a corrupt
installation or the wrong permissions on the library.
-Alan
More information about the serviceability-dev
mailing list