RFR : JDK-8198552: Multiple javac plugins do not work at the same time.

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Mar 9 22:19:11 UTC 2018


+1

-- Jon

On 03/01/2018 08:05 AM, Jan Lahoda wrote:
> On 23.2.2018 22:14, Vicente Romero wrote:
>> I think that for completeness we should test the case when the plugin(s)
>> are defined inside a module,
>
> Thanks Vicente, an updated webrev which tests also Plugins in modules 
> is here:
> http://cr.openjdk.java.net/~jlahoda/8198552/webrev.01/
>
> Jan
>
>>
>> Thanks,
>> Vicente
>>
>> On 02/23/2018 06:46 AM, Jan Lahoda wrote:
>>> Hi,
>>>
>>> When specifying multiple javac plugins using -Xplugin:, only one of
>>> them is run. The primary reason is that an incorrect (originally,
>>> there was only this one) method is overridden in Option.PLUGIN. I've
>>> found two more options that have the same problem ("-Xdoclint:" and
>>> "-Xdoclint/packages:"), I tried to fix those as well.
>>>
>>> Bug: https://bugs.openjdk.java.net/browse/JDK-8198552
>>> Webrev:
>>> http://cr.openjdk.java.net/~jlahoda/8198552/webrev.00/
>>>
>>> How does this look?
>>>
>>> Thanks,
>>>     Jan
>>



More information about the compiler-dev mailing list