Github user harshach commented on the issue:
https://github.com/apache/storm/pull/1446
@satishd merged into master but getting following error on 1.x-branch
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/Users/harsha/code/apache/storm/storm-core/src/jvm/org/apache/storm/StormSubmitter.java:[237,35]
incompatible types: try-with-resources not applicable to variable type
(org.apache.storm.utils.NimbusClient cannot be converted to
java.lang.AutoCloseable)
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9.033 s
[INFO] Finished at: 2016-06-06T20:00:00-07:00
[INFO] Final Memory: 43M/927M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on
project storm-core: Compilation failure
[ERROR]
/Users/harsha/code/apache/storm/storm-core/src/jvm/org/apache/storm/StormSubmitter.java:[237,35]
incompatible types: try-with-resources not applicable to variable type
[ERROR] (org.apache.storm.utils.NimbusClient cannot be converted to
java.lang.AutoCloseable)
[ERROR] -> [Help 1]
[ERROR]
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---