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

MAWT: Should avoid use of private headers (e.g. XmIsClipWindow)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.4.1
    • client-libs
    • sparc
    • solaris_9

      In Hopper, we added a call to a motif function defined in a private header file.
      We should try to avoid this dependence.

      Below is an excerpt from one of the emails on this subject.


      RVSM> In the J2SDK 1.4.1 bl11 drop, Sun modified function MyClipNavigable(), in file
      RVSM> j2se/src/solaris/native/sun/awt/awt_ScrollPane.c, to call XmIsClipWindow().

      RVSM> Where is XmIsClipWindow() defined ? It does not appear to be part of the Tru64
      RVSM> UNIX Motif set of interfaces.

      Motif 2.1.0, OpenMotif 2.2.3:
      ClipWindowP.h:#ifndef XmIsClipWindow
      ClipWindowP.h:#define XmIsClipWindow(w) (XtIsSubclass (w, xmClipWindowWidgetClass))
      XmP.h:#undef XmIsClipWindow
      XmP.h:#define XmIsClipWindow(w) (_XmIsFastSubclass(XtClass(w), XmCLIP_WINDOW_BIT))

            son Oleg Sukhodolsky (Inactive)
            ehawkessunw Eric Hawkes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: