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
…20600)

Co-authored-by: Mikhail Shabarov <61410877+mshabarov@users.noreply.github.com>
  • Loading branch information
vaadin-bot and mshabarov authored Dec 3, 2024
1 parent b486987 commit 1ab8b04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1ab8b04

Please # to comment.