RFR JDK-8167442: Langtools ant build not working after addition of -Xlint:exports

Remi Forax forax at univ-mlv.fr
Tue Oct 11 06:11:05 UTC 2016


I don't think it's a good idea to try to hide these kind of warning under the carpet. 

It means that the methods are public or the class is in an exported package but it should not.

Hiding this kind of info is harmful IMO. 

Rémi 

On October 10, 2016 6:37:39 PM GMT+02:00, Jan Lahoda <jan.lahoda at oracle.com> wrote:
>Bug:
>https://bugs.openjdk.java.net/browse/JDK-8167442
>
>Proposed solution is to disable the exports lint when compiling the 
>langtools sources (the lint is disabled for the jdk.jshell module when 
>building using the make buildsystem).
>
>Webrev:
>http://cr.openjdk.java.net/~jlahoda/8167442/webrev.00/
>
>Any feedback is welcome.
>
>Thanks,
>     Jan

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20161011/e77ac0bb/attachment.html>


More information about the compiler-dev mailing list