Package io.quarkus.awt.runtime
Class Target_sun_awt_FontConfiguration
- java.lang.Object
-
- io.quarkus.awt.runtime.Target_sun_awt_FontConfiguration
-
final class Target_sun_awt_FontConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description Target_sun_awt_FontConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetOsNameAndVersion()AWT source code does not take into account a situation where "java.home" does not exist.
-
-
-
Method Detail
-
setOsNameAndVersion
protected void setOsNameAndVersion()
AWT source code does not take into account a situation where "java.home" does not exist. It looks for default fonts in conf/fonts and lib dirs. It is O.K. if there are none as then system fonts are used instead. If the directory structure as such does not exist, the code path fails though. We create a dummy "java.home" in "java.io.tmpdir" and we set it at a reasonable place via substitution.
-
-