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

Must instantiate connection with active JDBC connection #2

Open
wasabii opened this issue Jul 26, 2022 · 0 comments
Open

Must instantiate connection with active JDBC connection #2

wasabii opened this issue Jul 26, 2022 · 0 comments

Comments

@wasabii
Copy link
Collaborator

wasabii commented Jul 26, 2022

Currently IKVM's class loader hierarchy prevents the proper working of SPI-provided things. This needs to be resolved in IKVM.

Basically, the java.sql.DriverManager instance is unable to locate SPI provided drivers, since the classloader of the calling class is used to validate access. However, IKVM.Jdbc.Data's AssemblyClassLoader, which does not have a static reference to the driver, since it is dynamic. And thus it's unable to find the class.

IKVM's class loader stuff needs to make more sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant