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

BshClassLoader exception improvement #2

Open
wants to merge 1 commit into
base: master-seeburger
Choose a base branch
from

Conversation

ecki
Copy link
Member

@ecki ecki commented Feb 7, 2024

Fix typo and missing info in ClassNotFoundException.

Fix typo and missing info in ClassNotFoundException.
@ecki
Copy link
Member Author

ecki commented Feb 7, 2024

@MrEasy
Copy link
Member

MrEasy commented Feb 7, 2024

or we remove the catch like upstream? https://github.com/beanshell/beanshell/blob/2ffb8046ac3ff34f0ad53decd4c98df06c8ff419/src/main/java/bsh/classpath/BshClassLoader.java#L107

Simpler and exc. will contain the same information (classname). So I'd go with that.

@ecki
Copy link
Member Author

ecki commented Feb 8, 2024

ok will change it, upstream, also has a special handling for java.* maybe we use that as well. (I am not sure if we should replace the whole java file - i will check the diff)

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

Successfully merging this pull request may close these issues.

2 participants