Skip to content

Support BigInteger and BigDecimal literals in SpEL expressions #21758

@spring-projects-issues

Description

@spring-projects-issues

Rimal opened SPR-17225 and commented

Can we please add a suffix support for BigInteger as well in SpEL. 

Currently, we can add a long value as 12345456L (with the L suffix) but for a BigInteger, we need to mention it as new java.math.BigInteger('9248040402').

It would be really helpful if we could mention a BigInteger as 9248040402BI or something on these lines.


No further details from SPR-17225

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions