Issues

Select view

Select search mode

 

Static methods fail when called from an abstract class

Description

Static methods are failing when called from an abstract class. Lucee is attempting to instantiate an object, which of course is not what should happen when a static method is called. (Static methods are working just fine when called from a non-abstract class.)

Environment

Windows 11

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 24 October 2022 at 13:38
Updated 26 October 2022 at 09:36

Activity

Show:

Zac Spitzer26 October 2022 at 09:36

Pothys - MitrahSoft26 October 2022 at 07:43
Edited

I've checked this ticket and confirmed the issue happened on the lucee latest version 5.3.10.84-SNAPSHOT. When calling the static methods from an abstract component, it throws an error like you cannot instantiate an abstract component [D:\….\abstract.cfc], this component can only be extended by other components and ACF also throws the same error.

I added testcase to this ticket
Pull Request:

Flag notifications