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

[macosx] jawt_md.h shipped with jdk is outdated

XMLWordPrintable

    • b30
    • x86
    • os_x
    • Verified

        FULL PRODUCT VERSION :
        java version "1.7.0_06-ea"
        Java(TM) SE Runtime Environment (build 1.7.0_06-ea-b16)
        Java HotSpot(TM) 64-Bit Server VM (build 23.2-b07, mixed mode)

        ADDITIONAL OS VERSION INFORMATION :
        Mac OS X Lion 10.7.4 (11E53)

        A DESCRIPTION OF THE PROBLEM :
        The jawt_md.h header file currently distributed with the jdk does not match the implementation and should be updated. It appears to be an outdated version containing the no longer supported X11 interface. As pointed out by Mike Swingler on the macosx-port-dev mailing-list:
        "The jawt_md.h in OpenJDK needs to contain only the CALayer interface, since the OpenJDK OS X AWT does not support either the X11 or the NSView interface."

        Please also see discussion on the mailing list:
        http://mail.openjdk.java.net/pipermail/macosx-port-dev/2012-July/004577.html


        REPRODUCIBILITY :
        This bug can be reproduced always.

        CUSTOMER SUBMITTED WORKAROUND :
        As a workaround for using CALayer-based embedding the (deprecated) jawt_md.h header file from apples JavaVM.framework might be used.

              ddehaven David Dehaven (Inactive)
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: