<Swing Dev> [9] Review request for 8167176 Exported elements referring to inaccessible types in java.desktop

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Oct 19 17:24:57 UTC 2016


On 19.10.16 20:05, Phil Race wrote:
>> is it necessary to add "exports" to "-Xlint:"? I assumed that it
>> should be added somewhere else and disabled if necessary per module.
>
> Alexander is just reversing the previous change and that is per module
> http://hg.openjdk.java.net/jdk9/dev/rev/81435a812f59
>
> It is tagged ton to the variable "java.desktop_ADD_JAVAC_FLAGS"

Those change add "-export" to the JAVAC_FLAGS which I assume disable 
this warning, but current fix is not remove but replace to "export", 
which I suppose should be included in the -Xlint:all which is set by 
default, no?
-    '-Xdoclint/package:java.*,javax.*' -Xlint:-deprecation,-exports
+    '-Xdoclint/package:java.*,javax.*' -Xlint:-deprecation,exports



-- 
Best regards, Sergey.



More information about the swing-dev mailing list