JEP 378- Text Blocks enhancements added#322
Merged
AloisSeckar merged 3 commits intoAloisSeckar:masterfrom Oct 29, 2025
Merged
Conversation
Closed
5 tasks
AloisSeckar
requested changes
Oct 29, 2025
Owner
AloisSeckar
left a comment
There was a problem hiding this comment.
Hi @SanjanaMahapatra and thank you for your contribution. I see two things to change and one to check and maybe change. Please, have a look.
src/main/java/org/javademos/java13/jep355/TextBlockFirstPreviewDemo.java
Outdated
Show resolved
Hide resolved
src/main/java/org/javademos/java14/jep368/TextBlockSecondPreviewDemo.java
Outdated
Show resolved
Hide resolved
Contributor
Author
|
Hi @AloisSeckar , please find the commit id for the changes which you have requested. |
AloisSeckar
approved these changes
Oct 29, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the enhancement added for the JEP 378- Text Block which was assigned.
Implemented demo for JEP 378 - Text Blocks (Java 15), along with linking classes for the preview versions in Java 14 (JEP 368) and Java 13 (JEP 355).
Java 15 - JEP 378: Created TextBlockDemo.java and added some more examples showcasing the use case of text blocks. And removed the file from the java17 folder.
Linking Classes List -
Resources Folder -
Registered all demos in respective Java13DemoLoader, Java14DemoLoader, Java15DemoLoader classes
Updated the JEPInfo.java and updated the list of sources to add JDK 13 to their list.