Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DROOLS-1062 Reproducer for regression of ProjectClassLoader.getResources(). #643

Conversation

ge0ffrey
Copy link
Contributor

Does not include fix, only reproducer.

@ge0ffrey
Copy link
Contributor Author

Note that this PR is failing because it contains a reproducer for the regression but not a fix.
The regression blocks PLANNER-522 which in turn blocks some of the optaplanner-wb work.

@ge0ffrey ge0ffrey changed the title Reproducer for regression of ProjectClassLoader.getResources(). DROOLS-1062 Reproducer for regression of ProjectClassLoader.getResources(). Feb 12, 2016
KieContainer kieContainer = kieServices.newKieContainer(releaseId);

ClassLoader classLoader = kieContainer.getClassLoader();
assertEnumerationSize(2, classLoader.getResources("org/drools/testdrl"));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This size should expect 1 instead of 2 (see screenshot of https://issues.jboss.org/browse/DROOLS-1062 for reason).
Currently it fails because the size is actually 0.

@psiroky
Copy link
Contributor

psiroky commented Feb 12, 2016

@mariofusco, @ge0ffrey I found the issue and a way to fix it. I will create a new PR with this test (fixed) and the proposed fix.

@psiroky
Copy link
Contributor

psiroky commented Feb 13, 2016

I've created #644 which contains this reproducer + proposed fix. I believe this PR could be closed now.

@mariofusco
Copy link
Contributor

Merged by 55d6445e1

@mariofusco mariofusco closed this Feb 15, 2016
dupliaka pushed a commit to dupliaka/drools that referenced this pull request Apr 1, 2022
Signed-off-by: Ricardo Zanini <zanini@redhat.com>
cimbalek pushed a commit to cimbalek/incubator-kie-drools that referenced this pull request Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants