New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Throwables#lazyStackTrace throws UnsupportedOperationException on AIX 5.3 #2887
Comments
Thanks, and sorry for the slow response. It's unfortunate that IBM would define this method only to make it not work, but I assume they have their reasons. If you're interested in adding |
@cpovirk |
Thanks! I would probably lean toward |
@cpovirk |
Fix addresses a problem occurred on AIX 5.3 with IBMs JDK. To ensure that we can call underlying method to get a stack size, Throwables#getSizeMethod, first a smoke test performed with dummy exception. Once method executed with success, it is safe to return it for further usage. Issue: google#2887
Fix addresses a problem occurred on IBM JDK 6. To ensure that we can call underlying method, Throwables#getSizeMethod, to get stack size, first a smoke test with dummy exception. Once method executed with success, it is safe to return it for further usage. Issue: google#2887
Fix addresses a problem occurred on IBM JDK 6. To ensure that we can call underlying method, Throwables#getSizeMethod, to get stack size, first a smoke test with dummy exception. Once method executed with success, it is safe to return it for further usage. Issue: google#2887
@cpovirk can this be closed? Looks like the PR proposed for this issue was also closed. |
The mechanism which detects whether to fallback on the non-lazy stack trace implementation seems to be broken on AIX 5.3 with IBMs JDK
jdk-6.0.0.645-aix-powerpc
. When iterating through the list returned by the method on such a system I get the following exception + traceExplicitly using
new Throwable().getStackTrace
resolved the problem.The text was updated successfully, but these errors were encountered: