Bug#638532:

Sylvestre Ledru sylvestre at debian.org
Mon Aug 22 14:24:14 UTC 2011


Le lundi 22 août 2011 à 16:20 +0200, Mathieu Malaterre a écrit :
> On Mon, Aug 22, 2011 at 4:13 PM, Sylvestre Ledru <sylvestre at debian.org> wrote:
> > Le lundi 22 août 2011 à 16:05 +0200, Mathieu Malaterre a écrit :
> >> RHEL seems to be using this patch to work around this issue.
> > Well done
> > Could you try to apply it to see how it goes ?
> 
> Actually it nows fails with:
> 
>     [javac] /home/mathieu/debian/pkg-java/trunk/fop/fop-1.0/src/codegen/java/org/apache/fop/tools/EventProducerCollector.java:49:
> generics are not supported in -source 1.4
>     [javac] (use -source 5 or higher to enable generics)
>     [javac]     private static final Map<String, Class<?>> PRIMITIVE_MAP;
>     [javac]                             ^
>     [javac] 1 error
Looks like a different kind of issue. Looks like Java is complaining
because of the option -source 1.4

See in fop*/build.xml:
  <property name="javac.source" value="1.4"/>
Update it and it should work.

Sylvestre






More information about the pkg-java-maintainers mailing list