Skip to content

BshClassLoader exception improvement#2

Open
ecki wants to merge 1 commit into
master-seeburgerfrom
ecki-patch-1
Open

BshClassLoader exception improvement#2
ecki wants to merge 1 commit into
master-seeburgerfrom
ecki-patch-1

Conversation

@ecki

@ecki ecki commented Feb 7, 2024

Copy link
Copy Markdown
Member

Fix typo and missing info in ClassNotFoundException.

Fix typo and missing info in ClassNotFoundException.
@ecki

ecki commented Feb 7, 2024

Copy link
Copy Markdown
Member Author

@MrEasy

MrEasy commented Feb 7, 2024

Copy link
Copy Markdown
Member

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

ecki commented Feb 8, 2024

Copy link
Copy Markdown
Member Author

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