-
Notifications
You must be signed in to change notification settings - Fork 130
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
[javac] some differences ecj <-> javac regarding 'recent' features #2959
Comments
+ fix arguments of javac invocations + remove a forgotten test filter relates to eclipse-jdt#2959
+ fix arguments of javac invocations + remove a forgotten test filter relates to eclipse-jdt#2959
The class has been renamed to SwitchPatternTest22. @srikanth-sankaran are those differences of interest for your current work? testInternalDomination_this()
testNaming():
Test case has this comment "javac jdk21 allows components to be named, but they can't be referenced". When those are clarified, we can accept this test class into the paradise of successful run.javac comparison :) |
After #3218 also SwitchPatternTest is on the home stretch with just three test cases where javac reports errors which ecj doesn't see:
And then the errors from #3009 look similar:
|
After first successful builds I have set https://ci.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-23/ to run weekly (on weekends) Currently these test classes have opted in:
More classes will be admitted once they are green in run.javac mode. |
Thanks a lot for doing this! In my first innings as well, I never seem to have paid close attention (scratch that, any attention) to this capability. In fact I seem to have invented a completely new mechanism that is a lot less sophisticated, see This is useful and I can participate in contributing and maintaining this in 2025 - after my reviews of Java 10-23 are over. |
While taking stock of
run.javac
test results regarding Java 23 I observed the following differences which might be within reach for resolution:@see
reference* testInternalDomination_this() (ecj no error, javac 2 errors)
* testNaming() // javac jdk21 allows components to be named, but they can't be referenced
The text was updated successfully, but these errors were encountered: