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

The example for SystemTry is incorrect

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b04
    • CPU:
      generic, x86
    • OS:
      generic, linux
    • Verification:
      Not verified

      Description

      In the specification for the java.awt.SystemTry class an exapmle is given.

      There is a typ0

      Image image = Toolkit.getDefaultToolkit.getImage(...);

      The Tollkit class does not have getDefaultToolkit field.

      This should confuse a newcomer.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              denis Denis Fokin (Inactive)
              Reporter:
              denis Denis Fokin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: