-
-
Notifications
You must be signed in to change notification settings - Fork 352
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
add support for Java 15 #3605
Comments
For more details read https://www.oracle.com/java/technologies/javase/15-relnote-issues.html |
Going through the above release notes, I could identify the following changes that will need to be incorporated into Spoon: Preview features: I think that preview and second preview will not need to be incorporated. Is that right? |
I would say yes, it's not needed for now. |
Looking at the current jdt version 3.23 we cant implement any feature expect java 14 record preview. Is there a way to use a nighty/weekly version of jdt? Otherwise we would need to wait for the next release. And we really should add some test cases for textblocks. After a first look they are working, but maybe some tests wouldn't harm. |
As mentioned in #3627 (comment), need to work on a way to preserve the origin of a string as either a textblock or a single qoute string in Java. |
FTR #3627 is one important step for this issue. What remains to be done is pretty-printing of text blocks. |
Looking at the printing problem, i see 2 potential solutions. Either create a flag in Literal |
Hey, I have been taking a look at this. Was going through the relevant source code. I think creating a class extending Literal would be more general? But that would break the existing pattern followed by Literal. My thought was to go ahead with extending the class and likewise in the future creating other classes for various types of literals like numeric and singly qouted strings. |
Agree, extending CtLiteral seems a better option.
|
I would prefer the KISS solution and create only |
See feature list at https://openjdk.java.net/projects/jdk/15/
The text was updated successfully, but these errors were encountered: