source file which throws invalid bytecode error no longer detects any further changes

Description

as noted in the comments in

the logDirectory.cfc from my log viewer plugin, Lucee no longer detects any changes in the file

Steps to reproduce.

  1. install 6.0.0.298

  2. install the log viewer plugin

  3. try to open the log viewer in the admin, boom bytecode error

  4. update to 6.0.0.299 (which fixes bytecode problem)

  5. try to open the log viewer in the admin, boom bytecode error (ok src file hasn’t changed)

  6. edit the logDirectory.cfc file to trigger a recompile (in \lucee-server\context\context\admin\plugin\logViewer)

  7. try to open the log viewer in the admin, boom still a bytecode error (wrong, src file has changed)

  8. delete cfclasses folder under context

  9. try to open the log viewer in the admin, works fine

Environment

None

Activity

Zac Spitzer 
27 September 2023 at 09:36

backport PR to 5.4

Michael Offner 
20 February 2023 at 09:57

Michael Offner 
17 February 2023 at 15:36

cannot reproduce the issue locally (macos) i have enabled the test case

Michael Offner 
17 February 2023 at 15:30

normally an update of the Lucee version should also flush all the classes

Pothys - MitrahSoft 
2 December 2022 at 14:43
(edited)

I've checked this ticket and confirmed the issue happened on the lucee versions 5.4.0.8-SNAPSHOT and 6.0.0.300-SNAPSHOT. I replicate the issue using above mentioned test code, it throws a byte code error.

Unresolved

Details

Assignee

Reporter

Priority

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

Sprint

Affects versions

Created 22 November 2022 at 14:32
Updated 27 September 2023 at 09:36