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

Verify why an ArrayList reports value as HashMap$Node as results of iteration #121

Closed
masesdevelopers opened this issue Feb 8, 2023 · 0 comments · Fixed by #146
Closed
Assignees
Labels
bug Something isn't working JNet JNet related issue

Comments

@masesdevelopers
Copy link
Contributor

The following line of code

var list = ((Collection<string>)alist).ToList(); // Raise an exception because iterator returns java/util/HashMap$Node which is not convertible to string

fails with an exception from JCOBridge because the data type returned from the iterator is an internal type (java.util.HashMap$Node) and not the original type which is string(java.lang.String).

@masesdevelopers masesdevelopers added bug Something isn't working JNet JNet related issue labels Feb 8, 2023
@masesdevelopers masesdevelopers self-assigned this Feb 8, 2023
masesdevelopers added a commit to masesdevelopers/JNet that referenced this issue Apr 6, 2023
masesdevelopers added a commit that referenced this issue Apr 6, 2023
… implementing Java.Lang.Iterable (#146)

* #139: creation of new IAsyncEnumerable

* #139: enumerable alignment

* #139: tested new IAsyncEnumerable

* #38: update to JCOBridge 2.5.5 solves and close #121
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working JNet JNet related issue
Projects
None yet
1 participant