Hello,

what version of jdk do you use ?
I tried to compile with the java 6 release candidate and it failed
on the ImageCacher-code. I also used debug=on, but didnt try without.
I filed a bug report.
Previous versions (jdk1.4, 1.5) dont have a probem to compile this.
greetings
dieter von holten


----- Original Message -----
From: "Une Bévue" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, November 24, 2006 11:07 AM
Subject: re-compile batik with debug=on


> Hey all,
>
>
> following a prob with ttf to svg i had to recompile batik with debug=on.
>
> this ends up with two errors (BUILD FAILED) with this file :
>
> org/apache/batik/svggen/ImageCacher.java
> line 252 :
> return new ImageCacheEntry(checksum, data, SIGN_POUND + id);
> line 378 :
> return new ImageCacheEntry(checksum, imageFile, imageFile.getName());
>
> the error being the same in both cases :
>
> non-static variable this cannot be referenced from a static context.
>
> i'm surprised about that because i'm sure i had been able to compile
> it with debug off...
>
> best,
>
> Yvon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to