Commit 2ba67d9
authored
fix: collect frontend dependencies of dev tools message handlers (CP: 24.10) (#25097)
FrontendDependencies resolves DevToolsMessageHandler subtypes to add
them as internal entry points, but the class was missing from the
`@HandlesTypes` of DevModeStartupListener. DevModeClassFinder only knows
the classes listed there and throws for anything else, and that
exception was swallowed by the surrounding catch block intended for a
missing dev tools classpath entry. As a result, frontend dependencies
declared by dev tools plugins were silently skipped in development mode
when the byte-code scanner is enabled.1 parent 677f145 commit 2ba67d9
2 files changed
Lines changed: 5 additions & 2 deletions
File tree
- vaadin-dev-server/src
- main/java/com/vaadin/base/devserver/startup
- test/java/com/vaadin/base/devserver/startup
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | | - | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
67 | | - | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
0 commit comments