Re: RFR: JDK-8250768: javac should be adapted to changes in JEP 12 [v5]

2020-10-30 Thread Jan Lahoda
> This is an update to javac and javadoc, to introduce support for Preview > APIs, and generally improve javac and javadoc behavior to more closely adhere > to JEP 12. > > The notable changes are: > > * adding support for Preview APIs (javac until now supported primarily only > preview langua

Re: RFR: JDK-8254052: improve type specificity of TagletWriter and friends [v6]

2020-10-30 Thread Jonathan Gibbons
> The types of `DocTree` parameters in some methods in `TagletWriter` can be > changed from `DocTree` to more specific subtypes. Doing so makes the code > less prone to incorrect calls, and removes the need for downcasting the > argument in the method bodies. > > This means the implementation o

Integrated: JDK-8254052: improve type specificity of TagletWriter and friends

2020-10-30 Thread Jonathan Gibbons
On Tue, 6 Oct 2020 04:08:12 GMT, Jonathan Gibbons wrote: > The types of `DocTree` parameters in some methods in `TagletWriter` can be > changed from `DocTree` to more specific subtypes. Doing so makes the code > less prone to incorrect calls, and removes the need for downcasting the > argument