Skip to content

SpEL support for static finals on interfaces [SPR-10125] #14758

@spring-projects-issues

Description

@spring-projects-issues

Przemek Dyk opened SPR-10125 and commented

Expression evaluator fails with "org.springframework.expression.spel.SpelEvaluationException: EL1008E: Field or property cannot be found" when static field is defined in interface implemented by abstract class extended by my classes. Bean definition order is also important.

I believe it is minimal class hierarchy required to reproduce this bug, but it's a little bit complicated, so I've created a project at GitHub to demonstrate: spring-attic/spring-framework-issues#42


Affects: 3.0.2

Reference URL: spring-attic/spring-framework-issues#42

Sub-tasks:

Referenced from: commits spring-attic/spring-framework-issues@e7c0a3f, spring-attic/spring-framework-issues@bc05400

Backported to: 3.1.4

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions