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

New macro with-class-lookup-disambiguated #57

Closed

Conversation

alanruttenberg
Copy link
Collaborator

Suppose you have code that references class using the symbol 'object, and this is ambiguous. java.lang.Object or org.omg.CORBA.Object. Use
(with-class-lookup-disambiguated (lang.object) ...)
Within dynamic scope, find-java-class first sees if any of these match, and if so uses them to lookup the class.

…ava-class 'object)) -> success (otherwise error: ambiguous)
easye pushed a commit that referenced this pull request Jun 17, 2017
(Alan Ruttenberg)

(with-class-lookup-disambiguated (lang.object) (find-java-class 'object))
    -> success (otherwise error: ambiguous)

From <#57>.

Merges
<5103d57>.
@easye
Copy link
Collaborator

easye commented Jun 17, 2017

Merged with 5713935 and 5713935.

@easye easye closed this Jun 17, 2017
svn2github pushed a commit to svn2github/abcl that referenced this pull request Jun 17, 2017
(Alan Ruttenberg)

(with-class-lookup-disambiguated (lang.object) (find-java-class 'object))
    -> success (otherwise error: ambiguous)

From <armedbear/abcl#57>.

Merges
<armedbear/abcl@5103d57>.

git-svn-id: http://abcl.org/svn@15086 1c010e3e-69d0-11dd-93a8-456734b0d56f
slyrus pushed a commit to slyrus/abcl that referenced this pull request Nov 16, 2019
(Alan Ruttenberg)

(with-class-lookup-disambiguated (lang.object) (find-java-class 'object))
    -> success (otherwise error: ambiguous)

From <armedbear/abcl#57>.

Merges
<armedbear/abcl@5103d57>.

git-svn-id: http://abcl.org/svn/trunk/abcl@15086 1c010e3e-69d0-11dd-93a8-456734b0d56f
@alanruttenberg alanruttenberg deleted the class-lookup-override branch January 29, 2022 02:08
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