6 ms·
The essential words in that article are... > There are some non-standard ECMAScript features in JavaScript that work differently in the presence of PTC. Java
by chrisseaton 7y ago
The essential words in that article are...
> There are some non-standard ECMAScript features in JavaScript that work differently in the presence of PTC.
Java has a strict spec, and the relevant methods which would break aren’t non-standard like they are in JavaScript.
If you’re willing to change the spec (I think Loom does) then yeah, but you can’t implement it as an ‘optimisation’ until then, because it’s not an optimisation if it changes behaviour.
- saagarjha 7y agoWhat would Java's be? Is there an interface besides Thread.getStackTrace()?
- chrisseaton 7y agoIt’s also the format of the backtrack - I think that’s covered by the TCK.