[ https://jira.codehaus.org/browse/SUREFIRE-933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=315639#comment-315639 ]
Kristian Rosenvold commented on SUREFIRE-933: --------------------------------------------- Looking at this code I can't help to wonder how the current trunk implementation can *not* break parallel=classes in one vm > forkMode onceperthread broken after fix for JUnit category filter with empty > result > ----------------------------------------------------------------------------------- > > Key: SUREFIRE-933 > URL: https://jira.codehaus.org/browse/SUREFIRE-933 > Project: Maven Surefire > Issue Type: Bug > Components: Junit 4.7+ (parallel) support > Affects Versions: 2.13 > Reporter: Andreas Gudian > Assignee: Kristian Rosenvold > Fix For: 2.13 > > > In forkMode {{onceperthread}} (reusable fork), the {{TestsToRun}} object will > always be a {{LazyTestsToRun}} instance, which throws an excetpion if > {{getLocatedClasses()}} is called. The fix for SUREFIRE-839 changed > {{JUnitCoreWrapper}} and {{JUnitCoreProvider}} to call exactly that method. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira