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

ReflectObject: Get Object from Intrep by RefID #30

Open
morris821028 opened this issue Nov 23, 2020 · 0 comments
Open

ReflectObject: Get Object from Intrep by RefID #30

morris821028 opened this issue Nov 23, 2020 · 0 comments

Comments

@morris821028
Copy link

Hi,

I found the refID of ReflectObject is as a key in tcl variable set.

When I fetch the java object from command, and passing them into a function which have variable arguments. It will use ReflectObject::toString, and express like java0x?? in string type.

set dbo [get_object];
change_name dbo -name "new_name";

proc change_name_dbo {args} {
# args = {java0x01 -name "new_name"};
# How do I get the java object from string `java0x01`;
}

If I use wrong way, please correct me.

Thanks.

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

No branches or pull requests

1 participant