eclipse-aspectj / aspectj

Other
272 stars 82 forks source link

fix NPE when using LTW cache; fix TODO in SimpleCache#getAndInitialize #286

Closed KimmingLau closed 4 months ago

KimmingLau commented 4 months ago

1.write SAME_BYTES to cacheMap when wovenbytes is null
2.fix TODO in SimpleCache#getAndInitialize, use Optional to help indicating case in which Hit cache but need to return null

kriegaex commented 4 months ago

Why did you close the PR? Your fix has neither been reviewed nor merged.

KimmingLau commented 4 months ago

Sorry for that I found I missed a commit, and I've created an other PR

kriegaex commented 4 months ago

Oh sorry, I was confused, only briefly opening my messages on the road.

Next time, please simply commit on top of the existing PR, or even force-push broken commits. No need to start over. 🙂

KimmingLau commented 4 months ago

Ok, I see