Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354771 - Compiler doesn't recognize the JavaName property on an External Type function declaration
Summary: Compiler doesn't recognize the JavaName property on an External Type function...
Status: CLOSED DUPLICATE of bug 354044
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-15 16:10 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:17 EST (History)
2 users (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-15 16:10:56 EDT
IWN.VAL.6619.e 16/21 FileWriter - JavaName cannot be resolved. At line 16 in file \zEUnitJavaTester0815.eunit.java\eglsource\org\eclipse\edt\eunit\runtime\ExternalTypes.egl

package org.eclipse.edt.eunit.runtime;

//Put EGL Source File Contents Here
ExternalType File type JavaObject {packageName = "java.io"}
	 constructor (pathname String In);
	 function getAbsolutePath() returns (String);
	 function createNewFile() returns (boolean);
	 function mkdirs() returns (boolean);
	 function exists() returns (boolean);
end

ExternalType FileWriter type JavaObject { packageName = "java.io" }
	constructor (file File In);
	constructor (filename String In);
	function write(str String In);
	function close_() {JavaName ="close"};
end

ExternalType IOException type JavaObject { packageName = "java.io"}
end
Comment 1 Matt Heitz CLA 2011-08-16 13:21:27 EDT
See bug 354044.  JavaName has been replaced by externalName.

*** This bug has been marked as a duplicate of bug 354044 ***