We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This code fails to compile on JDK 18 and newer:
junit4/src/main/java/org/junit/runner/Result.java
Lines 190 to 198 in cc7c500
src/main/java/org/junit/runner/Result.java:192: error: unreported exception ClassNotFoundException; must be caught or declared to be thrown fCount = (AtomicInteger) fields.get("fCount", null); ^ src/main/java/org/junit/runner/Result.java:193: error: unreported exception ClassNotFoundException; must be caught or declared to be thrown fIgnoreCount = (AtomicInteger) fields.get("fIgnoreCount", null); ^ src/main/java/org/junit/runner/Result.java:194: error: unreported exception ClassNotFoundException; must be caught or declared to be thrown assumptionFailureCount = (AtomicInteger) fields.get("assumptionFailureCount", null); ^ src/main/java/org/junit/runner/Result.java:195: error: unreported exception ClassNotFoundException; must be caught or declared to be thrown fFailures = (List<Failure>) fields.get("fFailures", null); ^
This is the corresponding JDK change: https://bugs.openjdk.java.net/browse/JDK-8276742
The text was updated successfully, but these errors were encountered:
Fix compile error on JDK 18 and later
91334d2
Resolves #1739.
1381917
0eb5ce7
marcphilipp
Successfully merging a pull request may close this issue.
This code fails to compile on JDK 18 and newer:
junit4/src/main/java/org/junit/runner/Result.java
Lines 190 to 198 in cc7c500
This is the corresponding JDK change: https://bugs.openjdk.java.net/browse/JDK-8276742
The text was updated successfully, but these errors were encountered: