Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module-jni: add native Java source documentation to module documentation #3019

Closed
davidnich opened this issue Oct 2, 2018 · 1 comment
Closed

Comments

@davidnich
Copy link
Contributor

No description provided.

@davidnich
Copy link
Contributor Author

davidnich commented Oct 13, 2018

these classes are builtin to the jni module, however the jar file must also be installed so that Java source can be compiled top byte code. Also the Java docs need to be included in the module docs

@davidnich davidnich changed the title module-jni: install qore-jni.jar so that Java code can interface with Qore code module-jni: add native Java source documentation to module documentation Oct 13, 2018
davidnich added a commit to qorelanguage/module-jni that referenced this issue Oct 13, 2018
…ionality is built in to the jni module; added Java docs to module docs
davidnich added a commit to qorelanguage/module-jni that referenced this issue Oct 13, 2018
…ncing native functionality can be compiled
davidnich added a commit to qorelanguage/module-jni that referenced this issue Oct 24, 2018
sejvlond pushed a commit to qorelanguage/module-jni that referenced this issue Oct 26, 2018
* refs #3019 fixed qore-jni.jar build and install in a predictable location
refs #3023 added the define_class() function

* refs qorelanguage/qore#3023 set program context when calling java methods

* refs qorelanguage/qore#3023 fixed define_class(); depends on a pending Qore pull request

* refs qorelanguage/qore#3023 implemented support for defining a class and importing it from a parse cmd

* refs qorelanguage/qore#3019 do not install qore-jni.jar, as the functionality is built in to the jni module; added Java docs to module docs

* refs qorelanguage/qore#3019 install jar file so that java code referencing native functionality can be compiled
sejvlond pushed a commit to qorelanguage/module-jni that referenced this issue Nov 26, 2018
* refs #3019 fixed qore-jni.jar build and install in a predictable location
refs #3023 added the define_class() function

* refs qorelanguage/qore#3023 added missing file

* refs #3023 added new test

* refs qorelanguage/qore#3023 set program context when calling java methods

* refs qorelanguage/qore#3023 fixed define_class(); depends on a pending Qore pull request

* refs qorelanguage/qore#3026 started implementing date conversions (WIP)

* refs qorelanguage/qore#3026 date <-> ZonedDateTime conversions

* refs qorelanguage/qore#3026 started adding support for wrapping weak references to Qore objects in Java

* refs qorelanguage/qore#3026 added missing file

* refs qorelanguage/qore#3026 added new QoreArray methods

* refs qorelanguage/qore#3026 implemented Qore object <-> Java object conversions

* refs qorelanguage/qore#3026 changed QoreObject.getClassName() -> className() to align with the Qore API

* refs qorelanguaeg/qore#3026 implemented the QoreObject.instanceOf() method and fixed a reference error in Java -> Qore QoreObject conversions

* refs qorelanguage/qore#3026 added Throwable to Qore function calls, updated docs regarding weak reference handling

* refs qorelanguage/qore#3023 implemented support for defining a class and importing it from a parse cmd

* refs qorelanguage/qore#3026 added missing C++ exception handling for native methods, implemented support for number <-> BigDecimal conversions

* refs qorelanguage/qore#3026 added docs about number conversions

* refs qorelanguage/qore#3026 Qore <-> Java marshalling fixes, fixed Java -> qore array conversions

* refs qorelanguage/qore#3019 do not install qore-jni.jar, as the functionality is built in to the jni module; added Java docs to module docs

* refs qorelanguage/qore#3026 added needed warning override to compile array actions without warnings

* refs qorelanguage/qore#3019 install jar file so that java code referencing native functionality can be compiled

* refs qorelanguage/qore#3026 fixed QoreObject.className()

* refs qorelanguage/#3026 implemented the define-pending-class directive + classloader support to resolve circular references in inner classes

* refs qorelanguage/qore#3026 fixed define-pending-class with classes in packages

* refs qorelanguage/qore#3026 implemented support for QoreJavaApi::callFunctionSave() to allow for Qore to return objects to Java and save a strong reference in thread-local data

* refs qorelanguage/qore#3026 implemented support for creating Qore objects from Java

* refs #3026 fixed issues with native Java threads calling Qore functionality and setting Qore thread-local data from native Java threads

* refs qorelanguage/qore#3026 define-pending-class and thread-local data handling fixes

* refs qorelanguage/qore#3023 fixed callback test

* refs qorelanguage/qore#3026 added missing file

* refs qorelanguage/qore#3026 added default byte[] -> binary conversions with a compatibility flag to maintain the old behavior

* refs qorelanguage/qore#3026 implmented support for per-Program compat-types settings overridingany global option, removed the unused QoreHashMap classand \
made automatic HashMap -> Hash conversions subject to the compat-types option

* refs qorelanguage/qore#3026 added support for relative date/time conversions between Java <-> Qore with a custom class

* refs qorelanguage/qore#3026 updated QoreObjectWrapper::get() -> getQoreObject() as Java methods cannot be overridden in child classes with a different return type

* refs qorelanguage/qore#3019 qorelanguage/qore#3023 updated from review feedback

* qorelanguage/qore#3023 fixed namespace handling

* refs qorelanguage/qore#3026 simpler solution for saving strong references to Qore objects in thread-local data; objects are now stored in a list and prepended to the beginning so that they are destroyed in reverse order of creation (first created, last destroyed)

* refs qorelanguage/qore#3026 added support for calling Qore static methods from Java

* refs qorelanguage/qore#3026 fixed error msg with static method calls

* refs qorelanguage/qore#3026 updated docs

* refs qorelanguage/aore#3026 removed dependency on serialization

* refs #3026 fixed handling of thread-local data from Java threads; we have to deregister the Qore thread in every call, because if we allow the thread to terminate normally, then somehow our thread-local data is removed/destroyed before we get to our cleanup routing, leading to a memory leak

* refs qorelanguage/qore#3026 added Qore Java API to the jni module

* refs qorelanguage/qore#3026 updates from review comments

* refs #3026 updated from review comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant