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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_9

      Description

      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))

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: