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

Remove wrong validation error about forbidden import of java.* packages #706

Merged
merged 1 commit into from
Aug 12, 2023

Conversation

HannesWell
Copy link
Member

java.* packages are not forbidden to import (with modular JDKs one is even encouraged to list java.* packages).
Even though this error only showed up if any imported package could not be resolved, but since it is (now) perfectly fine to import them as well, there should not be a special error message for that case. This could even cause a false positive if another package is not resolved.

@github-actions
Copy link

github-actions bot commented Aug 10, 2023

Test Results

     246 files  ±0       246 suites  ±0   54m 11s ⏱️ - 6m 12s
  3 298 tests ±0    3 274 ✔️ +2  24 💤 ±0  0 ±0 
10 191 runs  ±0  10 119 ✔️ +2  72 💤 ±0  0 ±0 

Results for commit da1488e. ± Comparison against base commit 8435fdd.

♻️ This comment has been updated with latest results.

java.* packages are not forbidden to import (with modular JDKs one is
even encouraged to list java.* packages).
Even though this error only showed up if any imported package could not
be resolved, but since it is (now) perfectly fine to import them as
well, there should not be a special error message for that case.
This could even cause a false positive if another package is not
resolved.
@HannesWell HannesWell merged commit 161d862 into eclipse-pde:master Aug 12, 2023
14 checks passed
@HannesWell HannesWell deleted the removeJavaImportError branch August 12, 2023 17:44
@HannesWell HannesWell added this to the 4.29 M3 milestone Aug 20, 2023
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.

1 participant