Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354957 - Java Generation is setting library integer variables to null
Summary: Java Generation is setting library integer variables to null
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Joseph Vincens CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 354755
  Show dependency tree
 
Reported: 2011-08-17 10:52 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:15 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.