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

Fix JavaModelException with non-Java projects #1188

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

brianvfernandes
Copy link
Contributor

Added a check that the JDT project uses to confirm the project is a Java project. JavaCore#create will return an object even if the project isn't a Java project and is therefore insufficient. Bring up the context menu on non Java projects to the see the JME logged without this fix (possibly other repercussions as well).

Added a check that the JDT project uses to confirm the project is a Java
project. JavaCore#create will return an object even if the project isn't
a Java project and is therefore insufficient. Bring up the context menu
on non Java projects to the see the JME logged without this fix
(possibly other repercussions as well).
@pivotal-cla
Copy link

@brianvfernandes Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-cla
Copy link

@brianvfernandes Thank you for signing the Contributor License Agreement!

@martinlippert martinlippert added this to the 4.22.0.RELEASE milestone Feb 12, 2024
@martinlippert martinlippert added type: bug for: eclipse something that is specific for Eclipse labels Feb 12, 2024
@martinlippert
Copy link
Member

Thanks a lot @brianvfernandes for raising this and for submitting a PR. Looks good to me. Let's see what @BoykoAlex things before we get things merged here.

@BoykoAlex BoykoAlex merged commit 9011e04 into spring-projects:main Feb 16, 2024
1 check passed
@BoykoAlex
Copy link
Contributor

Yes, agree completely. Thanks for the PR @brianvfernandes !

@brianvfernandes
Copy link
Contributor Author

Happy to have contributed! Appreciate the prompt merge - looking forward to the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: eclipse something that is specific for Eclipse type: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants