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

Canonical string for reference type is built incorrectly #2109

Closed
svarzee opened this issue Aug 14, 2018 · 1 comment
Closed

Canonical string for reference type is built incorrectly #2109

svarzee opened this issue Aug 14, 2018 · 1 comment
Milestone

Comments

@svarzee
Copy link

svarzee commented Aug 14, 2018

Canonical string for reference type is built incorrectly.
E.g.:
new ReferenceType(new TypeFactory(new LRUMap<Object, JavaType>(0, 10000)).constructType(Object.class), new PlaceholderForType(0)).toCanonical()
yields:
java.lang.Object<$1
while the expected value is:
java.lang.Object<$1>

@cowtowncoder
Copy link
Member

Thank you for reporting this and pointing out the fix!
I had to manually merge this just for ease of backporting (will be in 2.8/2.9/2.10/3.x), but fix is the suggested one.

@cowtowncoder cowtowncoder added this to the 2.9.7 milestone Aug 15, 2018
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

2 participants