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

java.util.GregorianCalendar.computeFields() - IllegalAccessError

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Not an Issue
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      In an applet, the paint routine does the following:

       dat = new Date();
       cal.setTime(dat);
       cal.computeFields();

      This supposedly used to work.
      The setTime() method call now generates the following Error.
      Which in turn hangs the awt event thread and therefore the browser.

      java.lang.IllegalAccessError: java.util.GregorianCalendar.computeFields()V
      at Clock2.paint(Clock2.java:118)
      at java.awt.Component.dispatchEventImpl(Component.java)
      at java.awt.Container.dispatchEventImpl(Container.java)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java)

      If you are looking for the applet the source and class file are in:
      /home/smani/public_html/.


      -------------------------------------------------------------------------------
      the following file contains the object tag with an applet
      loading the page hangs up hotjava also occurs in the nightly
      to recreate:

      load
      file:/usr/sqe/workspaces/hotjava/test/master/manual/html3.2/object/applet/supported/align/align_baseline.html

      the log displays... (see comments for a full thread dump)
      a.lang.IllegalAccessError: java.util.GregorianCalendar.computeFields()V
              at Clock2.paint(Clock2.java:118)
              at java.awt.Component.dispatchEventImpl(Component.java)
              at java.awt.Container.dispatchEventImpl(Container.java)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java)


        Attachments

          Activity

            People

            Assignee:
            bcbeck Brian Beck (Inactive)
            Reporter:
            pkelleysunw Peggy Kelley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: