JIT Error when 'Toolkit.getDefaultToolkit()'


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

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

  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) {}
    >> }

    >
    >



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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center