RFR: JDK-8275923: Override the LPR path using a system property
Phil Race
prr at openjdk.java.net
Fri Dec 17 18:59:24 UTC 2021
On Wed, 20 Oct 2021 20:38:17 GMT, Rolf van Kleef <duke at 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.
Updates more or less along the lines above might make this acceptable
1) The hardcoded location is tried first REGARDLESS of whether the property is set
2) The property is only read ONCE - in something like a static initializer for the class or some mechanism that has the same effect.
3) The property name is as described above.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6052
More information about the client-libs-dev
mailing list