Skip to content

Commit

Permalink
fix: add missing reflection hints for menu (#20476) (#20477)
Browse files Browse the repository at this point in the history
Fixes #20458

Co-authored-by: Marco Collovati <[email protected]>
  • Loading branch information
vaadin-bot and mcollovati authored Nov 14, 2024
1 parent 2587d49 commit 960d3df
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
import org.springframework.core.io.ClassPathResource;

import com.vaadin.flow.di.LookupInitializer;
import com.vaadin.flow.router.MenuData;
import com.vaadin.flow.router.internal.DefaultErrorHandler;
import com.vaadin.flow.server.menu.AvailableViewInfo;
import com.vaadin.flow.server.menu.RouteParamType;

/**
* Registers runtime hints for Spring 3 native support.
Expand Down Expand Up @@ -106,7 +109,9 @@ private String[] getClasses() {
"org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter",
"org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestWrapper",
"com.fasterxml.jackson.databind.ser.std.ToStringSerializer",
DefaultErrorHandler.class.getName() };
DefaultErrorHandler.class.getName(), MenuData.class.getName(),
AvailableViewInfo.class.getName(),
RouteParamType.class.getName() };
}

}

0 comments on commit 960d3df

Please sign in to comment.