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: error in dynamic class generation related to abstract base classes #4737

Closed
davidnich opened this issue Jul 31, 2023 · 0 comments

Comments

@davidnich
Copy link
Contributor

davidnich commented Jul 31, 2023

ex:

import qore.Qore.SQL.Datasource;
import qore.Qore.$Functions;

public class DsTest {
    public static void main(String[] args) throws Throwable {
        Datasource ds = new Datasource("jdbc:xxxx");
        Object results = ds.callMethod("selectRows", "select * from AUFTRAG where auftragnr = 10");
        $Functions.printf("rows: %N\n", results);
    }
}

error:

Exception in thread "main" java.lang.AbstractMethodError: Receiver class qore.Qore.SQL.Datasource does not define or inherit an implementation of the resolved method 'abstract java.lang.Object selectRows(java.lang.String)' of abstract class qore.Qore.SQL.AbstractDatasource.
	at QoreURLClassLoader//DsTest.main(DsTest.java:9)

related to #4738

@davidnich davidnich added this to the 1.17.0 milestone Jul 31, 2023
@davidnich davidnich self-assigned this Jul 31, 2023
@davidnich davidnich added this to To do in Qore Development via automation Jul 31, 2023
davidnich added a commit to qorelanguage/module-jni that referenced this issue Jul 31, 2023
davidnich added a commit to qorelanguage/module-jni that referenced this issue Jul 31, 2023
Qore Development automation moved this from To do to Done Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant