-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.RuntimeException: Class java/util/UUID could not be instrumented #106
java.lang.RuntimeException: Class java/util/UUID could not be instrumented #106
Comments
By default we don't include any package in the exclude option. We only have, by default, an includes pattern that is computed in https://github.com/SpoonLabs/flacoco/blob/609b42ef074ce90f8b47aeff225c2a918dc0d038/src/main/java/fr/spoonlabs/flacoco/core/coverage/framework/TestFrameworkStrategy.java#L88-L101 In the case of astor, there is an option which overrides the includes called We can, however, add I opened it in astor so as not to pollute flacoco's defaults, but if you think we should have it as default for flacoco that's possible too. As it is, the include pattern should be enough if well configured. |
if you think we should have it as default for flacoco that's possible too
sounds like a good safe default to me, WDYT?
|
The problem is still there, see https://ci.inria.fr/sos/job/astor/1068/display/redirect?page=changes Is the exclude well propagated? |
Hi @monperrus, My bad, I didn't read the entire log. It seems to me that the issue isn't in flacoco actually, but with the jacoco agent that runs on astor (for code coverage only). If it where to be in flacoco then we would see that some test had begun, which is not the case. I would suggest the following:
|
What about PRing on Astor also? |
WDYM? That PR was on Astor, and has already been merged by Matias today. |
my bad. this problem seems solved, now we're running into another one, see SpoonLabs/astor#338 |
On Oracle JDK 11, Astor fails with
Class java/util/UUID could not be instrumented
.Reference: https://ci.inria.fr/sos/job/astor/1067/
Is there a way to exclude java.* from being instrumented?
The text was updated successfully, but these errors were encountered: