You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by "Aias00 (via GitHub)" <gi...@apache.org> on 2026/08/03 01:10:55 UTC
[I] [BUG] Replaced ext-lib JAR is never reloaded (version check is dead code) [shenyu]
Aias00 opened a new issue, #6725:
URL: https://github.com/apache/shenyu/issues/6725
- Severity: Medium-High
- Location:
`shenyu-web/src/main/java/org/apache/shenyu/web/loader/ShenyuExtPathPluginJarLoader.java:54-56` (`if (pluginJarName.contains(absolutePath)) { continue; }`); `shenyu-web/src/main/java/org/apache/shenyu/web/loader/ShenyuPluginClassLoader.java:212-219` (`compareVersion` — zero call sites)
-
Description:
`loadExtendPlugins` keys only on the file's absolute path. If the path is already known, the jar is silently skipped — content/version is never re-examined. `ShenyuPluginClassLoader.compareVersion(...)` would detect a version change but has zero call sites.
-
Impact:
Operator replaces `ext-lib/foo.jar` with a new build (same filename) and expects hot reload. The scheduler rescans, sees the path known, silently ignores. Gateway keeps running the old plugin indefinitely. Only delete-then-re-add triggers reload.
-
Suggested fix:
Track `(path, version)` or `(path, lastModified/hash)`; when path exists but version differs, `removePluginClassLoader(path)` and re-parse. Wire `compareVersion` into this check.
-
Confidence: High
- Related existing: none
---
_Identified during the 2026-08-02 deep re-scan; full list in [`docs/scan2-2026-08-02/06-medium-tiers.md`](docs/scan2-2026-08-02/06-medium-tiers.md)._
--
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: notifications-unsubscribe@shenyu.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [BUG] Replaced ext-lib JAR is never reloaded (version check is dead code) [shenyu]
Posted by "Aias00 (via GitHub)" <gi...@apache.org>.
Aias00 closed issue #6725: [BUG] Replaced ext-lib JAR is never reloaded (version check is dead code)
URL: https://github.com/apache/shenyu/issues/6725
--
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: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [BUG] Replaced ext-lib JAR is never reloaded (version check is dead code) [shenyu]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6725:
URL: https://github.com/apache/shenyu/issues/6725#issuecomment-5161308009
👋 Hello @Aias00
A new issue has been opened by @Aias00:
- **Title**: [BUG] Replaced ext-lib JAR is never reloaded (version check is dead code)
- **Link**: https://github.com/apache/shenyu/issues/6725
Please review when you have time. Thank you! 🙏
--
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: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org