this error is only showing in java 1.6: fixed in revision 681096.
On Wed, 2008-07-30 at 12:39 +0800, Paul Robinson wrote:
> When running ant run-install the compile is falling over with the
> following error:
>
> classes:
> [javac15] Compiling 28 source files to
> /data/u01/openbiz/apache-base/ofbiz/applications/accounting/build/classes
> [javac15]
> /data/u01/openbiz/apache-base/ofbiz/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java:1773:
>
> internal error; cannot instantiate
> <V,V1,V2,V3>toMap(java.lang.String,V1,java.lang.String,V2,java.lang.String,V3)
>
> at org.ofbiz.base.util.UtilMisc to
> (java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,double)
> [javac15] input = UtilMisc.toMap("invoiceId",
> invoiceId, "invoiceItemTypeId", invoiceItemTypeId, "quantity", quantity);
> [javac15] ^
> [javac15] Note: Some input files use unchecked or unsafe operations.
> [javac15] Note: Recompile with -Xlint:unchecked for details.
> [javac15] 1 error
>
> Any help would be appreciated, I am not a java guy so I can't fix myself.
>
> Cheers,
> Paul