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

gary.adams at oracle.com gary.adams at oracle.com
Tue Dec 19 22:47:39 UTC 2017


Now comes the catch ...
     I'll need a sponsor.

On 12/19/17 5:12 PM, Chris Plummer wrote:
> +1
>
> Thanks, Chris
>
> On 12/19/17 8:57 AM, serguei.spitsyn at oracle.com wrote:
>> Looks good.
>>
>> Thanks, Serguei
>>
>>
>> On 12/19/17 06:58, Gary Adams wrote:
>>> A refreshed webrev is vailable
>>>   Webrev: http://cr.openjdk.java.net/~gadams/8180709/webrev.01/
>>>
>>> On 12/19/17, 5:10 AM, Alan Bateman wrote:
>>>> 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