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 noticed that it is an issue due to gcj. When "gcj -C -Wall Object.java" is called the following error is generated. --- cut --- public boolean equals(Object obj) { return (this == obj); } --- cut ---
Created attachment 123956 [details] java.lang.Object
*** Bug 179957 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 179532 ***