Skip to content

Conversation

@jeanouii
Copy link
Contributor

@jeanouii jeanouii commented May 9, 2025

No description provided.

public AnnotationTypeKey(final AnnotatedType<T> annotatedType)
{
Asserts.assertNotNull(annotatedType, "annotatedType");
this.annotatedType = annotatedType;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'd cache (=precompute in the constructor) the hashcode as in beancachekey since it is hash structure oriented

public void testEnsureOneProxyPerAT()
{
// we take a fresh URLClassLoader to not blur the test classpath with synthetic classes.
ClassLoader classLoader = new URLClassLoader(new URL[0]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try()?

return true;
}

if (annotatedType.getJavaClass() == at.getJavaClass())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

think it is not sufficient, misses annotations and other parts of the model no?

@rzo1
Copy link
Contributor

rzo1 commented Sep 22, 2025

Did went directly to main, no?

@struberg
Copy link
Member

struberg commented Oct 1, 2025

I think so. fixed in #128 18f37f8

@struberg struberg closed this Oct 1, 2025
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.

4 participants