Results 1 to 3 of 3
  1. #1
    jmak is offline Member
    Join Date
    Aug 2009
    Posts
    2
    Rep Power
    0

    Default crash on freebsd eclipse 3.4.2 caused by evaluating divide-by-zero

    I'm trying to determine where to report this bug, so could you test it on your system? It may not exist in later versions, but 3.4.2 is the latest available for this platform :).

    Steps to reproducing:
    1. create a new java file (it may be important to have the general class structure)
    I used
    Java Code:
    public class Main {
    	public static void main (String args[]) {
    		System.out.println("hello, world");
    	}
    }
    2. If you're using the above code, add
    Java Code:
    System.exit(0/0);
    to main(). On my system, it causes eclipse to immediately crash. The method used to trigger this doesn't matter, but simply assigning 0/0 to a variable doesn't work.

    -jmak

  2. #2
    vogella is offline Member
    Join Date
    Aug 2009
    Location
    Heidelberg
    Posts
    47
    Rep Power
    0

    Default

    [EDIT] Sorry the headers says that you runnig FreeBSD, I didn't see that.
    Last edited by vogella; 08-03-2009 at 11:16 PM.

  3. #3
    jmak is offline Member
    Join Date
    Aug 2009
    Posts
    2
    Rep Power
    0

Similar Threads

  1. Replies: 3
    Last Post: 04-13-2010, 04:43 PM
  2. [SOLVED] Evaluating an Airthmetic Expression
    By learning_javaNow in forum New To Java
    Replies: 6
    Last Post: 03-01-2009, 05:54 AM
  3. Replies: 2
    Last Post: 01-15-2009, 10:01 PM
  4. How to divide code in classes?
    By hendrix79 in forum New To Java
    Replies: 2
    Last Post: 12-10-2008, 06:36 PM
  5. Help Making a program not crash
    By Lifeis2evil in forum New To Java
    Replies: 2
    Last Post: 12-10-2008, 04:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •