Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Buggy default method in IPropertySetter, Epsilon 2.4
Buggy default method in IPropertySetter, Epsilon 2.4 [message #1854835] Wed, 14 September 2022 01:55 Go to next message
Jörn Guy Süß is currently offline Jörn Guy SüßFriend
Messages: 320
Registered: July 2009
Location: Anstead, Brisbane, Queens...
Senior Member

I found the below in Epsilon 2.4 source.,

org.eclipse.epsilon.eol.execute.introspection.IPropertySetter.class

Seems that the target is not transferred and the value duplicated instead.

	/**
	 * This method is provided only for convenience. Implementations should override the
	 * {@link #invoke(Object, String, Object, IEolContext)} method instead.
	 * 
	 * @param target
	 * @param property
	 * @param value
	 * @throws EolRuntimeException
	 */
	default void invoke(Object target, String property, Object value) throws EolRuntimeException {
		invoke(value, property, value, null);
	}
Re: Buggy default method in IPropertySetter, Epsilon 2.4 [message #1854841 is a reply to message #1854835] Wed, 14 September 2022 07:08 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2165
Registered: July 2009
Location: York, UK
Senior Member

Hi Jörn,

Thanks for reporting this! Fixed.

Cheers,
Dimitris
Re: Buggy default method in IPropertySetter, Epsilon 2.4 [message #1854858 is a reply to message #1854841] Thu, 15 September 2022 04:45 Go to previous message
Jörn Guy Süß is currently offline Jörn Guy SüßFriend
Messages: 320
Registered: July 2009
Location: Anstead, Brisbane, Queens...
Senior Member

Actually, that is not all it is, it also causes an NPE if calling the Java one. I assume it should instantiate an EOlContext
Previous Topic:Bug: dependency order in installation
Next Topic:JavaDoc documentation of IModel
Goto Forum:
  


Current Time: Sat Apr 27 13:07:11 GMT 2024

Powered by FUDForum. Page generated in 0.03009 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top