RFC: JMC-6173: jmc -open requires full path
Jie Kang
jkang at redhat.com
Fri Jun 21 14:38:31 UTC 2019
On Fri, Jun 21, 2019 at 8:31 AM Carmine Vincenzo Russo
<carusso at redhat.com> wrote:
>
> Hello,
>
> The patch addresses the issue JMC-6173[0].
> I have added a check to see if the path is full or not. If it falls in the
> second case, starting from the user home it recursively search for the
> given file name in all the not hidden folder.
> There was also a problem with relative path like ~/record/test.jfr, now
> fixed.
> I tested the patch with full path, relative path, filename only and null
> value.
>
> I'm planning to add few tests, at least for a valid filename, an invalid
> filename and a null value.
>
> See the attached patch bellow and let me know what you think.
I don't see an attachment unfortunately; was it missed or maybe stripped?
Regards,
>
> Thank you!
> Carmine
>
>
> [0] https://bugs.openjdk.java.net/browse/JMC-6173
>
> --
> Carmine Vincenzo Russo
More information about the jmc-dev
mailing list