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/abcl-asdf/set-context-classloader/20230508a #549

Conversation

easye
Copy link
Collaborator

@easye easye commented Feb 8, 2023

supersedes #548

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 CLASSLOADER, or use the default ABCL classloader if
specfied with no argument.

The CLASSLOADER function returns the default classloader or that
associated with a specified JAVA-OBJECT, or the default ABCL
classloader if no JAVA-OBJECT is given

The CONTEXT-CLASSLOADER function returns the context classloader
associated with a JAVA-THREAD, or the currently executing thread if no
JAVA-THREAD is specified.  The CONTEXT-CLASSLOADER is a SETF'able
place.
@easye easye force-pushed the easye/abcl-asdf/set-context-classloader/20230508a branch from 98e7045 to d6fc3e2 Compare February 8, 2023 16:33
@easye easye merged commit ab3912a into armedbear:master 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