pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/wesleyegberto/java-new-features/tree/master/java-15

primer-70be7debc79a8eff.css" /> java-new-features/java-15 at master · wesleyegberto/java-new-features · GitHub
Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Java 15

To run each example use: java --enable-preview --source 15 <FileName.java>

JEPs

  • 339 - Edwards-Curve Digital Signature Algorithm (EdDSA)
  • 360 - Sealed Classes (Preview)
  • 371 - Hidden Classes
  • 372 - Remove the Nashorn JavaScript Engine
  • 373 - Reimplement the Legacy DatagramSocket API
  • 374 - Disable and Deprecate Biased Locking
  • 375 - Pattern Matching for instanceof (Second Preview)
  • 377 - ZGC: A Scalable Low-Latency Garbage Collector
  • 378 - Text Blocks
  • 379 - Shenandoah: A Low-Pause-Time Garbage Collector
  • 381 - Remove the Solaris and SPARC Ports
  • 383 - Foreign-Memory Access API (Second Incubator)
  • 384 - Records (Second Preview)
  • 385 - Deprecate RMI Activation for Removal

Features

  • Sealed Types
    • Restrict which types can extend/implement a type
    • Constraints:
      • The sealed class and its permitted subclasses must belong to the same module, and, if declared in an unnamed module, the same package.
      • Every permitted subclass must directly extend the sealed class.
      • Every permitted subclass must choose a modifier to describe how it continues the sealing initiated by its superclass:
        • final
        • sealed
        • non-sealed (back to a normal class open to extensibility)
  • Pattern Matching for instanceof (second preview - no changes)
  • Text Blocks (standard)
  • Records (second preview)
    • Integration with sealed types in interfaces
      • The combination of record and sealed types is referred as algebraic data types.

JVM

  • GC turned final:

Links

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy