summaryrefslogtreecommitdiff
path: root/jurt/com
AgeCommit message (Collapse)Author
2014-09-25java: when rethrowing exceptions, store the original causeNoel Grandin
so that we get a nice complete stacktrace when it hits the final handler Change-Id: Iec4fcc15a2a25c55f591b5e069dce3d010197a90
2014-09-15jurt: encode(String) in URLEncoder has been deprecatedrbuj
Change-Id: I914985aa73653e0fb08200ddd06ad5b914087e3a Reviewed-on: https://gerrit.libreoffice.org/11446 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-09Make the "Mac-like" or "canonical" app bundle structure always used on OS XTor Lillqvist
In other words, only executable files go in the MacOS folder. Dynamic libraries and bundled frameworks (i.e., LibreOfficePython), and nothing else, go in the Frameworks folder, and all other files go in the Resources folder. Especially, note that Java class files and rc (.ini) files also go in Resources. Such an app bundle structure is what Apple strongly suggests one should use, and it has been hinted that future versions of code signing and/or Gatekeeper will require such a structure. There is still some ugliness thanks to traces of the historical separation of URE from "the office". Like there are two separate "unorc" files, one for URE, one for the LibreOffice application. IMHO, this should be cleaned up, but is probably controversial. (Eek! I now see there are actually *three* unorc files in the app bundle. Not intentional. Need to fix that later.) Change-Id: Idcf235038deb5b8e1d061734993e9f31869b7606
2014-09-08set names on some Java threadsMichael Stahl
Change-Id: I611821d5f84b440ba542a8d62a374df7b505de15
2014-09-02jurt: fix javadoc error: unexpected end tag: </p>rbuj
Change-Id: Ie8eb163793dc575558149320dceffcd92bdcfdd4 Reviewed-on: https://gerrit.libreoffice.org/11245 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-30jurt: fix some javadoc errors for JDK 8rbuj
Change-Id: I998f5796d7a5f10f790a1e861b741c54d0f62c19 Reviewed-on: https://gerrit.libreoffice.org/11191 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-20java: remove unnecessary constructor declarationsNoel Grandin
in the absence of any other constructors, the compiler will automatically generate a public no-arg constructor Change-Id: I70eca507cd8e16e33580b3398d41d70690bc2909
2014-08-20java: remove modifiers implied by the contextNoel Grandin
found by PMD Change-Id: I04cbf986ddbcffff987784f381b8a9f52f1b3f31
2014-08-20jurt: Throwable.getCause() instead of Throwable.getTargetException()rbuj
As of the JDK 1.4, Throwable.getCause() is the preferred method for getting thrown target exception. Change-Id: I14f3f9ae52869d1149f92b32562e7fb3293109b5 Reviewed-on: https://gerrit.libreoffice.org/11027 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-19java: use 'Byte.valueOf' instead of 'new Byte'Noel Grandin
Change-Id: Ia99765a6226317ee41ffb02a1b0dd7e6fd944a90
2014-08-19java: use 'Short.valueOf' instead of 'new Short'Noel Grandin
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19java: use 'Long.valueOf' instead of 'new Long'Noel Grandin
Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19java: classes in java.lang package do not need to be fully qualifiedNoel Grandin
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
2014-08-14java: remove commented out codeNoel Grandin
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-12java: fix broken javadoc tagsNoel Grandin
Change-Id: I43d25ba49b758739ee8dc891b0db3e527004ec8b
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-10jurt: Use <T> T[] toArray(T[] a)rbuj
http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html#toArray%28T%5b%5d%29 Change-Id: I601e77db3cc978d81aebddfe6abba1c020671913 Reviewed-on: https://gerrit.libreoffice.org/10853 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-10Make this work better in the ENABLE_MACOSX_MACLIKE_APP_STRUCTURE caseTor Lillqvist
In that case the dylibs won't be in the parent directory of where the jars are (Resources), but in Frameworks. Change-Id: I628d828ca820d07724947050f54f9f5f9148e159
2014-08-09jurt: Number parsingrbuj
Change-Id: I40721bdaae62f063c188546fedb4037e40f890fa Reviewed-on: https://gerrit.libreoffice.org/10845 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-08java: redundant assignment, variable can only be nullNoel Grandin
Change-Id: I91209c5c185cf097a1609244419d73d4757d7d18
2014-08-08java: variable cannot be nullNoel Grandin
remove null check where null-analyis reveals the variable cannot be null Change-Id: Ied0a24665514bbf68c2ed5f15af9e5c2232a8033
2014-08-08java: remove dead methodsNoel Grandin
Change-Id: I9f2e705fd603a7c8832c0f0772bee9f395380a0d
2014-08-05java: remove commented out codeNoel Grandin
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
2014-08-05java: remove unused fieldsNoel Grandin
Change-Id: I6c93864f501f646a8940eac221a88c87b3f75525
2014-08-04java: remove pre Java 1.5 workaround in UrlToFileMapperNoel Grandin
Since we now require Java 1.5 Note that I tried to remove more code and use URL#toURI as the comment suggests, but that results in errors during make check. Change-Id: If283ee60f272b18920dcf8fc1be8766c0bed6ea5
2014-08-04java: remove workarounds for missing functionality pre java 1.5Noel Grandin
Since we now require java 1.5 Change-Id: I9e195f77c81bd9447f8e29c1862c68a57846c8a3
2014-08-04simplify some java static initializersNoel Grandin
Change-Id: Ic767b655297bfb5fcfb5cd7878d7131a9cb6b2f1
2014-07-27jurt: Enhanced For-Loopsrbuj
Change-Id: I74a9b8afd1e4a1364c61c7b85277909f38611f6d Reviewed-on: https://gerrit.libreoffice.org/10553 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-24typosMichael Stahl
Change-Id: I3da5c0c1e9c7ecbb69463e948ac0eb326b112767
2014-07-24jurt: Enhanced For-Loops, code formatting, javadoc & overridesrbuj
Signed-off-by: Michael Stahl <mstahl@redhat.com> Conflicts: jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java Change-Id: I6d6324c5597fa472360a1b8bb4153dec647a36f0
2014-07-23TyposJulien Nabet
Change-Id: I0c17f40b3e593ae3771fa751a817f84bf2f2323d
2014-03-12Spelling fix: suportedTor Lillqvist
Change-Id: I3b67edd5ba4541a65cb0916abea6db1362c32afd
2014-03-10jurt: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann
Change-Id: I6fc237a3274f51b282804b9a08fc063694376780
2014-02-26Remove visual noise from jurtAlexander Wilms
Change-Id: I9f2d9d0ee99623495440fd66961b56a73bd4124a Reviewed-on: https://gerrit.libreoffice.org/8276 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-13More java.lang.System.mapLibraryName dylib vs. jnilib confusionStephan Bergmann
...like a76261ac9e40eb57e942db2c7aea8b8a5e904ff2 Change-Id: I803dc81344efb5e8021d9ef4146c06ecf82ca63b
2014-02-06typo fixes in commentsAndras Timar
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-10-01[API CHANGE] Remove unused CPLD_ACCESS feature from C++/Java component loadersStephan Bergmann
...introduced in 2000 with 38974aeef6dfaa1c625cf5498ec553489dd08c87 "added library loading limitation by using env variable CPLD_ACCESSPATH=path1;path2; etc." and 9be3c618e0b1d2b2635bd7b134693ed5ff3021bc "#80090# restrict jar file access to java system property com.sun.star.comp.loader.CPLD_ACCESSPATH" but already in 2004 considered "a hack [that] seems to be unused nowadays" in 1d3164df959b31ba9f50ddc108569f3adec32ff7 "CWS sb20: #i29119# Replaced sandbox.jar-based class loader with an own one." Change-Id: I637afd5daeb4ca097edd17f834c81af892dcfc6a
2013-04-25Clean up Java ServiceManager bootstrappingStephan Bergmann
...and remove the unused feature of initializing it with an obsolete XSimpleRegistry. Change-Id: I333dae51f67c16da3e6822ba81e4b8ca125188a5
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-10workaround IBM java 1.5.0 inconvertible types errorCaolán McNamara
Change-Id: I84533723e9f42a27e2942c28b53232630db82e10
2013-03-13fdo#60724: Fix spelling avaliable -> available.Steven Meyer
2013-02-22s/the the/the/Tor Lillqvist
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-20typo: allways -> alwaysAndras Timar
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2012-10-01fdo#51304: Remove the author of some java source filesAnurag Jain
This patch remove some '@author' for Java souce files, and removes some commented code founded when removing the '@author'. Change-Id: Ic4fcd028a9cdbd85c693d93bcd48e41f36386d22
2012-08-29Java cleanup - remove unnecessary null checksNoel Grandin
Change-Id: I72a847b1180e9aeb8dec18bcaedee7286eee7754
2012-08-20Remove dead java code, fields and local variablesNoel Grandin
Change-Id: If777dcb0e0142229df737c2f1e3e6ecb61f64168
2012-08-20Remove dead java codeNoel Grandin
Change-Id: I9a86978c4b4da058ddc44a7e79635e232ff6c870
2012-08-20Java update - fix various javadoc issuesNoel Grandin
Along the way, remove some javadoc comments that are completely incorrect. Change-Id: I02f96b6cbe665d2c10bd6ee245a7d8e2eef0f755