etzel-mes commented on PR #28789:
URL: https://github.com/apache/camel/pull/28789#issuecomment-6555362487

   Thanks @davsclaus, confirmed and fixed in 8189c09e080.
   
   Your probe reproduced on the PR head: loaded from `target/classes/camel`, 
saved broken under `src/main/resources/camel`, nothing was restored. I took 
your sketch as is: `lastGoodContentOf` tries the exact location first and then 
compares the remembered `file:` entries with `equalResourceLocation`, resolving 
each key through the resource loader. It is used at the one lookup in 
`restorePreviousRoutes`.
   
   The probe is now 
`RouteReloadRollbackTest#theFirstBrokenSaveUnderSrcMainResourcesGoesBackToTheVersionLoadedFromTargetClasses`:
 red on the first commit, green with this one. The camel-core, camel-xml-io-dsl 
and camel-yaml-dsl reload tests pass, and `-Psourcecheck` leaves no changes. 
The PR description is updated.
   
   _Claude Code on behalf of etzel-mes_
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to