JEP 355

GPTKB entity

Statements (485)
Predicate Object
gptkbp:instance_of gptkb:API
gptkb:Java_Enhancement_Proposal
gptkbp:addresses Rendering issues on mac OS
gptkbp:aims_to Improve developer experience
Improve observability of Java applications.
gptkbp:allows Not all string operations are supported.
Custom event definitions.
Not suitable for all string use cases.
gptkbp:approves 2020-03-17
gptkbp:audience High user engagement.
gptkbp:author gptkb:Markus_Karg
gptkb:Mikael_Vidstedt
gptkbp:benefits Reduces boilerplate code.
Successful implementation.
Continuous improvement.
Significant.
Low.
Regular assessments.
Performance indicators.
Transformative.
Improved usability.
Widely accepted.
Improved code clarity.
Improves readability of string literals.
Real-time monitoring of application performance.
Improves API design.
Adoption metrics.
Continuous review.
Easier to read and maintain.
High adoption.
Improved developer productivity.
Improved string handling.
Iterative enhancements.
Success metrics.
Prevents unauthorized implementations.
May require additional formatting.
Avoids escape sequences.
gptkbp:challenges Integration issues.
Community engagement.
Ensuring backward compatibility.
Adoption hurdles.
Parsing and formatting.
gptkbp:class non-sealed class Rectangle implements Shape {}
gptkbp:code String html = """<div> Hello World</div>""";
String xml = """<note><to> Tove</to></note>""";
String script Tag = """<script>console.log(' Hello');</script>""";
String json Array = """[{"id": 1, "name": " John"}]""";
String html Table = """<table><tr><td> Data</td></tr></table>""";
String json Object = """{"name": " John", "age": 30}""";
String query = """ SELECT * FROM table WHERE id = 1;""";
String css = """body { color: red; }""";
String css Style = """.class { color: blue; }""";
String json = """{"key": "value"}""";
String log = """[ INFO] Application started""";
String markdown = """# Header Content""";
String message = """ Hello, this is a message.""";
String path = """ C:\ Users\ Name\ Documents""";
String text = """ Line 1 Line 2 Line 3""";
String yaml = """key: value""";
String yaml Data = """-key: value""";
String script = """console.log(' Hello World');""";
String xml Data = """<data><item> Value</item></data>""";
String text Block = """ This is a text block that spans multiple lines.""";
String sql = """ SELECT * FROM users WHERE name = ' John';""";
String text Block Example = """ This is an example of a text block.""";
String sql Insert = """ INSERTINTO table (column) VALUES ('value');""";
String markdown Text = """## Header -Item 1 -Item 2""";
String email = """ To: [email protected] Subject: Test""";
gptkbp:collaborations Open JDK community.
Open JDK contributors.
gptkbp:community_engagement Engaged with Java community.
gptkbp:community_impact Enhanced community engagement.
Significant impact on the community.
Simplifies codebases using multi-line strings.
gptkbp:community_involvement Community events.
Encouraged community involvement.
Engagement programs.
Engagement initiatives.
Open discussions.
Encouraged community contributions.
gptkbp:community_support Strong community support.
Strong.
gptkbp:contributed_to gptkb:Java_Enhancement_Proposal
Java observability.
gptkbp:contribution Community contributions.
Enhances the Java programming language.
Significant contribution to Java language.
Contributed to Java's string handling capabilities.
Open JDK guidelines.
Contributed to cleaner code.
gptkbp:created 2020-09-15
gptkbp:dependency None.
gptkbp:design Enhance expressiveness of the type system.
gptkbp:discusses Open JDK Mailing List
Open JDK mailing list.
Open JDK mailing lists
gptkbp:ecological_role Enhanced Java ecosystem.
gptkbp:education Rapid user adoption.
Facilitated learning for new developers.
gptkbp:effective_date Approved by JDK Enhancement-Proposal Committee.
gptkbp:enables Asynchronous event processing.
gptkbp:end_date 2021-06-08
gptkbp:ends_at 2019-09-17
Sealed interfaces enhance Java's type system.
gptkbp:enhances Performance analysis.
Potential for future enhancements.
Ongoing enhancements planned.
Potential for further string manipulation features.
gptkbp:error_handling Improved error handling for multi-line strings.
Improved compile-time checks.
gptkbp:example """ Line 1 Line 2"""
String text = """ Hello, World!""";
String text = """ This is a text block.""";
Used in JSON and SQL queries.
final class Circle implements Shape {}
JSON formatting.
String literals with embedded newlines.
Used in frameworks like Spring.
Used in defining a restricted set of implementations.
""" This is a multi-line string."""
gptkbp:facilitates Integration with monitoring tools.
gptkbp:features String concatenation improvements.
Immutable data carriers.
String concatenation.
String formatting.
gptkbp:feedback Positive.
Positive user feedback.
Positive reception.
Continuous feedback from users.
Positive feedback from developers.
Mailing lists.
Open JDK mailing list for feedback.
Open channels for feedback.
gptkbp:first_published 2021-09-15
gptkbp:formulation record Point(int x, int y)
""" This is a text block."""
Triple quotes.
Uses triple quotes for string literals.
gptkbp:future_plans Further enhancements.
Potential enhancements in future JD Ks.
Research on further enhancements.
Enhancements to text processing.
Explore further enhancements to sealed types.
Enhancements in future JD Ks.
gptkbp:has_achievements Standardized text blocks.
gptkbp:has_documentation Comprehensive.
Comprehensive user documentation available.
Official Java documentation.
Extensive resources.
gptkbp:has_version Introduced in JDK 13.
https://www.w3.org/2000/01/rdf-schema#label JEP 355
gptkbp:impact Improves readability of string literals.
Simplifies the creation of formatted text.
Simplifies the creation of multi-line strings.
Simplifies the creation of complex strings.
Enhances type safety and maintainability.
Simplifies the creation of string literals.
gptkbp:improves User interface responsiveness
Application diagnostics.
gptkbp:includes Performance benchmarks
Documentation for developers.
gptkbp:innovation New features.
Feature advancements.
gptkbp:introduced gptkb:Java_11
gptkb:Java_13
gptkb:Java_SE_13
gptkb:Java_SE_15
gptkbp:is_a_resource_for Tutorials available.
Resources available for developers.
Documentation available on Open JDK.
gptkbp:is_adopted_by Real-time analytics.
E-commerce platforms.
Cloud-native applications.
High.
Financial services.
Enterprise applications.
Microservices.
High among Java developers.
Widely adopted in JDK 17.
Widely adopted in Java 13.
Widely adopted in Java applications.
Io T applications.
Gaming applications.
Big data applications.
Social media applications.
Some challenges in adoption.
Widely adopted in Java 13 and later.
gptkbp:is_committed_to Standardization of text blocks.
gptkbp:is_compared_to More readable than traditional string concatenation.
Abstract classes.
Interfaces.
Enums.
Compared to traditional string literals.
gptkbp:is_compatible_with gptkb:Java_Enhancement_Proposal
Backward compatible.
Backward compatible with existing interfaces.
gptkbp:is_described_as gptkb:New_mac_OS_Rendering_Pipeline
Text blocks are a new way to declare multi-line string literals.
Introduces a new syntax for multi-line string literals.
Introduce record types to the Java programming language.
Provides a mechanism for streaming events from the Java Flight Recorder.
Introduces sealed interfaces to restrict which classes can implement them.
Introduces text blocks as a new way to declare multi-line string literals.
Text Blocks provide a new way to declare multi-line string literals.
A new way to declare multi-line string literals.
gptkbp:is_implemented_in gptkb:Java_15
gptkb:Java_Language_Specification
gptkb:Java_Language
gptkb:chess_match
Implemented in the Java compiler.
Completed.
JDK 11 and later.
JDK 11.
JDK 14.
JDK 15.
JDK 16.
JDK 17.
JDK 18.
Part of the Java language.
Requires changes to the Java compiler.
JDK 19.
JDK 20.
JDK 21.
JDK 12.
JDK 13.
Fully implemented.
Some challenges during implementation.
Compiler changes.
Implemented in JDK 13.
gptkbp:is_motivated_by To provide more control over class hierarchies.
gptkbp:is_open_source Open JDK repository.
gptkbp:is_part_of gptkb:Java_Enhancement_Proposal
Java SE.
gptkbp:is_related_to JEP 344.
JEP 370.
gptkbp:is_reviewed_by gptkb:software_framework
JDK Reviewers
gptkbp:is_standardized_by Influenced Java standards.
Part of the Java SE standard.
gptkbp:is_supported_by gptkb:software
Java community.
gptkbp:is_tested_for J Unit.
Included in JDK 17.
gptkbp:issues gptkb:JDK-8221217
JDK-8221210
JDK-8221214
JDK-8221215
JDK-8221216
JDK-8221218
JDK-8221219
JDK-8221220
JDK-8221221
JDK-8221222
JDK-8221223
JDK-8221224
JDK-8221225
JDK-8221226
JDK-8221227
JDK-8221228
JDK-8221229
JDK-8221230
JDK-8221231
JDK-8221232
JDK-8221233
JDK-8221234
JDK-8221235
JDK-8221236
JDK-8221237
JDK-8221238
JDK-8221239
JDK-8221240
JDK-8221241
JDK-8221242
JDK-8221243
JDK-8221244
JDK-8221245
JDK-8221246
JDK-8221247
JDK-8221248
JDK-8221249
JDK-8221250
JDK-8221251
JDK-8221252
JDK-8221253
JDK-8221254
JDK-8221255
JDK-8221256
JDK-8221257
JDK-8221258
JDK-8221259
JDK-8221260
JDK-8221261
JDK-8221262
JDK-8221263
JDK-8221264
JDK-8221265
JDK-8221266
JDK-8221267
JDK-8221268
JDK-8221269
JDK-8221270
JDK-8221271
JDK-8221272
JDK-8221273
JDK-8221274
JDK-8221275
JDK-8221276
JDK-8221277
JDK-8221278
JDK-8221279
JDK-8221280
JDK-8221281
JDK-8221282
JDK-8221283
JDK-8221284
JDK-8221285
JDK-8221286
JDK-8221287
JDK-8221288
JDK-8221289
JDK-8221290
JDK-8221291
JDK-8221292
JDK-8221293
JDK-8221294
JDK-8221295
JDK-8221296
JDK-8221297
JDK-8221298
JDK-8221299
JDK-8221300
Overusing sealed interfaces.
JDK-8221211
JDK-8221212
JDK-8221213
gptkbp:key Allows embedding of newlines and quotes without escaping.
Allows control over the hierarchy of implementations.
gptkbp:language Java.
Supported in Java 13 and later.
Sealed types.
gptkbp:latest_version 1.0.
Git.
Java 15.
gptkbp:legacy Text blocks in Java.
Text blocks standard.
gptkbp:library Java standard library.
gptkbp:mentor Industry experts.
Technical experts.
Java experts.
gptkbp:mission Empower developers.
Enhance developer experience.
Support developers.
gptkbp:notable_album 2019-01-15
2019-09-17
gptkbp:notable_production Streamlined development process.
gptkbp:notable_recipients gptkb:Brian_Goetz
gptkb:Dan_Smith
gptkb:Alex_Buckley
gptkb:Kirk_Pepperdine
gptkb:Mark_Reinhold
gptkb:Jesse_Glick
gptkbp:objective Text processing.
gptkbp:performance Minimal.
Minimal impact.
Minimal impact on performance.
Minimal performance impact.
gptkbp:performed_by Use for large text blocks.
Use sealed interfaces for API design.
gptkbp:plot_summary Sealed interfaces allow developers to define a limited set of implementing classes.
gptkbp:population_trend Trends towards more readable code.
gptkbp:products Improved code quality.
gptkbp:project Available online.
Community leaders.
Active participation.
Ongoing improvements.
Enhance usability.
Open JDK projects.
Continued enhancements.
Managed by Open JDK.
Java community leaders.
Enhance Java language.
Modern Java language.
2019-2021.
Accessible materials.
Enhance developer experience.
Future-proof Java.
Java leaders.
Modern programming.
Vibrant participation.
gptkbp:proposed_by gptkb:Database_Management_System
gptkb:Brian_Goetz
gptkb:Markus_KARG
gptkb:Markus_Karg
gptkbp:provides Low overhead event collection.
gptkbp:receives_funding_from Community funded.
gptkbp:regulatory_compliance Conforms to Java Language Specification.
Conforms to Java standards.
Conforms to Java language rules.
gptkbp:related_concept ISO/ IEC 23270.
Java Language Specification.
Java SE.
Type system enhancements.
gptkbp:related_jeps gptkb:JEP_360
gptkb:JEP_384
gptkb:JEP_13
gptkb:JEP_12
gptkb:JEP_326
JEP 384.
gptkbp:related_to gptkb:JEP_382
gptkb:JEP_384
gptkb:Sealed_Classes
gptkb:Java_Flight_Recorder
gptkb:JEP_326
gptkbp:release_date September 2020
September 2019
March 2021
September 2021
gptkbp:released gptkb:JDK_17
gptkb:Java_17
Included in JDK 17 release notes.
Every six months.
Scheduled releases.
gptkbp:requires mac OS 10.14 or later
JDK Flight Recorder.
gptkbp:security_features None.
Tighter control over class access.
gptkbp:specifies gptkb:Java_Language_Specification
Java Language Specification.
Java SE 17.
Event streaming API.
Java SE 13 Specification
Defines a new modifier for interfaces.
gptkbp:sponsor Java ecosystem.
Java community.
Java developers.
gptkbp:status gptkb:Final
gptkb:Preview
Standard Feature
gptkbp:supports Multiple event types.
gptkbp:sustainability_initiatives Long-term support.
Long-term viability.
gptkbp:targets gptkb:JDK_17
gptkb:JDK_11
gptkb:JDK_13
gptkb:JDK_15
gptkb:JDK_16
JDK 16.
gptkbp:technology Java programming language.
Java SE.
String handling.
gptkbp:title gptkb:Text_Blocks
gptkb:JFR:_Event_Streaming
Record Types
Sealed Interfaces
Text Blocks (Preview)
gptkbp:tutorials Tutorials available online.
Community-contributed tutorials available.
gptkbp:updates Regular updates planned.
gptkbp:use_case Performance tuning.
Troubleshooting.
Capacity planning.
Modeling restricted hierarchies.
gptkbp:user_experience Improved user experience.
gptkbp:user_interface sealed interface Shape {}
gptkbp:user_manual Available on Open JDK website.
Available in Java documentation.
gptkbp:user_reviews gptkb:Gilad_Bracha
gptkb:Alan_Bateman
gptkb:Brian_Goetz
gptkb:David_Holmes
gptkb:Dan_Smith
gptkb:Mark_Reinhold
gptkb:John_Rose
gptkb:Jesse_Glick
Vladimir Ivanov
Community feedback.
Sharat Chander
gptkbp:uses Used for SQL queries, JSON, and HTML.
Used for multi-line strings.
gptkbp:year_created Widely adopted in Java 15.
gptkbp:bfsParent gptkb:JEP_33
gptkb:JDK_10
gptkb:JDK_14
gptkb:Java_10
gptkbp:bfsLayer 4