Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Include possibility of covering of boot-classpath #49
Many projects are runnig some of theirs parts in boot classapth for various reasons.
I think it is worthy to include possibility to cover also bootclassapth, however with strong documentation (as some parts, eg jacoco or java.lang must be excluded otherwise fatal error or endless loop occure )and especially with "use on your own risk" :)
For my own purposes I have added this behaviour to jacoco -
I think this improvement can be fast-done one and will bring enormous benefits. From above proof-of-concept i can confirm it is working, as I have successfully covered several Xbootclassapth misusing projects.
This was referenced
Nov 27, 2012
This feature - implemented as mentioned here http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20121127/ba8f6a1e/xboot-0001.patch - is now used by icedtea webin daily build and coverage of bootclasses is working pretty fine.
I would like to point out that some classes have to be excluded. Eg icedtea-web run have this restrictions:
Imho It is really important to mention that many classes must be excluded form processing: eg jacoco:java.lang.:java.reflect.:java.util.:sun.reflect. are imho enough, But one may need to make more precise exclusion.
Loking forward to have this interesting feature in head!
Best regards and tahnk you for your amazing work!
This issue is old, provided with full patch - http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20121127/ba8f6a1e/xboot.patch - and still wonted. I need to recompile jacoco on my own after every update (yours or one of depndences)
If you give me access, I will merge it to trunk. Otherwise, please, can we move wit this?
I have checked a changeset and it looks ok. (I have no yet tried an build)
Just for curiosity - when is planned next release?
Thank yu very much!
Mgr. Jiri Vanek
---------- Původní zpráva ----------