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

Jan Lahoda jan.lahoda at oracle.com
Thu Mar 1 16:05:01 UTC 2018


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