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

Split package when using jnr-fuse in JPMS-enabled project #102

Open
overheadhunter opened this issue Jul 1, 2020 · 0 comments
Open

Split package when using jnr-fuse in JPMS-enabled project #102

overheadhunter opened this issue Jul 1, 2020 · 0 comments

Comments

@overheadhunter
Copy link
Contributor

If one wants to use jnr-fuse in a JPMS-project, one needs to require at least two modules (maybe even more) in order to import the classes required to extend AbstractFuseFS:

module com.example.module {
	requires jnr.fuse;
	requires jnr.ffi;
}

However this causes the "split package" problem (inhibiting compilation), as the package jnr.ffi exists in both projects.

I can't tell if this needs to be that way (in which case jnr-fuse can't be used for such projects). If it doesn't, I would suggest to rename these packages to a namespace exclusive to jnr-fuse.

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