Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354957

Summary: Java Generation is setting library integer variables to null
Product: z_Archived Reporter: Kathy Carroll <carrollk>
Component: EDTAssignee: Joseph Vincens <jvincens>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jvincens, mheitz
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 354755    

Description Kathy Carroll CLA 2011-08-17 10:52:32 EDT
====  EGL code =======
library ConstantLibrary  {}
	const NEWLINE string = "\r\n";
	const EXIT_PREFIX string = "STATUS: ";
	
	const SPASSED int = 0;
	const SFAILED int = 1;
	const SERROR int = 2;
	const SNOT_RUN int = 3;
end

Get this error
   Type mismatch: cannot convert from null to int
On this java line
	private static final int ezeConst_SPASSED = null;
Comment 1 Matt Heitz CLA 2011-08-17 11:29:54 EDT
You can fix the SNOT_RUN problem with a Kleenex.  Ha!
Comment 2 Joseph Vincens CLA 2011-08-17 17:18:45 EDT
fixed, sync with CVS to pick up the changes
Comment 3 Kathy Carroll CLA 2011-08-17 21:31:17 EDT
verified
Comment 4 Lisa Lasher CLA 2011-10-11 16:21:36 EDT
Closing this defect.