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

Bug 362728

Summary: Exception on mathLib.precision
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Yun Feng Ma <mayunf>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: hjiyong
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description broy2 CLA 2011-11-02 17:20:55 EDT
Use EUNIT to run:

library precision
	function precisionDecimal() {@Test}	
	decimal31 decimal(31,3);
	resultInt int ;
	try
		resultInt = mathLib.precision(decimal31);
		onException(oops AnyException)
            LogResult.failed("Exception");
            exit;
        end
		LogResult.assertDecimalEqual("precisionDecimal", 31, resultInt);
	end    
end

When debugging, I see:
eglx.javascript.JavaScriptObjectException x.eze$$signature is undefined
Comment 1 Huang Ji Yong CLA 2011-11-14 02:20:52 EST
Resolved indirectly, verified by Pengfei
Comment 2 broy2 CLA 2011-11-14 14:13:33 EST
Verified in 20111114 build.