Skip to content

SpEl bug while reading boolean fields [SPR-10091] #14724

@spring-projects-issues

Description

@spring-projects-issues

Giovanni Dall'Oglio Risso opened SPR-10091 and commented

There is a small problem in SpEl, while reading "Boolean" properties (not the boolean primitive), with "is" prefix:

public Boolean isPropertyName() // bugged
public boolean isPropertyName() // correct

public Boolean getPropertyName() // correct
public boolean getPropertyName() // correct

I attach the jUnit demonstrating the issue.
Thanks


Affects: 3.1.3, 3.2 RC2

Attachments:

Referenced from: commits 8abe1f0, 431c7ff

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