ports/137406: eclipse 3.4.2_1 with eclipse-EPIC and Diable crashes on java divide by zero
jmak
jonmakela at gmail.com
Tue Aug 4 00:50:04 UTC 2009
>Number: 137406
>Category: ports
>Synopsis: eclipse 3.4.2_1 with eclipse-EPIC and Diable crashes on java divide by zero
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 04 00:50:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: jmak
>Release: 7.2-RELEASE GENERIC #0
>Organization:
>Environment:
FreeBSD dbox 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root at walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
additional environment:
eclipse-3.4.2_1
diablo-jdk-1.6.0.07.02_5
jdk-1.6.0.3p4_11:
apache-ant-1.7.1
eclipse-EPIC-0.6.13_1
when entering 0/0 in a method call such as System.exit(), Eclipse crashes. This occurs with both JDKs.
>How-To-Repeat:
1. Run Eclipse
eclipse -vm /usr/local/jdk1.6.0/bin/java
-OR-
eclipse -vm /usr/local/diablo-jdk1.6.0/bin/java
It also works with the default java on my system.
2. Create a new 'Java Project'.
3. Create a Java Class, name unimportant.
4. Create a main(), e.g.
public class Test {
public static void main (String args[]) {
}
}
5. In main, type "System.exit(0/0);" or a call to another method with a parameter of int. Note: it is important to *type* it, copy+paste does not work.
6. By the end of that line, eclipse should have crashed with no command line output in ordinary or -debug mode.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list