com.sun.tools.javac.util.List.subList() doesn't return a view.

Jonathan Gibbons Jonathan.Gibbons at Sun.COM
Mon Dec 8 14:28:09 PST 2008


Rémi,

Since javac lists are immutable, there is surely not an issue here.

-- Jon




Rémi Forax wrote:
> Hi all,
> I currently try to use parsers generated by Tatoo
> (http://tatoo.univ-mlv.fr/) as front-end of javac.
>
> Browing the class com.sun.tools.javac.util.List
> I've seen that subList() is not correctly implemented,
> subList() requires that the returned subList is a view.
>
> Rémi




More information about the compiler-dev mailing list