
Update `MainMethod` discovery so that launcher classes from the `org.springframework.boot.loader` code are not considered. This restores the behavior of Spring Boot 2.7.11 and allows remote restart of uber jars without pulling the loader classes into the `RestartClassLoader`. Fixes gh-39733