Bug 540412 - Skip jdk.internal.reflect.DelegatingClassLoader when load time weaving
Summary: Skip jdk.internal.reflect.DelegatingClassLoader when load time weaving
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.9.2   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 1.9.2   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-23 19:52 EDT by Andrew Clement CLA
Modified: 2018-10-23 19:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Clement CLA 2018-10-23 19:52:36 EDT
The weaver is engineered to skip attaching weavers to a classloader whose name is sun.reflect.DelegatingClassLoader. With Java 11 it looks to have changed name, so we should also skip jdk.internal.reflect.DelegatingClassLoader.  Found whilst testing, starting the gs-rest-service spring boot guide with a simple aspect. If you don't skip those you create 46 weavers, if you do skip them you create only 3. (Found after digging into reports by Lubo Pecho on the mailing list)
Comment 1 Andrew Clement CLA 2018-10-23 19:52:52 EDT
fixed