Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Detect not matching classes and warn/provide workaround #74

Open
mickaelistria opened this issue Jan 8, 2014 · 1 comment
Open

Detect not matching classes and warn/provide workaround #74

mickaelistria opened this issue Jan 8, 2014 · 1 comment

Comments

@mickaelistria
Copy link

When importing a report with class that don't match the ones created by JDT (same class, but different from runtime version because of pack200, ascpectJ or whatever that modified the class), then EclEmma should detect that classes as provided by JDT and as expected by report don't match.
It should open a warning to explain the issue, which is difficult to guess, and ideally allow choosing some other class and jar files to generate reports. So user would be able to give to EclEmma the files classes that were used at runtime, and EclEmma would use them instead of JDT ones.

@marchof
Copy link
Member

marchof commented Jan 9, 2014

The same situation can also happen when running tests within Eclipse e.g. when certain mocking tools are used. Also in this case a warning should be issued.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants