cardamon commented on pull request #71: URL: https://github.com/apache/commons-logging/pull/71#issuecomment-1005737885
I copied and slightly modified (for lower Java version, no Guava) the util https://github.com/apache/logging-log4j2/blob/c47e98423b461731f7791fcb9ea1079cd451f365/log4j-core/src/test/java/org/apache/logging/log4j/core/GarbageCollectionHelper.java and used it in a newly created test case. This indeed works. Unfortunately I had to use reflection to obtain the `thisClassLoaderRef` field from the class. I don't have a quick solution for that... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
