38 Commits
Author SHA1 Message Date
shlok3640 0aca17d5c1 tdf#162563 Remove Java Applet test code in bean
Remove the obsolete test code related to Java Applets in the bean module.
Since the Applet feature is being removed, these tests are no longer needed.

Change-Id: Iaee7aad618e6addff5f14c08ec4a07d920c01a90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195592
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Tested-by: Jenkins
2025-12-16 22:33:21 +01:00
Samuel Mehrbrodt 35518c9236 Move all public Java classes to libreoffice.jar
This moves the classes from juh.jar and ridl.jar to libreoffice.jar

The goal is to have one single jar (and Java module, will be added later)
which developers can include to work with LO.

juh.jar and ridl.jar are kept as basically empty jars with libreoffice.jar
on its classpath to keep backwards compatibility.

This is a continuation of ae855bf481
and a preparation to have Java 9 module support.

Change-Id: Ifbbfb97f60373d14256e62ae3122913bd17d5bbb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91930
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-05-06 14:48:21 +02:00
Samuel MehrbrodtandStephan Bergmann ae855bf481 tdf#117331 Merge jurt and unoil into ridl
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>
2020-02-04 22:03:54 +01:00
Noel Grandin efd4bfa818 java:regulatize the order of 'final' and public/private
Make the order be 'public static' or 'private static'
Just makes the code nicer to read.

Change-Id: I182424bda45a2d68642e5d04c6091d268ace1fe2
Reviewed-on: https://gerrit.libreoffice.org/16202
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-11 09:34:00 +00:00
Noel Grandin 441407571e java:Non-synchronized method should not override a synchronized method
Change-Id: I46307828757ee1142747c14d2942515340083605
2015-06-09 13:10:43 +02:00
Noel Grandin a3a57bebcd java: fix some raw types warnings
Change-Id: I0e00739ac36ccc8704ad3c4e4adfa377a6b01f43
2014-11-18 12:44:34 +02:00
Robert Antoni Buj i Gelonch 804e0335fb bean: unchecked call to getMethod() as a member of the raw type Class
http://docs.oracle.com/javase/tutorial/reflect/class/classTrouble.html

Change-Id: Ib548b47c412394e1518fea42b83d05a36c1655c8
Reviewed-on: https://gerrit.libreoffice.org/11477
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-17 06:12:24 +00:00
rbuj 7b8934d27e bean: use a non-varargs call for a stopOOoConnection method invocation
Change-Id: I589436be7d28b50b0b900a314b300d382eac5eb8
Reviewed-on: https://gerrit.libreoffice.org/11445
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-15 06:08:30 +00:00
Noel Grandin ac5954d7c5 java: remove commented out code
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-14 10:59:48 +02:00
Noel Grandin 0477e6c39b java: add @Override annotation to overriding methods
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-12 09:41:28 +02:00
Noel Grandin d26540bb05 java: remove unused fields
Change-Id: I6c93864f501f646a8940eac221a88c87b3f75525
2014-08-05 11:31:50 +02:00
Noel Grandin f124688cfd java: remove various unused variables
Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
2014-08-05 11:31:49 +02:00
Tor Lillqvist 07976ee1de Don't export a variable called PATH_SEPARATOR
It used to be mis-spelled PATH_SEPERATOR. Now, after correcting the spelling,
it breaks the build of 3rd-party libraries using autoconfigury on Windows. The
value of PATH_SEPARATOR is ";" on Windows, and the configure scripts of those
libs run in Cygwin and assume that a PATH_SEPARATOR environment variable
should be correct for Cygwin. Which ";" isn't.

Rename the variable to LIBO_PATH_SEPARATOR.

Change-Id: Iff0eb93bf11d9f844a28be7ea4456e4c0ae10844
2013-05-15 14:23:39 +03:00
Tor Lillqvist cb6d67c21f Spelling "separate" (etc) correctly is hard 2013-05-15 11:14:28 +03:00
Noel Grandin 587c59fbc9 Java cleanup, Convert Vector to ArrayList
Change-Id: I323a6625f93347e69f3114fc10cb04dc759a539f
2013-05-06 11:45:50 +02:00
Tor Lillqvist c29098917a Get rid of (most uses of) GUI
GUI only takes values UNX or WNT, so it is fairly pointless. One can check
whether OS is WNT or not instead.

Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34
Reviewed-on: https://gerrit.libreoffice.org/1304
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-25 17:53:25 +00:00
Noel Grandin 4c9e62c6e3 Java cleanup, convert ArrayList and Vector to use generics
Change-Id: Ic668b46872ee0bfd259ca335aed9d68fb545c3a4
2012-09-10 23:43:39 +02:00
Noel Grandin bf4352084b Java cleanup, remove unnecessary imports
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-09-06 17:13:58 +02:00
Michael Meeks 6f36747661 re-base on ALv2 code. 2012-06-12 17:31:21 +01:00
Andras Timar aab14cb9fb fix prefix of command line switches (-- instead of -) 2012-01-11 19:25:45 +01:00
Julien Nabet 265a458cda Fix wrong comments which prevent to compile 2011-08-15 02:19:28 +02:00
Julien Nabet 2be3b8bd88 Change <file>.toURL() to <file>.toURI().toURL() 2011-05-03 22:55:31 +02:00
Thomas Arnhold 4327ec0dee Clean up makefiles 2011-02-02 12:06:11 +01:00
Jens-Heiner Rechtien 36de66bdf0 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Mathias Bauer da0f3ac4ca #i103496#: sandbox removed 2009-11-11 07:25:37 +01:00
Vladimir Glazounov 93d89bfbc1 CWS-TOOLING: integrate CWS sb93 2008-10-01 09:04:58 +00:00
Rüdiger Timm 60938a92ef INTEGRATION: CWS changefileheader (1.2.12); FILE MERGED
2008/03/28 16:08:24 rt 1.2.12.1: #i87441# Change license header to LPGL v3.
2008-04-10 15:24:50 +00:00
Rüdiger Timm f31246cfad INTEGRATION: CWS changefileheader (1.4.16); FILE MERGED
2008/03/28 16:08:24 rt 1.4.16.1: #i87441# Change license header to LPGL v3.
2008-04-10 15:24:12 +00:00
Rüdiger Timm bd3a008202 INTEGRATION: CWS changefileheader (1.3.46); FILE MERGED
2008/03/28 16:08:24 rt 1.3.46.1: #i87441# Change license header to LPGL v3.
2008-04-10 15:23:55 +00:00
Jens-Heiner Rechtien 38f30ab057 INTEGRATION: CWS jl60 (1.1.4); FILE ADDED
2007/06/15 08:51:45 jl 1.1.4.2: #i70235# applet in browser test
2006/10/09 13:12:00 jl 1.1.4.1: file makefile.mk was added on branch cws_src680_jl60 on 2007-06-15 08:51:45 +0000
2007-06-26 10:11:32 +00:00
Jens-Heiner Rechtien ea874455ac INTEGRATION: CWS jl60 (1.1.4); FILE ADDED
2007/06/15 08:51:33 jl 1.1.4.2: #i70235# applet in browser test
2006/10/09 13:11:49 jl 1.1.4.1: file example.html was added on branch cws_src680_jl60 on 2007-06-15 08:51:33 +0000
2007-06-26 10:11:20 +00:00
Jens-Heiner Rechtien 6f193e66ee INTEGRATION: CWS jl60 (1.1.4); FILE ADDED
2007/06/15 08:51:56 jl 1.1.4.2: #i70235# applet in browser test
2006/10/09 13:11:39 jl 1.1.4.1: file bean.policy was added on branch cws_src680_jl60 on 2007-06-15 08:51:55 +0000
2007-06-26 10:11:09 +00:00
Jens-Heiner Rechtien 009ec7700c INTEGRATION: CWS jl60 (1.1.4); FILE ADDED
2007/06/15 09:00:29 jl 1.1.4.2: #i70235# applet in browser test
2006/10/09 13:12:10 jl 1.1.4.1: file OOoViewer.java was added on branch cws_src680_jl60 on 2007-06-15 09:00:29 +0000
2007-06-26 10:10:52 +00:00
Oliver Bolte e05d7af101 INTEGRATION: CWS ause069 (1.3.24); FILE MERGED
2006/12/01 15:06:11 hjs 1.3.24.1: #i70359# remove forced shell calls
2007-01-25 12:05:34 +00:00
Rüdiger Timm 54ae438dff INTEGRATION: CWS hr21 (1.2.2); FILE MERGED
2005/10/18 16:03:22 hr 1.2.2.1: #i55503#: fix license header
2005-10-19 10:55:02 +00:00
Rüdiger Timm 8e5a912c45 INTEGRATION: CWS hr21 (1.2.2); FILE MERGED
2005/10/18 16:03:21 hr 1.2.2.1: #i55503#: fix license header
2005-10-19 10:54:50 +00:00
Jens-Heiner Rechtien d0a1c7b4ee INTEGRATION: CWS jl16 (1.1.2); FILE ADDED
2005/07/01 07:49:17 jl 1.1.2.1: #i50243# short OOoBean test
2005-09-23 10:55:00 +00:00
Jens-Heiner Rechtien f92e8514c7 INTEGRATION: CWS jl16 (1.1.2); FILE ADDED
2005/07/01 07:49:07 jl 1.1.2.1: #i50243# short OOoBean test
2005-09-23 10:54:49 +00:00