Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355067 - StrLib.characterLen() produces various Java compile errors
Summary: StrLib.characterLen() produces various Java compile errors
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: Matt Heitz CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-18 08:30 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:19 EST (History)
1 user (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-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.