You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is part of my class loader work and is going to be very problematic soon.
GrpcDevUIProcessor#grpcAction() which is a deployment bit is called from the Dev UI at runtime and actually performs some class loading from the deployment class loader, which is closed at that point (so we shouldn't load classes from it anymore).
I think the problem was somehow identified because of this comment:
/** * This gets called during runtime from the Dev UI JsonRPC Service to test a grpc call * We go to Flow to stay in the JDK, else we have classpath issues. */
I'm not entirely sure how we want to fix it but I would really like us to get rid of this pattern (if we can find a better solution).
Also I'm not entirely sure it's the only problematic piece of the Dev UI (I'm pushing something to CI to try to detect these problems but it might break too many things to be meaningful). @phillip-kruger do you recall some other similar hacks?
Hum, I'm not sure we can find a proper way. The Dev UI has to access deployment classes once in a while. That's why we have the DevConsoleManager "hacks".
Here, we cannot invoke gRPC from Javascript (even with gRPC Web it will only be a subset).
Note
This is part of my class loader work and is going to be very problematic soon.
GrpcDevUIProcessor#grpcAction()
which is a deployment bit is called from the Dev UI at runtime and actually performs some class loading from the deployment class loader, which is closed at that point (so we shouldn't load classes from it anymore).I think the problem was somehow identified because of this comment:
I'm not entirely sure how we want to fix it but I would really like us to get rid of this pattern (if we can find a better solution).
Also I'm not entirely sure it's the only problematic piece of the Dev UI (I'm pushing something to CI to try to detect these problems but it might break too many things to be meaningful). @phillip-kruger do you recall some other similar hacks?
/cc @cescoffier
The text was updated successfully, but these errors were encountered: