Bug 165617 - uno-skeletonmaker has unused imports
Summary: uno-skeletonmaker has unused imports
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:25.8.0
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-06 16:34 UTC by prrvchr
Modified: 2025-03-27 00:16 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description prrvchr 2025-03-06 16:34:50 UTC
Description:
Using uno-skeletonmaker with the --java5 and --pasive-registration provide a Java skeleton with unused import.

Steps to Reproduce:
1. Using uno-skeletonmaker with the --java5 and --pasive-registration options provide a Java skeleton with unused import.

Actual Results:
Java skeleton with unused import

Expected Results:
Java skeleton with only used import


Reproducible: Always


User Profile Reset: No

Additional Info:
no
Comment 1 prrvchr 2025-03-06 17:03:26 UTC
This modification is necessary following the [PR#182436](https://gerrit.libreoffice.org/c/core/+/182436).

This is an oversight on my part.
Comment 2 Commit Notification 2025-03-06 18:57:35 UTC
prrvchr committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/ed90785aad27068bb3f02fbc1cf584070418a89c

tdf#165617 remove unused import from uno-skeletonmaker

It will be available in 25.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 prrvchr 2025-03-18 18:02:22 UTC
@Stephan Bergmann Can this fix be pushed to 25.2 please? Thanks
Comment 4 prrvchr 2025-03-27 00:01:55 UTC
@Stephan Bergmann, if you read my comment #2 <https://bugs.documentfoundation.org/show_bug.cgi?id=165617#c2>, you'll see that this is a fix for PR#182436 <https://gerrit.libreoffice.org/c/core/+/182436>.

So if we don't apply this fix to 25.2, then uno-skeletonmaker can't be operational with 25.2 since we'll have only done half the work.
Comment 5 prrvchr 2025-03-27 00:16:49 UTC
@Stephan Bergmann, sorry, if you read my comment #1...

When 25.2.2 is released and if nothing is done, it will be too late and uno-skeletonmaker will not work...