On Sat, 3 Jul 2021 07:41:40 GMT, Alan Bateman <al...@openjdk.org> wrote:
>> Is it possible to add a test for this that is completely independent of >> jpackage? I think there are a few existing tests that copy the run-time >> image to a new location for testing purposes. >> >> We may need to rename the JBS description to make it clearer what this issue >> is about. >> >> A minor nit is that "pathisso" will be confusing to anyone looking at this >> code, maybe find a better name or put a comment in TruncatePath to explain >> it. I assume the comments at the findLastPathComponent use site will also >> need to be clarified. > >> @AlanBateman any input on this issue from you? > > Same comment as before, I think we should try to add a test. If a native > test that links to libjli isn't feasible then a jpackage test that creates > the scenario that Maurizio ran should be okay. @AlanBateman jpackage test reproducing the issue added. ------------- PR: https://git.openjdk.java.net/jdk/pull/4534