Package io.quarkus.awt.runtime
Class Target_sun_awt_FontConfiguration
java.lang.Object
io.quarkus.awt.runtime.Target_sun_awt_FontConfiguration
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAWT source code does not take into account a situation where "java.home" does not exist.
-
Field Details
-
osVersion
-
osName
-
-
Constructor Details
-
Target_sun_awt_FontConfiguration
Target_sun_awt_FontConfiguration()
-
-
Method Details
-
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.
-