add flexibility how template classes get updated

Description

Lucee comes with 2 ways how to update template classes (classes created from .cfc/.cfm templates ):

  • update the existing class file

  • rename the underlying class by appending an appendix like "$1".

At the moment we only use the "rename" feature, what has some issues in some edge cases (see ). The "update" feature is not used anymore at all, because it causes problem with JRE (not JDK)>10.

Lucee should use the "update" functionality until the "rename" feature is fixed and fallback to the "rename" feature only if the "update" feature is not supported by the environment.

Environment

None

Assignee

Unassigned

Reporter

Michael Offner

Priority

New

Labels

None

Fix versions

Configure