Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354604 - String concat causes JavaGen & JavaScriptGen errors
Summary: String concat causes JavaGen & JavaScriptGen 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: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-12 07:35 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:17 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-12 07:35:45 EDT
Multiple markers at this line
	- IWN.JavaGen.9999.e 0/0 Stack Trace: java.lang.RuntimeException: org.eclipse.edt.mof.egl.NoSuchFunctionError
	- IWN.JavaGen.9998.e 0/0 Exception occurred: java.lang.RuntimeException: 
	 org.eclipse.edt.mof.egl.NoSuchFunctionError

Java has the error marker on the package statement.  JavaScript has the error marker on the line of code that is causing the error.  I think JavaGen should report the error like JavaScript.

Here's the EDT code:
program appendTest type BasicProgram {}
    function main()
        source, pattern String;
        source = "ab*def";
        pattern = "ab\\*def";
        fullString string = "Found " + pattern + " in " + source;
        sysLib.writeStdout(fullString);
    end
end
Comment 1 Jeff Douglas CLA 2011-08-12 07:45:07 EDT
This would be a compiler error, so Paul needs to fix it.
Comment 2 Kathy Carroll CLA 2011-08-15 14:30:17 EDT
this has been resolved
Comment 3 Kathy Carroll CLA 2011-08-15 14:30:28 EDT
verified
Comment 4 Lisa Lasher CLA 2011-10-11 16:01:25 EDT
Closing this defect.