-
Notifications
You must be signed in to change notification settings - Fork 65
fix(#OWB-1450): Interceptor proxy memory leak #128
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
Conversation
| public AnnotationTypeKey(final AnnotatedType<T> annotatedType) | ||
| { | ||
| Asserts.assertNotNull(annotatedType, "annotatedType"); | ||
| this.annotatedType = annotatedType; |
There was a problem hiding this comment.
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]); |
There was a problem hiding this comment.
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()) |
There was a problem hiding this comment.
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?
|
Did went directly to main, no? |
No description provided.