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

easye/classloader-abstractions/20230305a #548

Closed

Conversation

easye
Copy link
Collaborator

@easye easye commented Feb 6, 2023

WITH-CLASSLOADER macro for setting the context classloader.

Should work, but is "IN-PROGRESS" for suggestions.

THREADS:CURRENT-THREAD returns the currently executing Lisp thread,
but there didn't seem to be an easy way to programatically retrieve
that value.
The WITH-CLASSLOADER macro will set the context classloader to that of
the provided THREAD-CONTEXT.  The CLASSLOADER function returns the
default classloader or that associated with a specified JAVA-OBJECT.
The CONTEXT-CLASSLOADER function returns the context classloader
associated with a JAVA-THREAD, or the currently executing thread.

TODO: make this api SETF'able?
@easye
Copy link
Collaborator Author

easye commented Feb 8, 2023

Superseded by #549

@easye easye closed this Feb 8, 2023
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.

None yet

1 participant