Add support for com.github.ben-manes.caffeine:caffeine:2.9.3#388
Conversation
455d961 to
2c46b03
Compare
linghengqian
left a comment
There was a problem hiding this comment.
- An useless JSON was removed at linghengqian-scratches/graalvm-trace-metadata-smoketest@f1ec6a2 . However, if we remove the following JSON entries involving
java.**, it will cause nativeTest to hang, so it must be retained. I haven't seen room for improvement yet.
{
"condition":{"typeReachable":"com.github.benmanes.caffeine.cache.StripedBuffer"},
"name":"java.lang.Thread",
"fields":[{"name":"threadLocalRandomProbe"}]
}2c46b03 to
143c4bd
Compare
143c4bd to
b12db26
Compare
b12db26 to
86c3fae
Compare
|
I will review this PR in the coming weeks. |
I am a bit concerned about the |
|
86c3fae to
13ebb50
Compare
|
Thanks for the explanation. An argument might be that this is trivial code that anyone would write like this (using the documentation quoted by you). However, this was ~30 LOC, so this argument legally will be on very thin ice. A judge would maybe see that you copied the file from somewhere, removed the comments, and changed the license. We could not accept a contribution like that.
Ok, thanks. In the remaining code, I see no problem any more. I assume all the remaining tests were written by yourself? |
|
|
It is fine if you already contributed the code somewhere else; if it is YOUR code, that YOU wrote, you can also contribute it here. That's what I assume is the case here. If you can confirm that, I think this is resolved. @dnestoro will still check the functionality of the PR as usual Thanks for improving this. |
|
@linghengqian in general the PR looks fine. For future PRs make sure that you only ever add the minimal amount tests needed to verify the metadata your PR adds. The use of tests in the metadata repository is not to cover all possible features of the library but to exercise the code paths in the library that wouldn't work without the metadata your PR adds. |
7a956b2 to
700c88a
Compare
linghengqian
left a comment
There was a problem hiding this comment.
- All reviews have been processed.
700c88a to
84e0a8f
Compare
What does this PR do?
com.github.ben-manes.caffeine:caffeine:2.9.3#384 .com.github.ben-manes.caffeine:caffeine:2.9.3.2.9.3and3.1.2are quite inconsistent.Code sections where the PR accesses files, network, docker or some external service
(example link to code section)
Null.
Checklist before merging