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

Removal of unnecessary build dependency to address security exceptions #1365

Merged
merged 3 commits into from
Sep 15, 2022

Conversation

cmnrd
Copy link
Collaborator

@cmnrd cmnrd commented Sep 15, 2022

This fixes #1363 (at least locally on my machine, let's wait for CI). I think the issue is that org.eclipse.core.runtime had a conflicting version. Interestingly, it seems to work fine if we just remove our own version specification and let gradle resolve the dependency from xtext.

I am not sure if we would also need to make a similar change in the Maven configuration.

This fixes #1363

@cmnrd cmnrd added gradle Issues regarding Gradle build configuration bugfix labels Sep 15, 2022
Copy link
Collaborator

@petervdonovan petervdonovan left a comment

Choose a reason for hiding this comment

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

TimeLimit.lf timed out for Python, but I'm inclined to ignore it. It is possible that we do not need that test anymore.

Count3Modes.lf timed out for C. That test has some delays in it. I suspect that this timeout can also be safely ignored.

I do not understand why this works, but I'm thankful that it does. It fixes things on my machine as well.

Copy link
Member

@lhstrh lhstrh left a comment

Choose a reason for hiding this comment

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

Thanks for diagnosing what the problem was in the first place! I took your solution and applied it also to the Maven and Eclipse/OSGi configuration.

@lhstrh lhstrh changed the title Fix SecurityExceptions in our tests Removal of unnecessary build dependency to address security exceptions Sep 15, 2022
@lhstrh lhstrh merged commit e1c433c into master Sep 15, 2022
@lhstrh lhstrh deleted the gradle-fix branch September 15, 2022 21:26
@cmnrd
Copy link
Collaborator Author

cmnrd commented Sep 19, 2022

I also don't fully understand why this works. It was more like a lucky shot :) I read hear that org.eclipse.core.runtime is supplanted by Equinox and just tried to remove it.

@lhstrh
Copy link
Member

lhstrh commented Sep 19, 2022

🤷‍♂️

@petervdonovan petervdonovan added exclude Exclude from change log build system refactoring Code quality enhancement and removed exclude Exclude from change log bugfix labels Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build system gradle Issues regarding Gradle build configuration refactoring Code quality enhancement
Projects
None yet
3 participants