Skip to content

Conversation

@harawata
Copy link
Member

Under JPMS (Java Platform Module System), ClassLoader#getResources() could throw FileSystemException it seems.

Should fix #2598

Under JPMS, ClassLoader#getResources() throws `FileSystemException` it seems.
It might be better to catch IOException, but it could swallow some exception that should be thrown.

Should fix mybatis#2598
@coveralls
Copy link

Coverage Status

Coverage remained the same at 87.309% when pulling ced7973 on harawata:jpms-file-system-exception into afc439a on mybatis:master.

@harawata harawata merged commit 2e208e6 into mybatis:master Nov 12, 2022
@harawata harawata self-assigned this Nov 12, 2022
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

Successfully merging this pull request may close these issues.

Running java9 module project, addMappers() could throw FileSystemException

2 participants