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

Bug 360469

Summary: NPE testing null decimal? variable == null
Product: z_Archived Reporter: Kathy Carroll <carrollk>
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: jeffdouglas, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kathy Carroll CLA 2011-10-10 13:16:46 EDT
program driver type BasicProgram {}
	
	
	function main()
		// works in JS; NPE in java
		tester decimal?;
		if (tester == null)
			syslib.writestdout("good");
		else
			syslib.writestdout("bad");
		end
	end
	
end
Comment 1 Jeff Douglas CLA 2011-10-18 14:49:04 EDT
fixed
Comment 2 Kathy Carroll CLA 2011-10-25 12:00:04 EDT
verified with build 201110241434 & closed