goete111 / factorie

Automatically exported from code.google.com/p/factorie
0 stars 0 forks source link

Inconsistent classfile encountered: The undefined type parameter A is referenced from within MutableDiscreteVar$DiscreteVariableDiff$ #34

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a CategoricalDomain (or probably almost any other MutableDiscreteVar) 
in Java
2. Allow Eclipse to compile the file

What is the expected output?

No compilation errors.

What do you see instead?

Inconsistent classfile encountered: The undefined type parameter A is 
referenced from within MutableDiscreteVar$DiscreteVariableDiff$

What version of the product are you using? On what operating system?

1.0.0-M3, Mac OS X, Eclipse Juno

Please provide any additional information below.

Looks like Factorie is generating inconsistent classfiles, as a result of this 
Scala bug: https://issues.scala-lang.org/browse/SI-4820.

This issue is apparently fixed in Scala 2.10 
(http://www.scala-lang.org/node/16606) so the simple fix would be to upgrade 
the Scala library dependency to 2.10.0 instead of the current 2.9.2.

Original issue reported on code.google.com by steven.b...@gmail.com on 16 Feb 2013 at 1:09