Sad development of events in case of the issue of ...
# compiler
p
Sad development of events in case of the issue of incorrect line numbering in stack traces: [KT-8628] Line numbers are incorrect in exception stack trace . JDK folks resolved the JDK issue (which was first rebranded as an enhancement request) as wontfix, which doesn't give hopes to fix the issue that Kotlin users face. Any idea what to go from here? I'd personally challenge the fact that it's not a bug in JDK. I don't have proper expertise within the JDK/JVM internals so cannot push the discussion forward. Once it's proven to be a bug, there's a chance to get it back on track.
👀 1
c
would it be possible to write a method that takes a stacktrace and prints it with correct linenumbers? or is that info already lost at that point?
p
good question, I haven't tried it
c
if there was a utility method that can do it, web servers and test runners could just use that.
p
I assume the problem is not with printing the stacktrace, but with collecting it in the first place.