[GRADLE-3468] Plugin cannot parse XML using JAXP when run on java 6 from testkit in debug mode Created: 02/Jun/16  Updated: 02/Jun/16  Resolved: 02/Jun/16

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Sterling Greene Assignee: Unassigned
Resolution: Won't Fix Votes: 0


 Description   

When using the embedded executer (testkit in debug mode), builds run with a different classloader structure which can prevent JAXP from loading the XML parser implementation

See test https://github.com/gradle/gradle/blob/b4aecead9bf0e3ca64b35cba4a84be9f391df151/subprojects/integ-test/src/integTest/groovy/org/gradle/integtests/plugins/ExternalPluginsIntegrationSpec.groovy#L203-L203



 Comments   
Comment by Adam Murdoch [ 02/Jun/16 ]

Also only affects those plugins that create ClassLoader structures whose parent/ancestor is not the ClassLoader of the plugin.

Generated at Wed Jun 30 12:49:35 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.