Issue 123475 - "unoinfo java" returns wrong classpath
Summary: "unoinfo java" returns wrong classpath
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 4.0.1
Hardware: All Unix, all
: P3 Major (vote)
Target Milestone: 4.1.0
Assignee: hdu@apache.org
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-14 17:49 UTC by rony
Modified: 2014-04-01 12:28 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description rony 2013-10-14 17:49:31 UTC
Running "unoinfo java" on 64-bit Fedora 18, AOO 4.0.1 installed via AOO's rpm and red-hat-menu extensions returns among other the following wrong classpath:

   /opt/openoffice4/program/classes/java/juh.jar

The directory "/java/" does not exist, hence unoinfo should return that particular classpath as:

   /opt/openoffice4/program/classes/juh.jar

---

As a result of this bug Java cannot resolve classes from juh.jar such that among other things one cannot use the bootstrap loader, because its class cannot be loaded.
Comment 1 Ariel Constenla-Haile 2013-10-14 18:16:47 UTC
Introduced in Revision 1490609
Comment 2 Oliver Brinzing 2013-10-15 11:36:47 UTC
seems to work on win7 64bit:

>unoinfo java
1C:\Program Files (x86)\OpenOffice.org 4.0.1\program\  C:\Program Files (x86)\OpenOffice.org 4.0.1\program\classes\unoil.jar  C:\Program Files (x86)\OpenOffice.org 4.0.1\program\classes\ridl.jar  C:\Program Files (x86)\OpenOffice.org 4.0.1\program\classes\jurt.jar  C:\Program Files (x86)\OpenOffice.org 4.0.1\program\classes\juh.jar
Comment 3 rony 2014-01-22 19:12:48 UTC
The same bug occurs on MacOSX, AOO versions 4.0.0 and 4.0.1.

Running the current MacOSX snapshot also contains this bug.

As a result I have changed the operating system from "Linux" to "Unix".

As programs depending on unoinfo get the wrong information and as a result are not able to use Java to interface with AOO I think this bug is a "major" one in effect and hence increased the Importance from "normal" to "major", hoping that it will be fixed for 4.1.0.
Comment 4 Oliver-Rainer Wittmann 2014-01-23 09:22:29 UTC
@Jürgen: Please have a look at this issue.
Comment 5 SVN Robot 2014-01-23 09:31:03 UTC
"hdu" committed SVN revision 1560615 into trunk:
#i123475# fix juh.jar path for unoinfo.sh
Comment 6 hdu@apache.org 2014-01-23 09:33:40 UTC
Fixed with the commit above.
Comment 7 hdu@apache.org 2014-04-01 12:28:40 UTC
Closing the resolved issue.