RFR: 8286855: javac error on invalid jar should only print filename

Martin Doerr mdoerr at openjdk.java.net
Mon May 30 09:12:24 UTC 2022


On Thu, 26 May 2022 09:58:12 GMT, Christoph Langer <clanger at openjdk.org> wrote:

> As was suggested in the [review for JDK-8286444](https://github.com/openjdk/jdk/pull/8616#discussion_r873099812), javac should always print the filename only, when encountering a ZipException.

Ok, that was discussed in https://github.com/openjdk/jdk/pull/8616. I agree with your assessment that printing the full path should not really be problematic, but printing the file name only should be sufficient.

-------------

Marked as reviewed by mdoerr (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8900


More information about the compiler-dev mailing list