Release version has Java strictness incompatibility

Bug #1284102 reported by Cefn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Undecided
Unassigned

Bug Description

I just downloaded and installed zorba and zorba_modules from https://launchpad.net/zorba/+download

Cmake completed without issues on my system (unlike the bzr version which has a uuid.h detect bug as previously reported).

However, when running make, there is a java compile-time error in the ZorbaReadPdfModule class, which I guess may be to do with the default strictness of the particular javac available on my system, but seems a pretty fundamental Generics error.

Scanning dependencies of target zorba_read-pdf_module.jar.classes
org/zorbaxquery/modules/readPdf/ZorbaReadPdfModule.java:379: error: incompatible types: Map<String,COSObjectable> cannot be converted to Map<String,Object>
                        Map<String,Object> embeddedFileNames = embeddedFiles.getNames();
                                                                                     ^
1 error

The path to javac when I experienced this bug was as follows...

/usr/bin/javac -> /etc/alternatives/javac -> /usr/lib/jvm/java-8-oracle/bin/javac

By running

sudo update-alternatives --config javac

...I selected instead the compilers for java-7-oracle, java-6-oracle and java-7-openjdk-i386 as default bindings for javac but they generated the same fatal build error.

Did this ever build with a recent version of Java?

Revision history for this message
Cefn (6-launchpad-net-cefn-com) wrote :

A useful workaround would be to suppress the building of Java language bindings if that's possible. What option can I use for that?

Revision history for this message
Cefn (6-launchpad-net-cefn-com) wrote :

By the way, I would be looking through the documentation provided for this, except there is a broken link in the Zorba documentation.

Where the documentation promises "A complete list of Zorba's configuration parameters can be found here: Zorba Configuration Parameters. " it links to this 404 page...

http://www.zorba.io/pages/3.0/zorba/configuration_parameters

Revision history for this message
Cefn (6-launchpad-net-cefn-com) wrote :

This same error is experienced using the latest source from the Bazaar repository as well, as indicated at ...

https://bugs.launchpad.net/zorba/+bug/1284091

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.