Skip to content

fix: collect frontend dependencies of dev tools message handlers (CP: 24.10) - #25097

Merged
caalador merged 1 commit into
24.10from
cherry/cherrypick-25089-to-24.10
Jul 31, 2026
Merged

fix: collect frontend dependencies of dev tools message handlers (CP: 24.10)#25097
caalador merged 1 commit into
24.10from
cherry/cherrypick-25089-to-24.10

Conversation

@mcollovati

Copy link
Copy Markdown
Collaborator

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.

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.
@github-actions

github-actions Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Test Results

1 295 files  ± 0  1 295 suites  ±0   1h 12m 32s ⏱️ + 1m 48s
8 954 tests ± 0  8 892 ✅ ± 0  62 💤 ±0  0 ❌ ±0 
9 378 runs  +83  9 309 ✅ +82  69 💤 +1  0 ❌ ±0 

Results for commit a72c20a. ± Comparison against base commit 677f145.

♻️ This comment has been updated with latest results.

@caalador
caalador merged commit 2ba67d9 into 24.10 Jul 31, 2026
42 of 45 checks passed
@caalador
caalador deleted the cherry/cherrypick-25089-to-24.10 branch July 31, 2026 11:14
vaadin-bot added a commit that referenced this pull request Jul 31, 2026
… 24.10) (#25097) (CP: 24.9) (#25098)

This PR cherry-picks changes from the original PR #25097 to branch 24.9.
---
#### Original PR description
> 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.
>

Co-authored-by: Marco Collovati <marco@vaadin.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants