We've three outstanding low priority java warnings in coverity
coverity#1371372 Resource leak on an exceptional path
coverity#1371366 Resource leak on an exceptional path
coverity#1371376 Resource leak on an exceptional path
which are all (apparently) due to close not called on URLClassLoader if
an exception occurs
https://gerrit.libreoffice.org/#/c/46037/ would probably silence them,
but URLClassLoader.close is only in >= java 7 so presumably applying
that would break ability to run scripting stuff in 1.5 which is what we
use with javac -source/-target (except if building with java 9 which
only supports >= 1.6 for -source/-target)
Any thoughts here, I'm not particularly concerned with the java
warnings, but they're basically the only ones not triaged at this point
so I'd like to close them out one way or the other. Setting them to
Intentional+Ignore is an option.
Context
- cid#1371366 Java "Resource leak on an exceptional path" ? · Caolán McNamara
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.