hdbeukel / james-core

Core module of the JAMES framework
Apache License 2.0
6 stars 5 forks source link

Problem with pc.validate(move, curSolution, curVal, data) #41

Closed huanfachen closed 7 years ago

huanfachen commented 7 years ago

Possible bug: Line 445 in GenericProblem.java PenalizingValidation newVal = pc.validate(move, curSolution, curVal, data);

The method validate(Move<? super SolutionType>, SolutionType, Validation, capture#96-of ? super DataType) is ambiguous for the type PenalizingConstraint<capture#95-of ? super SolutionType,capture#96-of ? super DataType> GenericProblem.java /james-core/src/main/java/org/jamesframework/core/problems line 445 Java Problem

Environment: Java 1.8.0_66 Eclipse Mars.1 Release (4.5.1) Windows 7 64-bit

hdbeukel commented 7 years ago

Duplicate of #31. This is not a bug in JAMES but an issue with Eclipse. Maybe you can try the latest (dev) version of Eclipse, else use a different IDE.