Comments (9)
Proposed to target 23 (as per JSR 398 (Java SE 23) JEP Dashboard):
- JEP 477: Implicitly Declared Classes and Instance Main Methods (Third Preview)
- with child JLS Changes for Implicitly Declared Classes and Instance Main Methods (Third Preview) (no details yet)
from eclipse.jdt.core.
Proposed to target 23 (see https://mail.openjdk.org/pipermail/java-se-spec-experts/2024-May/000376.html):
- JEP 482: Flexible Constructor Bodies (Second Preview)
- with child JLS changes for Flexible Constructor Bodies (Second Preview) (no details yet)
- specification changes found here: https://cr.openjdk.org/~gbierman/jep482/latest
from eclipse.jdt.core.
Should ecj follow the behavior change proposed in Proposal to change default annotation processing policy in JDK 23? I.e., change the default to -proc:none
?
- see also #2347
from eclipse.jdt.core.
Should ecj follow the behavior change proposed in Proposal to change default annotation processing policy in JDK 23? I.e., change the default to
-proc:none
?* see also [Add -proc:full to batch compiler #2347](https://github.com/eclipse-jdt/eclipse.jdt.core/issues/2347)
Personally, I am not very keen. If we come across a compelling reason in future, we can do this. For the time being, we can just add support for -proc:full
from eclipse.jdt.core.
Personally, I am not very keen. If we come across a compelling reason in future, we can do this. For the time being, we can just add support for
-proc:full
Fair enough 😄
Just for completeness, here's the reasoning from the original proposal:
This policy of implicitly running annotation processors by default may have been
reasonable when the feature was introduced in JDK 6 circa 2006, but from
a current perspective, in the interest of making build output more
robust against annotation processors unintentionally being placed on the
class path, the policy should not be the default anymore.
But since this default is not part of any specification we are free to choose (keep) our own default.
Perhaps right now, users might be badly surprised when we change the default. In the future, once users have adjusted to the change in javac, they'll probably start complaining about ecj. Let's see.
from eclipse.jdt.core.
Spec changes have reached state Public Review Draft 1, see https://mail.openjdk.org/pipermail/java-se-spec-experts/2024-July/000381.html
from eclipse.jdt.core.
Specifications have been posted for Public Review, see announcement in https://mail.openjdk.org/pipermail/java-se-spec-experts/2024-July/000384.html
None of the specifications affecting the compiler have changes after 2024-06-04
from eclipse.jdt.core.
@mpalat I think it would be easier to track progress if we close all issues without impact on JDT, no?
On my list I see a need for JDT-work only in JEP 455 and JEP 467. Am I missing any?
from eclipse.jdt.core.
@mpalat I think it would be easier to track progress if we close all issues without impact on JDT, no?
@stephan-herrmann Agree.. the idea is to someone to investigate each of the JEPs listed so that we don't miss out atleast knowing that there is change/no change. Hence I keep listing all the JEPs release after release. Yes, it makes sense if we investigate some of the issues which are not relevant. I will also take up some.
On my list I see a need for JDT-work only in JEP 455 and JEP 467. Am I missing any?
Mostly yes. Additionally, JSR 398 - no issue created yet - only a placeholder - will also need to be investigated.
from eclipse.jdt.core.
Related Issues (20)
- [Sealed Types] Strange error from ECJ: Syntax error on token "permits", permits expected HOT 12
- JDT Core throws ClassCastException: NullTypeBinding cannot be cast to class ArrayBinding HOT 4
- Bug 533327 - [9] Implement JEP 211 HOT 2
- ClasspathMultiReleaseJar no longer finds non module-info class files
- Statically importing a class confuses ECJ HOT 1
- Clean build: SourceFile(s) read twice HOT 20
- In some nestings, autocomplete stops working
- ArrayIndexOutOfBoundsException in org.eclipse.jdt.internal.compiler.parser.Scanner.internalScanIdentifierOrKeyword HOT 5
- [Sealed types] ECJ allows a class to be declared as both sealed and non-sealed HOT 4
- Error in JDT Core during AST creation when using exhaustive switch statement and @NotNull HOT 1
- [Sealed types] Disjointness behavior difference vis a vis javac HOT 2
- [Sealed types + switch expression] Internal inconsistency warning at compile time and verify error at runtime HOT 5
- ClasspathTests / JavaModelTests seem to be unstable HOT 1
- [Switch expression + Sealed Types] Suspect diagnostic about switch expression being inexhaustive HOT 2
- [Sealed Types + Enhanced Switch] Incorrect diagnostic about switch not being exhaustive
- Switch pattern matching accepts invalid case HOT 9
- Bug 466406 - [compile] valid final variable causes eclipse compilation error when set via multiple catch blocks HOT 1
- Systematic maintenance of jclMinX.jar and .src.zip
- Null secondary annotations not recognized anymore HOT 6
- org.eclipse.jdt.compiler.apt.tests.Java9ElementsTests has failing tests when run on Java 23 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eclipse.jdt.core.