Skip to content

Commit

Permalink
chore: Update the JRebel class for backend type detection (#20447) (#…
Browse files Browse the repository at this point in the history
…20597)

Co-authored-by: Mikhail Shabarov <[email protected]>
vaadin-bot and mshabarov authored Dec 2, 2024
1 parent 4b7ea7d commit 591bccb
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -72,7 +72,7 @@ public class DebugWindowConnection implements BrowserLiveReload {

static {
IDENTIFIER_CLASSES.put(Backend.JREBEL, Collections.singletonList(
"org.zeroturnaround.jrebel.vaadin.JRebelClassEventListener"));
"org.zeroturnaround.jrebel.vaadin.JRebelInitializer"));
IDENTIFIER_CLASSES.put(Backend.HOTSWAP_AGENT, Collections.singletonList(
"org.hotswap.agent.plugin.vaadin.VaadinIntegration"));
IDENTIFIER_CLASSES.put(Backend.SPRING_BOOT_DEVTOOLS, Arrays.asList(
Original file line number Diff line number Diff line change
@@ -210,7 +210,7 @@ class JRebelInitializer {
protected Class<?> findClass(String name)
throws ClassNotFoundException {
switch (name) {
case "org.zeroturnaround.jrebel.vaadin.JRebelClassEventListener":
case "org.zeroturnaround.jrebel.vaadin.JRebelInitializer":
return JRebelInitializer.class;
default:
throw new ClassNotFoundException();

0 comments on commit 591bccb

Please sign in to comment.