Age | Commit message (Collapse) | Author |
|
jurt.jar and unoil.jar are kept as effectively empty jars, each with a
Class-Path: ridl.jar
in their meta-inf/manifest.mf, so that 3rd-party code loading them (with or
without also loading ridl.jar) will still have access to their content.
Conceptually, the UNOIDL entities in unoil.jar (corresponding to module offapi)
are not part of the URE, but are now made available by URE's ridl.jar. This
should probably not cause problems in practice.
At least for now, we seal exactly those packages in ridl.jar that were
originally sealed in jurt.jar. Ideally, all of ridl.jar could be sealed now,
but that would be mildly incompatible, as it would prevent 3rd-party code from
introducing additional UNOIDL entities in the relevant namespaces (even if that
is something we do not want 3rd-party code to do anyway).
However, some JunitTest_jurt_* define classes in those sealed packages. In the
past they got away with that by using gb_JunitTest_use_jar_classset,*,jurt.
Instead they now need to gb_JunitTest_use_jar_classset,*,ridl and drop the
gb_JunitTest_use_jar,*,ridl. But the former only makes available the classes
that are specified in ridljar/Jar_ridl.mk with gb_Jar_add_sourcefiles, not the
UNOIDL entities specified via gb_Jar_add_packagedirs. But the tests need the
udkapi UNOIDL entities, so introduce gb_JunitTest_add_classpath to let the tests
get them explicitly. (Curiously, JunitTest_jurt_uno and JnitTest_jurt_util use
gb_JunitTest_use_jar_classset,*,jurt but don't seem to acutally need it; lets
leave that for a follow-up clean up.)
As a follow-up clean up, relevant files could be moved from jurt/ to ridljar/.
Change-Id: I836f4e7bb47fb41f1306e3f223da90dba988eb9a
Co-authored-by: Stephan Bergmann <sbergman@redhat.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/84946
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
|
|
|
|
|
|
|
|
|
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
|
|
2008/03/31 07:24:32 rt 1.5.64.1: #i87441# Change license header to LPGL v3.
|
|
2005/09/05 15:18:54 rt 1.4.14.1: #i54170# Change license header: remove SISSL
|
|
2005/09/05 15:18:53 rt 1.4.14.1: #i54170# Change license header: remove SISSL
|
|
2005/04/08 15:33:03 sb 1.1.2.1: #120219# Added Sealed information to JAR file.
|
|
2005/04/07 12:03:30 sb 1.3.30.2: #120220# Load Java UNO components with a class loader that inherits from the UnoClassLoader, and make sure that any (Java classes representing) additional UNO types that a UNO component brings with it are found by the UnoClassLoader (the latter still needs TODO).
2005/03/30 12:44:03 sb 1.3.30.1: #120219# Cleaned up.
|
|
2005/05/26 14:45:25 sb 1.3.154.4: #121932# Adaption for wntmsci10.
2005/04/18 14:20:29 sb 1.3.154.3: #121392# Extended manifest Class-Path so that native libraries can be found.
2005/04/08 15:32:46 sb 1.3.154.2: #120219# Added Sealed information to JAR file.
2005/03/30 12:44:47 sb 1.3.154.1: #120219# Removed dubious JAR file versioning; added Class-Path information to JAR file.
|
|
2004/06/14 13:37:09 sb 1.2.174.1: #i29119# sandbox.jar no longer needed by UNO.
|
|
|
|
|
|
|
|
|