Issue 75845 - java extension jars with indexes are not handled correctly
Summary: java extension jars with indexes are not handled correctly
Status: CONFIRMED
Alias: None
Product: extensions
Classification: Extensions
Component: www (show other issues)
Version: current
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: milestone 1
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-29 09:27 UTC by netforce1
Modified: 2013-02-07 22:35 UTC (History)
1 user (show)

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


Attachments
test case (1.13 MB, application/x-compressed)
2007-03-29 09:28 UTC, netforce1
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description netforce1 2007-03-29 09:27:53 UTC
When the component jar of a Java extension has an index, openoffice fails to
supply classes that are in a different (non-uno) jar in the extension. 
Say for example I have an extension test.oxt with a component jar comp.uno.jar
and an utils jar utils.jar. When I put an index in comp.uno.jar a
ClassNotFoundError is thrown when classes in comp.uno.jar refer to classes in
utils.jar.
The attached zip file contains a test case that shows this. It installs a
Toolbar with one button, which, when clicked, shows a message box saying 'Jar
index test FAILED!'. The error is logged to %user.home%/ooo-test-jarindex.%u.log
where %u is an int used to make the log file unique.
Comment 1 netforce1 2007-03-29 09:28:58 UTC
Created attachment 44009 [details]
test case