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

Bug 354771

Summary: Compiler doesn't recognize the JavaName property on an External Type function declaration
Product: z_Archived Reporter: Kathy Carroll <carrollk>
Component: EDTAssignee: Project Inbox <edt.compiler-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: jqian, mheitz
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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 ***