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

UIMA-6367: JCas cover annotation created in PEAR context replaced during index operations #126

Conversation

pkluegl
Copy link
Member

@pkluegl pkluegl commented May 27, 2021

  • fixed trampoline map
  • added test that checks annotation instance in mocked pear context

@pkluegl pkluegl added this to the 3.3.0 milestone May 27, 2021
@pkluegl pkluegl requested a review from reckart May 27, 2021 09:38
@pkluegl pkluegl self-assigned this May 27, 2021
@pkluegl pkluegl changed the title UIMA-6367: JCas cover annotation created in PEAR context replaced duing index operations UIMA-6367: JCas cover annotation created in PEAR context replaced during index operations May 27, 2021
@reckart
Copy link
Member

reckart commented May 27, 2021

It is great that we have the test and the fix, but the test name is not self-explanatory and the test has no JavaDoc. We should add a properly explanatory JavaDoc to this test, otherwise if it at some point breaks, it takes ages until somebody understands the scenario that is tested here.

…ing index operations

- fixed trampoline map
- added test that checks annotation instance in mocked pear context
@reckart reckart force-pushed the bugfix/UIMA-6367-JCas-cover-annotation-created-in-PEAR-context-replaced-during-index-operations branch from ebe476b to e3f24b1 Compare June 2, 2021 06:46
@reckart reckart changed the base branch from main to maintenance/3.2.x June 2, 2021 06:46
@reckart reckart added the 🦟 Bug Something isn't working label Jun 2, 2021
@reckart reckart modified the milestones: 3.3.0, 3.2.1 Jun 2, 2021
@reckart reckart force-pushed the bugfix/UIMA-6367-JCas-cover-annotation-created-in-PEAR-context-replaced-during-index-operations branch from e3f24b1 to 7b42ef4 Compare June 2, 2021 14:29
…ing index operations

- Improve test
- Add a debug message if CAS switchClassLoader is called with a non UimaClassLoader because the UimaClassLoader has special magic without which the FS generators may create JCas wrappers from the wrong classloader (i.e. not the swiched classloader but the app classloader)
@reckart reckart merged commit 0464607 into maintenance/3.2.x Jun 3, 2021
@reckart reckart deleted the bugfix/UIMA-6367-JCas-cover-annotation-created-in-PEAR-context-replaced-during-index-operations branch June 3, 2021 06:45
@reckart reckart modified the milestones: 3.2.1, 3.3.0 May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦟 Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants