It compiles upgrading to latest JDK 8

java version "1.8.0_112"
Java(TM) SE Runtime Environment (build 1.8.0_112-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.112-b16, mixed mode)


On Dec 2, 2016, at 11:26 AM, P. Taylor Goetz 
<ptgo...@gmail.com<mailto:ptgo...@gmail.com>> wrote:

My guess is this bug:

http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8080645 
<http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8080645>

I’m on Java(TM) SE Runtime Environment (build 1.8.0_112-b16) and it compiles 
for me.

-Taylor

On Dec 2, 2016, at 2:07 PM, Hugo Da Cruz Louro 
<hlo...@hortonworks.com<mailto:hlo...@hortonworks.com>> wrote:

java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

On Dec 2, 2016, at 11:01 AM, P. Taylor Goetz 
<ptgo...@gmail.com<mailto:ptgo...@gmail.com><mailto:ptgo...@gmail.com>> wrote:

I’m able to build the master branch just fine. What JDK version are you using?

-Taylor

On Dec 2, 2016, at 1:54 PM, Hugo Da Cruz Louro 
<hlo...@hortonworks.com<mailto:hlo...@hortonworks.com><mailto:hlo...@hortonworks.com>>
 wrote:

[ERROR] 
/Users/hlouro/Apache/Dev/GitHub/hmcl/storm-apache/storm-core/src/jvm/org/apache/storm/daemon/nimbus/Nimbus.java:[2297,23]
 incompatible types: inferred type does not conform to upper bound(s)
 inferred: java.util.Map<? extends java.lang.Object,? extends java.lang.Object>
 upper bound(s): 
java.util.Map<java.util.List<java.lang.Integer>,java.util.Map<java.lang.String,java.lang.Object>>,java.lang.Object

I believe this is the commit causing the problem: 
725003cc5f488191dda011dda738e41d57eca474

I compiled my code with the following head: 
80846773d9104fa565cf118d32b94796fc7507cf

8084677 Added STORM-2226 to CHANGELOG.md
4cec3bd STORM-2226: Fix kafka spout offset lag ui for kerberized kafka
2832aeb Added STORM-1276 to changelog.
b910466 Merge branch 'STORM-1276' of https://github.com/revans2/incubator-storm 
<https://github.com/revans2/incubator-storm> into STORM-1276
725003c STORM-1276: line for line translation of nimbus to java
872d0a1 Added STORM-2224 to CHANGELOG.md
3c309fc STORM-2224 Exposed a method to override in computing the field from 
given tuple in FieldSelector
8048cfa Added STORM-2220 to CHANGELOG.md
adee4aa STORM-2220 Added config support for each bolt in Cassandra bolts, fixed 
the bolts to be used also as sinks.
2856687 Added STORM-1886 to CHANGELOG.md






Reply via email to