On Wed, 20 Oct 2021 20:38:17 GMT, Rolf van Kleef <d...@openjdk.java.net> wrote:

> On some select systems, the LPR binary may be placed elsewhere (for example 
> at `/app/bin/lpr`). For that reason, we need to be able to override this 
> value. This proposal also allows overriding the LP's path, as it could 
> experience similar difficulties.

This needs a CSR since it introduces a new interface.
I also think we should consider if the hard coded path were always tried first 
and only if it doesn't exist would
we try the property .. 
then we'd name the property appropriately, eg
-Dsun.print.lprFallbackCommand=/app/foo/lpr
"Command" not "Path".

I will also check with the team that assesses secure coding etc to ask what 
they think.

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

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

Reply via email to