Skip to content

JEP 378- Text Blocks enhancements added#322

Merged
AloisSeckar merged 3 commits intoAloisSeckar:masterfrom
SanjanaMahapatra:feature/JEP378
Oct 29, 2025
Merged

JEP 378- Text Blocks enhancements added#322
AloisSeckar merged 3 commits intoAloisSeckar:masterfrom
SanjanaMahapatra:feature/JEP378

Conversation

@SanjanaMahapatra
Copy link
Contributor

@SanjanaMahapatra SanjanaMahapatra commented Oct 29, 2025

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 -

  1. Java 14 - JEP 368: Created TextBlockSecondPreviewDemo.java (second preview) - Added the relevant examples.
  2. Java 13 - JEP 355: Created TextBlock.java (first preview)

Resources Folder -

  1. Updated JDK15Info.json, adding - JEP 378
  2. UpdatedJDK14Info.json, adding - JEP 368
  3. Updated JDK13Info.json, adding - JEP 355
    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.

Copy link
Owner

@AloisSeckar AloisSeckar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@AloisSeckar AloisSeckar added the changes requested The PR was checked and feedback provided. Changes must be done in order to get it accepted. label Oct 29, 2025
@SanjanaMahapatra
Copy link
Contributor Author

SanjanaMahapatra commented Oct 29, 2025

Hi @AloisSeckar , please find the commit id for the changes which you have requested.
3583427.
Also, there were merge conflicts which was coming few minutes back in Java14LoaderDemo.java file with the addition if NullPointerDemo.java class, have resolved the merged conflicts and added the required changes.
Thanks.

@AloisSeckar AloisSeckar added hacktoberfest Counts as submission for Hacktoberfest 2025 and removed changes requested The PR was checked and feedback provided. Changes must be done in order to get it accepted. labels Oct 29, 2025
@AloisSeckar AloisSeckar merged commit c8f2ab6 into AloisSeckar:master Oct 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest Counts as submission for Hacktoberfest 2025

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants