IBM Support

IJ19980: SUN.JAVA2D.FONTPATH IS NOT SET TO NULL WHEN JAVA_FONTS IS NOT SET

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: N/A
    .
    A testcase was created calling
    `graphics.getAvailableFontFamilyNames().length`. The correct
    output is 119. If sun.java2d.fontpath is not explicitely set to
    null result is 70.
    

Local fix

  • Explicitly clearing the property (setting to null)
    sun.java2d.fontpath fixes the issue.
    

Problem summary

  • The problem is caused when sun.java2d.fontpath is not set and
    JAVA_FONTS is set to null.
    

Problem conclusion

  • The JVM has been updated so that when sun.java2d.fontpath is not
    set and JAVA_FONTS is set to null sun.java2d.fontpath will be
    set to null.
    .
    This APAR will be fixed in the following Java Releases:
       7 R1 SR4 FP55  (7.1.4.55)
       7    SR10 FP55 (7.0.10.55)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ19980

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-09-30

  • Closed date

    2019-09-30

  • Last modified date

    2019-09-30

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R270 PSY

       UP

  • R260 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
22 February 2022