[jboss-jira] [JBoss JIRA] (DROOLS-2598) PMML - Test GuidedScoreCardIntegrationJavaClassesOnClassPathTest.testIncrementalCompilation fails on Windows or MacOS
Tibor Zimányi (JIRA)
issues at jboss.org
Tue Jun 26 10:04:00 EDT 2018
[ https://issues.jboss.org/browse/DROOLS-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13597135#comment-13597135 ]
Tibor Zimányi commented on DROOLS-2598:
---------------------------------------
It was just a coincidence that it worked on Linux. See here [1]. On Linux, the class was not loaded in the build for the first version. However when run on Mac or Windows, the classloading is forced. So the fix with reinitializing the classloader before storing classes is good I think. The PR with the fix is here: https://github.com/kiegroup/drools/pull/1963
[1] https://github.com/baldimir/drools/blob/master/drools-compiler/src/main/java/org/drools/compiler/commons/jci/compilers/EclipseJavaCompiler.java#L266
> PMML - Test GuidedScoreCardIntegrationJavaClassesOnClassPathTest.testIncrementalCompilation fails on Windows or MacOS
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-2598
> URL: https://issues.jboss.org/browse/DROOLS-2598
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.7.0.Final
> Reporter: Tibor Zimányi
> Assignee: Lance Leverich
>
> When I run the test GuidedScoreCardIntegrationJavaClassesOnClassPathTest.testIncrementalCompilation [1] on Windows or Mac, it fails. However the test passes on Linux. That implies that something is wrong with incremental compilation with PMML resources when run on case non-sensitive systems.
> [1] https://github.com/kiegroup/drools/blob/36eccb8a33550eb2049255f058fe016c6a1fa2f7/drools-workbench-models/drools-workbench-models-guided-scorecard/src/test/java/org/drools/workbench/models/guided/scorecard/backend/test1/GuidedScoreCardIntegrationJavaClassesOnClassPathTest.java#L76
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list