Improve names of classes generated by the SpEL compiler #32497
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Overview
After making this #29548 (comment), I decided it's worthwhile to improve the names of classes generated by the SpEL compiler in any case.
Status Quo
The SpEL compiler currently generates classes in a package named
spel
with names following the patternEx#
, where#
is an index starting with2
(which was simply an oversight).This results in class names such as:
spel.Ex2
spel.Ex3
Goal
Generate classes in a package named
org.springframework.expression.spel.generated
with names following the patternCompiledExpression#####
, where#####
is a 0-padded counter starting with00001
.This results in class names such as:
org.springframework.expression.spel.generated.CompiledExpression00001
org.springframework.expression.spel.generated.CompiledExpression00002
Related Issues
The text was updated successfully, but these errors were encountered: