@Jonathan Leitschuh - I'm also waiting, but worked around it by forcibly hacking (sorry) the GET_SUPPRESSED_METHOD field to null. This will give a reflection warning on JRE11, and needs to be done once at the start of your application (or, if you have multiple classloaders, on each one, though this is not something I tried, because I have not needed to):
Field field = ThrowableProxy.class.getDeclaredField("GET_SUPPRESSED_METHOD");
field.setAccessible(true);
Field modifiers = Field.class.getDeclaredField("modifiers");
modifiers.setAccessible(true);
modifiers.setInt(field, field.getModifiers() & ~Modifier.FINAL);
field.set(null, null);
Hope this helps. |