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
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@alanruttenberg
Collaborator

alanruttenberg commented Jun 15, 2017

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.

New macro e.g. (with-class-lookup-disambiguated (lang.object) (find-j…
…ava-class 'object)) -> success (otherwise error: ambiguous)

easye pushed a commit that referenced this pull request Jun 17, 2017

mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f
jss: new macro WITH-CLASS-LOOKUP-DISAMBIGUATED
(Alan Ruttenberg)

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

From <#57>.

Merges
<5103d57>.
@easye

This comment has been minimized.

Show comment
Hide comment
@easye

easye Jun 17, 2017

Collaborator

Merged with 5713935 and 5713935.

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

mevenson
jss: new macro WITH-CLASS-LOOKUP-DISAMBIGUATED
(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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment