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

Fixed type filtering in assembly extensions #596

Merged
merged 1 commit into from
Jun 8, 2020

Conversation

svreic
Copy link
Contributor

@svreic svreic commented Jun 8, 2020

During tests adding third party dlls to external modules we have found an issue within the loading process of the external module. This issue is responsible that under some specific circumstances the loading process of the external module crashes with an exception.

This PR resolves the possible issue by changing the filter logic of types a little bit. Now the logic tests the reflected properties before the Type.isAssignableFrom method is called. This prevents that Type.isAssignableFrom is called for invalid types (e.g. abstract types etc.).

@sbwalker sbwalker merged commit ef5ae77 into oqtane:master Jun 8, 2020
@svreic svreic deleted the FixingGetInstances branch June 9, 2020 07:22
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.

2 participants