Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/main/java/org/javademos/init/Java14DemoLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.javademos.java14.jep358.NullPointerDemo;
import org.javademos.java14.jep359.RecordsPreviewDemo;
import org.javademos.java14.jep361.SwitchExpressionsDemo;
import org.javademos.java14.jep362.SolarisSparcRemovalDemo;
import org.javademos.java14.jep365.ZGarbageCollectorOnWindows;
import org.javademos.java14.jep368.TextBlockSecondPreviewDemo;
import org.javademos.java14.jep370.ForeignMemoryAccessDemo;
Expand All @@ -24,6 +25,7 @@ public void loadDemos(Map<Integer, IDemo> demos) {
demos.put(358, new NullPointerDemo());
demos.put(359, new RecordsPreviewDemo());
demos.put(361, new SwitchExpressionsDemo());
demos.put(362, new SolarisSparcRemovalDemo());
demos.put(365, new ZGarbageCollectorOnWindows());
demos.put(368, new TextBlockSecondPreviewDemo());
demos.put(370, new ForeignMemoryAccessDemo());
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package org.javademos.java14.jep362;

import org.javademos.commons.IDemo;

/// Demo for JDK 14 feature <strong>JEP 362 - Deprecate the Solaris and SPARC Ports</strong>.
///
///
/// Relates to:
/// - JDK 15: [JEP 381 - Remove the Solaris and SPARC Ports](https://openjdk.org/jeps/381)
///
/// Deprecate the Solaris/SPARC, Solaris/x64, and Linux/SPARC ports, with the intent to remove them in a future release.
/// @see org.javademos.java15.jep381.SolarisSparcRemovalDemo
///
/// @author SanjanaMahapatra

public class SolarisSparcRemovalDemo implements IDemo {
@Override
public void demo() {
info(362);
}
}
8 changes: 8 additions & 0 deletions src/main/resources/JDK14Info.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@
"link": false,
"code": true
},
{
"jep": 362,
"jdk": 14,
"name": "JEP 362 - Deprecate the Solaris and SPARC Ports",
"dscr": "Deprecate the Solaris/SPARC, Solaris/x64, and Linux/SPARC ports, with the intent to remove them in a future release.",
"link": true,
"code": false
},
{
"jep": 365,
"jdk": 14,
Expand Down