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

Revise java.awt.peer interfaces so that peers can be implemented w/o native code

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs
    • Fix Understood
    • generic
    • generic

      While there is supposedly a peer interface defined in java.awt.peer, the truth
      is that Sun's peers frequently modify a java.awt.Component's private state
      variables or invoke a Component's private methods directly from the peers
      via native code.

      The peer interface should be updated and strictly enforced so that a licensee
      (such as Apple) can create 100% pure Java peers which perform correctly. Until
      we have a legitimate peer interface, the use of native code to bypass access
      restrictions will continue to be necessary.

      david.mendenhall@eng 2000-07-07

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: