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

Remove unused or unnecessary Xm/Xt files and header includes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b117

      Description

      https://bugs.openjdk.java.net/browse/JDK-8047931
      listed a number of X11 and medialib files that are unused
      in the build.
      In looking at the VDrawingArea ones it lead to realising
      we still include Intrinsic.h (an Xt header) in awt.h even though
      we do not use Xt since the Motif toolkit was removed.
      So I think we can remove the dependency on those header files.
      Doing this lead in turn to finding we have at least one unused
      field, one unused #define and one unused method declaration
      all referencing Xt types.

      So I decided to separate out the removal of Xt headers and files in to this separate bug report and make the other bug
      exclusively about medialib.

        Attachments

          Activity

            People

            Assignee:
            prr Philip Race
            Reporter:
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: