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

Chris Plummer chris.plummer at oracle.com
Tue Dec 19 22:50:57 UTC 2017


I can push it this evening if no one else grabs it first (need to step 
out for a bit and won't be able to monitor CI results). Please produce a 
changeset first.

thanks,

Chris

On 12/19/17 2:47 PM, gary.adams at oracle.com wrote:
> 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