Fixed
Details
Assignee
Michael OffnerMichael OffnerReporter
Adam CameronAdam CameronPriority
NewFix versions
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
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Adam Cameron
Adam CameronPriority
Fix versions
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
Created 7 June 2023 at 13:44
Updated 1 May 2024 at 07:32
Resolved 1 May 2024 at 07:32
Repro:
// C.cfc component { static { final static.usingLiteral = { subKey = "value" } final static.usingDots.subKey = "value" } }
<!--- test.cfm---> <cfscript> writeDump(C::usingLiteral) writeDump(C::usingDots) </cfscript>
Result:
Expected:
Both dumps to be the same.
NB: this only happens if the variable is
final
.Confirmed on 6.0.0.416-SNAPSHOT and 5.3.10.97 (and 5.4.0.65-RC-light-nginx).
Both in docker containers (perhaps relevant, as I’ve had other issues with static / final in Docker containers that aren’t reproduceable in a native install).
The Docker container set-up I use is @ https://github.com/adamcameron/lucee6_and_mariadb & https://github.com/adamcameron/lucee_and_mariadb