Skip to content

Fix JavaModelException with non-Java projects - #1188

Merged
BoykoAlex merged 1 commit into
spring-projects:mainfrom
brianvfernandes:JME-fix
Feb 16, 2024
Merged

BoykoAlex merged 1 commit into
spring-projects:mainfrom
brianvfernandes:JME-fix

Conversation

@brianvfernandes

Copy link
Copy Markdown
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
Copy Markdown

@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
Copy Markdown

@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
Copy Markdown
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
@BoykoAlex

Copy link
Copy Markdown
Contributor

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

@brianvfernandes

Copy link
Copy Markdown
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