zookeeper-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] anmolnar commented on issue #1016: ZOOKEEPER-3463 Enable warning messages in maven compiler plugin
Date Tue, 16 Jul 2019 15:58:39 GMT
anmolnar commented on issue #1016: ZOOKEEPER-3463 Enable warning messages in maven compiler
plugin
URL: https://github.com/apache/zookeeper/pull/1016#issuecomment-511878608
 
 
   New compiler option `-Xlint:-options` disables warning messages related to the invalid
use/combination of compiler options.
   
   The warning message is valid: it indicates that we don't do true cross-compilation without
specifying the target JDK class OR using the "release" flag. Essentially compiling with JDK9+
doesn't guarantee that the JAR will be able to run on JDK8. I think we can live with it.
   
   I think the best would be to use `-source` flag only without specifying `-target`, because
we don't really want to do cross-compilation. For some reason it doesn't seem to be available
in maven compiler plugin.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message