summaryrefslogtreecommitdiff
path: root/bean/test
AgeCommit message (Collapse)Author
2020-05-06Move all public Java classes to libreoffice.jarSamuel Mehrbrodt
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 ae855bf48163ff64d94cfc34aff8e37abdb5518d 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-02-04tdf#117331 Merge jurt and unoil into ridlSamuel Mehrbrodt
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>
2015-06-11java:regulatize the order of 'final' and public/privateNoel Grandin
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-09java:Non-synchronized method should not override a synchronized methodNoel Grandin
Change-Id: I46307828757ee1142747c14d2942515340083605
2014-11-18java: fix some raw types warningsNoel Grandin
Change-Id: I0e00739ac36ccc8704ad3c4e4adfa377a6b01f43
2014-09-17bean: unchecked call to getMethod() as a member of the raw type ClassRobert Antoni Buj i Gelonch
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-15bean: use a non-varargs call for a stopOOoConnection method invocationrbuj
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-08-14java: remove commented out codeNoel Grandin
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-05java: remove unused fieldsNoel Grandin
Change-Id: I6c93864f501f646a8940eac221a88c87b3f75525
2014-08-05java: remove various unused variablesNoel Grandin
Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
2013-05-15Don't export a variable called PATH_SEPARATORTor Lillqvist
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-15Spelling "separate" (etc) correctly is hardTor Lillqvist
2013-05-06Java cleanup, Convert Vector to ArrayListNoel Grandin
Change-Id: I323a6625f93347e69f3114fc10cb04dc759a539f
2012-12-25Get rid of (most uses of) GUITor Lillqvist
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-09-10Java cleanup, convert ArrayList and Vector to use genericsNoel Grandin
Change-Id: Ic668b46872ee0bfd259ca335aed9d68fb545c3a4
2012-09-06Java cleanup, remove unnecessary importsNoel Grandin
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-06-12re-base on ALv2 code.Michael Meeks
2012-01-11fix prefix of command line switches (-- instead of -)Andras Timar
2011-08-15Fix wrong comments which prevent to compileJulien Nabet
2011-05-03Change <file>.toURL() to <file>.toURI().toURL()Julien Nabet
2011-02-02Clean up makefilesThomas Arnhold
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2009-11-11#i103496#: sandbox removedMathias Bauer
2008-10-01CWS-TOOLING: integrate CWS sb93Vladimir Glazounov
2008-04-10INTEGRATION: CWS changefileheader (1.2.12); FILE MERGEDRüdiger Timm
2008/03/28 16:08:24 rt 1.2.12.1: #i87441# Change license header to LPGL v3.
2008-04-10INTEGRATION: CWS changefileheader (1.4.16); FILE MERGEDRüdiger Timm
2008/03/28 16:08:24 rt 1.4.16.1: #i87441# Change license header to LPGL v3.
2008-04-10INTEGRATION: CWS changefileheader (1.3.46); FILE MERGEDRüdiger Timm
2008/03/28 16:08:24 rt 1.3.46.1: #i87441# Change license header to LPGL v3.
2007-06-26INTEGRATION: CWS jl60 (1.1.4); FILE ADDEDJens-Heiner Rechtien
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-26INTEGRATION: CWS jl60 (1.1.4); FILE ADDEDJens-Heiner Rechtien
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-26INTEGRATION: CWS jl60 (1.1.4); FILE ADDEDJens-Heiner Rechtien
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-26INTEGRATION: CWS jl60 (1.1.4); FILE ADDEDJens-Heiner Rechtien
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-01-25INTEGRATION: CWS ause069 (1.3.24); FILE MERGEDOliver Bolte
2006/12/01 15:06:11 hjs 1.3.24.1: #i70359# remove forced shell calls
2005-10-19INTEGRATION: CWS hr21 (1.2.2); FILE MERGEDRüdiger Timm
2005/10/18 16:03:22 hr 1.2.2.1: #i55503#: fix license header
2005-10-19INTEGRATION: CWS hr21 (1.2.2); FILE MERGEDRüdiger Timm
2005/10/18 16:03:21 hr 1.2.2.1: #i55503#: fix license header
2005-09-23INTEGRATION: CWS jl16 (1.1.2); FILE ADDEDJens-Heiner Rechtien
2005/07/01 07:49:17 jl 1.1.2.1: #i50243# short OOoBean test
2005-09-23INTEGRATION: CWS jl16 (1.1.2); FILE ADDEDJens-Heiner Rechtien
2005/07/01 07:49:07 jl 1.1.2.1: #i50243# short OOoBean test