A long time from now, in a galaxy far, far away... jdk9 came today 07/27/2017 :)
I definitely do believe it's an important feature, most web tech now a days supports source maps and a portion of the open source project I'm working on uses a source transformer to inject some Interrupt checks among other transforms. I already track where I modify the original source but if I could implement a SourceMapProvider that would be a much better solution as it would provide the user accurate information in any error they may receive and also help mask the fact that their original source has been modified making it difficult to determine in their original code where a problem was. Even if I could provide an inline source map through the //#sourceURL directive I would be happy. Would be fantastic to see in both jdk8 and jdk9... when looking through the source code the number of times line numbers and columns are used seems very few so I wouldn't think it would take much effort to implement. The SourceMapProvider being the easiest as the implementation of the provider wouldn't be expected, just the interface to do so. In response to feature freeze, jcp... “I am free, no matter what rules surround me. If I find them tolerable, I > tolerate them; if I find them too obnoxious, I break them. I am free > because I know that I alone am morally responsible for everything I do.” > ― Robert A. Heinlein > <http://www.goodreads.com/author/show/205.Robert_A_Heinlein> Thanks, Arthur Fiedler This is a feature request. For jdk9, except for jigsaw, we're not adding > any new feature at this point. It *may* be considered for a release > beyond jdk9. Please do file rfe if you think this is an important feature. > > Thanks, > -Sundar