Closed yohlulz closed 5 years ago
@yohlulz -Thanks for the diffs! I could apply these myself. However, if you fork this repository and submit a PR, I'll be happy to merge the changes and publish a new release. That way, you get the contribution credit. Your choice... let me know.
@yohlulz - By the way, how did you find this project?
@yohlulz - I just did a bit of digging, and the name of that Byte Buddy method changed from ofClassPath
to ofSystemLoader
. I think this is the one to use.
https://github.com/raphw/byte-buddy/commit/8cc6f79e36de51b41aad0ba8043c3cdfe603f03f
Another option would be to avoid the version-specific compatibility problem with reflection. Not my first choice, but it certainly wouldn't be the only reflection code in this library.
I found this cool project while searching for a way to enforce a timeout for each unit test in a rather large code base. Submitted a pull request for it #20
@yohlulz Thanks! I've made substantial changes over the last month, based on insights gained from the Report Portal project. I re-implemented the JUnit 4 agent and discovered I hadn't properly handled parameterized tests or parallel execution. I think I have both of these working now, and I'm very happy with the improvements.
Hi there,
First of all, nice work with this tool.
I tried running it against some Java 11 compiled code (using gradle) but encountered some issues:
5.0-rc-1
1.9.3
6.1.4
From a quick look over the bytebuddy changes I found this one: https://github.com/raphw/byte-buddy/commit/8cc6f79e36de51b41aad0ba8043c3cdfe603f03f#diff-6e2e25e8562b392b2b4f72c4648289bd
Tried a quick fix locally (I can do a PR if needed as well) upgrade_bytebuddy.txt
Regards, Ovidiu