Replies: 1 comment
-
Thanks a lot @sormuras for taking the time to discuss this and follow up. Indeed it looks like everything that relate to the lifecycle of the JVM process itself ( In the JEP 486 appendix, an example is shown about how to use an agent to intercept calls to this kind of Java APIs. I wonder if that could be a way to go for JUnit. I don't believe it's completely far-fetched to imagine a world where the test session is sandboxed to some extent, so that such API calls can be intercepted and even maybe reacted to by test authors. This is why I was suggesting maybe intercepting |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Forked discussion from here: #4469 (comment)
What if a test calls directly (or indirectly in production code)
System.exit(123);
, and aSecurityManager
(JEP 411, JEP 486) is not installed or no longer supported?Beta Was this translation helpful? Give feedback.
All reactions