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

Even the simplest applet (or AWT app.) hangs the CPU and takes about 5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 1.1.2
    • 1.1.1
    • client-libs
    • None
    • b01
    • sparc
    • solaris_2.5.1

    Description



      Name: sg39081 Date: 08/12/97


      I run the following applet on a SunOS 5.5 sparc box and Xdisplayed
      it on my SunOS 4.14 (by rlogin, that is). It seems to me that
      somehow the CPU is 'looping' somewhere and it takes about 5 minutes
      before the Hello World applet shows up on my screen.
      It seems to me that MY cpu (the SunOs 4.14) is the one that is
      being 'suffocated' and not the Solaris one.

      I had successfully developed and run JDK 1.1 Beta3 programs over the
      last 2 months, and this problem only appeared after I downloaded
      the JDK 1.1.1 and tried to use it. (there were no environment
      changes other than updating my .cshrc on the solaris machine to reflect
      the fact that I am now using the 1.1.1)

      Where it was neccesary, I converted my 1.1 Beta3 programs to
      1.1.1 by means of the supplied updateAWT script and by following
      the conversion rules specified in the documentation.

      These are the lines in my .cshrc on the solaris machine that
      pretains to the JDK:

      setenv JAVA_HOME /export/home/dsegal/jdk1.1/jdk1.1.1
      set path=($path ~dsegal/jdk1.1/jdk1.1.1/bin)

      and I am not using CLASSPATH anymore.
      (I also have jConnect installed (JDBC from Sybase) but that
      should have nothing to do, I think, with the problem:
      setenv JDBC_HOME /export/home/dsegal/jdk1.1/jConnect)

      This is the java applet that takes 5 minutes to load:

      import java.applet.Applet;
               import java.awt.Graphics;

                          public class HelloWorldApplet extends Applet {
                              public void paint(Graphics g) {
                                  g.drawString("Hello world!", 50, 25);
                              }
                          }



      company - Nomura Securities International Inc. , email - ###@###.###
      ======================================================================

      Attachments

        Activity

          People

            tballsunw Tom Ball (Inactive)
            sgoodsunw Sheri Good (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: