DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Daniel Strecker Guest

    JIT Error when 'Toolkit.getDefaultToolkit()'


    icq#: 54120485

    following listing will say enough:

    //
    // JitErrorProducer.java
    //
    // Author: Daniel Strecker
    // Copyright (c) 2000 by Daniel Strecker
    //
    // You may use and/or redistribute this file for educational purposes.
    //


    /**
    * The purpose of this class is helping to debug that REALY SUCKING, *****Y
    * jit error. (On my machine (Win98, JDK1.2) this class causes some jit
    * errors when executed.)
    *
    * @author Daniel Strecker <daniel-strecker@gmx.net>
    */


    import java.awt.Toolkit;

    public final class JitErrorProducer {

    public static final Toolkit defaultToolkit = Toolkit.getDefaultToolkit();

    public static void main(String[] args) {}
    }

  2. #2
    Paul Clapham Guest

    Re: JIT Error when 'Toolkit.getDefaultToolkit()'

    I can't reproduce this on my Windows 98 system. Here are the java versions
    I tried:

    java version "1.2.2"
    Classic VM (build JDK-1.2.2-001, native threads, symcjit)

    java version "1.3.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
    Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

    Daniel Strecker <daniel-strecker@gmx.net> wrote in message
    news:39778705$1@news.devx.com...
    >
    > icq#: 54120485
    >
    > following listing will say enough:
    >
    > //
    > // JitErrorProducer.java
    > //
    > // Author: Daniel Strecker
    > // Copyright (c) 2000 by Daniel Strecker
    > //
    > // You may use and/or redistribute this file for educational purposes.
    > //
    >
    >
    > /**
    > * The purpose of this class is helping to debug that REALY SUCKING,

    *****Y
    > * jit error. (On my machine (Win98, JDK1.2) this class causes some jit
    > * errors when executed.)
    > *
    > * @author Daniel Strecker &lt;daniel-strecker@gmx.net&gt;
    > */
    >
    >
    > import java.awt.Toolkit;
    >
    > public final class JitErrorProducer {
    >
    > public static final Toolkit defaultToolkit = Toolkit.getDefaultToolkit();
    >
    > public static void main(String[] args) {}
    > }




  3. #3
    Daniel Strecker Guest

    Re: Re: JIT Error when 'Toolkit.getDefaultToolkit()'



    Thank you for trying to help me. I solved the problem (by switching
    (from JDK1.2.0, where the errors occured) to JDK1.3)

    regards,
    Daniel Strecker


    "Paul Clapham" <pclapham@core-mark.com> wrote:
    >I can't reproduce this on my Windows 98 system. Here are the java versions
    >I tried:
    >
    >java version "1.2.2"
    >Classic VM (build JDK-1.2.2-001, native threads, symcjit)
    >
    >java version "1.3.0"
    >Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
    >Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
    >
    >Daniel Strecker <daniel-strecker@gmx.net> wrote in message
    >news:39778705$1@news.devx.com...
    >>
    >> icq#: 54120485
    >>
    >> following listing will say enough:
    >>
    >> //
    >> // JitErrorProducer.java
    >> //
    >> // Author: Daniel Strecker
    >> // Copyright (c) 2000 by Daniel Strecker
    >> //
    >> // You may use and/or redistribute this file for educational purposes.
    >> //
    >>
    >>
    >> /**
    >> * The purpose of this class is helping to debug that REALY SUCKING,
    >>*****Y
    >> * jit error. (On my machine (Win98, JDK1.2) this class causes some jit
    >> * errors when executed.)
    >> *
    >> * @author Daniel Strecker <daniel-strecker@gmx.net>
    >> */
    >>
    >>
    >> import java.awt.Toolkit;
    >>
    >> public final class JitErrorProducer {
    >>
    >> public static final Toolkit defaultToolkit = Toolkit.getDefaultToolkit();
    >>
    >> public static void main(String[] args) {}
    >> }

    >
    >



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links