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

Bug 355067

Summary: StrLib.characterLen() produces various Java compile errors
Product: z_Archived Reporter: Kathy Carroll <carrollk>
Component: EDTAssignee: Matt Heitz <mheitz>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mheitz
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kathy Carroll CLA 2011-08-18 08:30:06 EDT
library tester
	
	function testCharacterLen()
		data string = "This is some random data";
		size1, size2 int = -33;
		size1 = strLib.characterLen(data);
		Syslib.writeStdout(" size 1 " + size1);
		data += "           ";
		size2 = strlib.characterLen(data);
		Syslib.writeStdout(" size 2 " + size2);
		if (size1 == size2)
			syslib.writestdout(" size1 == size2");
		else
			syslib.writestdout(" size1 != size2 -- blanks are counted");
		end
	end
	
end
Comment 1 Matt Heitz CLA 2011-08-18 13:42:15 EDT
Part of this is because I haven't yet done but 354981, the enhancement to implement a StrLib like the one in RBD.  We have a new StrLib in package eglx.lang, and soon there will also be one for RBD compatibility in eglx.rbd.

I plan to add eglx.rbd.StrLib today.  But it also looks like something is wrong with the imports in the generated code, so this isn't exactly a duplicate of 354981.
Comment 2 Matt Heitz CLA 2011-08-18 15:37:45 EDT
Fixed along with bug 354981 - Generate eglx.rbd.StrLib.
Comment 3 Kathy Carroll CLA 2011-08-23 09:36:27 EDT
I will verify this once validation defect 355499 has been resolved
Comment 4 Kathy Carroll CLA 2011-09-19 15:25:56 EDT
Verified with build 201109191052
Comment 5 Lisa Lasher CLA 2011-10-11 16:24:34 EDT
Closing this defect.