Jigsaw Enhancement RFR round #2: 8159145 Add JVMTI function GetModuleByPackageName

David Holmes david.holmes at oracle.com
Wed Jun 22 22:31:50 UTC 2016


On 23/06/2016 5:01 AM, Alan Bateman wrote:
> On 22/06/2016 19:36, serguei.spitsyn at oracle.com wrote:
>
>>
>> Alan, please, let me know if you support the Stanislav's suggestion.
>> I can go ahead and implement returning the
>> JVMTI_ERROR_ILLEGAL_ARGUMENT for invalid package names.
> No objection from me. It would be good to first check the existing spec
> and also the JNI spec to see if there any similar cases (so that the
> update and new function is consistent). Off-hand, I can't think of any
> functions that require the same check.

Taking GetLocalVariableTable as an example there is no validation that 
names are legal, so there should not be a check in this case either.

Thanks,
David
-----

> -Alan


More information about the hotspot-dev mailing list