Community
Participate
Working Groups
clearly define what the goal for readAspect is old byte per byte reading cause NPE in some test case current impl is hashcode for aspect name + classloader - ie unstable across startups.
for resolution by rc1...
This mechanism was added to support byte-code caching in a PoC OSGi environment. Actual aspect byte-code was use to determine when an aspect implementation had changed as well as the set of aspects affecting a particular class loader. However this approach is not sufficient to determine all the situations when a byte-code cache should be invalidated so I will change the implemtation to one that uses a sorted list of aspect names.
Created attachment 29081 [details] Fix Remove "readAspect()" method and use names instead. Have tested against my PoC that needs it.
patch integrated, thanks Matthew.