Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4127110

[win32]HotSpot needs to use JAVA_FONTS property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.0
    • 1.2.0
    • hotspot
    • alpha2
    • generic
    • generic
    • Not verified

      HotSpot VM is not looking at JAVA_FONTS environement variable to set 2D fonts directory in the system property.

      >>Classic VM:hpi/src/system_md.c
      >> /* Java2D properties */
      >> sprops.graphics_env = "sun.awt.Win32GraphicsEnvironment";
      >>
      >> {
      >> char buf[max(512, MAX_PATH+1)];
      >> char *path = getenv("JAVA_FONTS");
      >> if (path != 0) {
      >> if (VM_CALL(jio_snprintf)(buf, sizeof(buf), "%s", path) != -1) {
      >> v = sysNativePath(buf);
      >> } else {
      >> v = 0;
      >> }

      is not implemented in HotSpot.

            sgrarupsunw Steffen Grarup (Inactive)
            sishidasunw Shoji Ishida (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: