Description of problem: src/com/sun/cldc/io/ConsoleOutputStream.java:133: warning: Discouraged form of returned type specification. <<file too short - unexpected EOF>> ^ src/java/lang/Object.java: In class `java.lang.Object': src/java/lang/Object.java: In constructor `()': src/java/lang/Object.java:1: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: It is an error occured during compiling j2me for arm linux. 1. At first we calls a Makefile 2. Makefile compiles the java file using javac and stores in a folder called classes 3. Call makefile directly at DIR/built/linux/ DIR=location of j2me installation. (Here it is /root/j2me_cldc/) Actual Results: makefile executes successfully hence creating the kvm for arm processor... Expected Results: The makefile is generating the following errors... --- cut --- src/com/sun/cldc/io/ConsoleOutputStream.java:133: warning: Discouraged form of returned type specification. <<file too short - unexpected EOF>> ^ src/java/lang/Object.java: In class `java.lang.Object': src/java/lang/Object.java: In constructor `()': src/java/lang/Object.java:1: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. --- cut --- Additional info: i know that this is a j2me issue. But the error Segmentation fault is a real java issue. --- cut --- public boolean equals(Object obj) { return (this == obj); } --- cut --- I beleive, this part of the code is generating the error.
*** This bug has been marked as a duplicate of 179532 ***