sanity check - is hot reloading still broken for J...
# ktor
s
sanity check - is hot reloading still broken for JDK >8
n
What happens when the Hot Reloading feature is used on JDK versions > 8 (by vendor)? Which JDK vendor are you using?
s
so from my end it looks like I can never pick the correct name for the module to watch
when I google the issue, the same thing more or less happened to the people reporting the issue on JDK9
n
Does a error appear via a stack trace in the logs?
s
It just says
Copy code
INFO ktor.application - No ktor.deployment.watch patterns match classpath entries, automatic reload is not active
according to the docs, it still officially doesn’t work with JDK 9 https://ktor.io/servers/autoreload.html
I’m assuming every newer version also has the same change in
URLClassLoader
but for completeness’s sake, I’m using oracle jdk11 on my machine
n
Appears as though backwards compatibility has been deliberately broken to increase security on JDK 9 onwards ( https://github.com/ktorio/ktor/issues/321 ).
c
Yes, we have fix in 1.2.0-rc but it requires VM option to be set
👍 1