Class Target_sun_awt_FontConfiguration_Linux

java.lang.Object
io.quarkus.awt.runtime.Target_sun_awt_FontConfiguration_Linux

final class Target_sun_awt_FontConfiguration_Linux extends Object
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.
  • Field Details

    • osVersion

      protected static String osVersion
    • osName

      protected static String osName
  • Constructor Details

    • Target_sun_awt_FontConfiguration_Linux

      Target_sun_awt_FontConfiguration_Linux()
  • Method Details

    • setOsNameAndVersion

      protected void setOsNameAndVersion()