Details
-
Type: Other
-
Status: Closed
-
Priority: Default
-
Resolution: Fixed
-
Affects Version/s: 1.3.1
-
Fix Version/s: None
-
Component/s: Build
-
Labels:None
Description
Just tried to compile the source with "ant jar" under jdk 1.5.x because the new release 1.3.2 seems to be compiled wiht a newer version ("Bad version number in .class File").
I got the following:
--------------------------------------------------------
compile_main:
[javac] Compiling 1431 source files to /private/tmp/qfixsrc/quickfixj/core/target/classes/main
[javac] /private/tmp/qfixsrc/quickfixj/core/src/main/java/quickfix/FieldMap.java:211: inconvertible types
[javac] found : quickfix.Field<capture of ?>
[javac] required: quickfix.StringField
[javac] StringField f = (StringField) fields.get(field);
[javac] ^
[javac] /private/tmp/qfixsrc/quickfixj/core/src/main/java/quickfix/FieldMap.java:358: inconvertible types
[javac] found : quickfix.Field<capture of ?>
[javac] required: quickfix.BytesField
[javac] else if (!(returnField instanceof BytesField))
[javac] ^
[javac] /private/tmp/qfixsrc/quickfixj/core/src/main/java/quickfix/FieldMap.java:362: inconvertible types
[javac] found : quickfix.Field<capture of ?>
[javac] required: quickfix.BytesField
[javac] return (BytesField) returnField;
[javac] ^
[javac] /private/tmp/qfixsrc/quickfixj/core/src/main/java/quickfix/DataDictionary.java:589: inconvertible types
[javac] found : quickfix.Field<capture of ?>
[javac] required: quickfix.StringField
[javac] StringField field = (StringField) iterator.next();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 4 errors
BUILD FAILED
/private/tmp/qfixsrc/quickfixj/build.xml:36: The following error occurred while executing this line:
/private/tmp/qfixsrc/quickfixj/build.xml:27: The following error occurred while executing this line:
/private/tmp/qfixsrc/quickfixj/core/build.xml:80: The following error occurred while executing this line:
/private/tmp/qfixsrc/quickfixj/core/build.xml:85: The following error occurred while executing this line:
/private/tmp/qfixsrc/quickfixj/core/build.xml:104: Compile failed; see the compiler error output for details.
--------------------------------------------------------
Do you have any suggestions how to solve the problem ?.
Thanks
Thomas