Source: charactermanaj
Priority: normal

This package fails to build with Java 9, for which there will hopefully
soon be a transition. Please fix it.

Build log excerpt:

/build/charactermanaj-0.998+git20150728.a826ad85/src/charactermanaj/ui/util/SpinnerWheelSupportListener.java:53:
 error: incompatible types: Comparable<CAP#1> cannot be converted to 
Comparable<Number>
                                Comparable<Number> max = nmodel.getMaximum();
                                                                          ^
  where CAP#1 is a fresh type-variable:
    CAP#1 extends Object from capture of ?
/build/charactermanaj-0.998+git20150728.a826ad85/src/charactermanaj/ui/util/SpinnerWheelSupportListener.java:55:
 error: incompatible types: Comparable<CAP#1> cannot be converted to 
Comparable<Number>
                                Comparable<Number> min = nmodel.getMinimum();
                                                                          ^
  where CAP#1 is a fresh type-variable:
    CAP#1 extends Object from capture of ?

These errors are normally because javax.swing classes have gained some
generics, where previously they had raw types. Some extra <?> wildcards,
or generics, may be required.


Cheers,
Chris.

Reply via email to