This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/21775] NPE in java::util::logging::Logger::getCallerStackFrame caused by incorrect hand-optimization
- From: "greenrd at greenrd dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 May 2005 01:01:00 -0000
- Subject: [Bug libgcj/21775] NPE in java::util::logging::Logger::getCallerStackFrame caused by incorrect hand-optimization
- References: <20050526235817.21775.greenrd@greenrd.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From greenrd at greenrd dot org 2005-05-27 01:00 -------
Oops - my diagnosis was slightly incorrect.
The stack trace is in fact correct, and it was klass.name that was null, not
klass itself.
But my conclusion is still correct - the first loop runs merrily over the end of
the stack trace, because it skips too many entries before it starts.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21775