Skip to content

Generate classes and build artifacts using JDK 8#834

Merged
masesdevelopers merged 36 commits intomasterfrom
833-release-the-product-compiling-for-javase-8
Feb 11, 2026
Merged

Generate classes and build artifacts using JDK 8#834
masesdevelopers merged 36 commits intomasterfrom
833-release-the-product-compiling-for-javase-8

Conversation

@masesdevelopers
Copy link
Contributor

@masesdevelopers masesdevelopers commented Feb 11, 2026

Description

Generate classes and build artifacts using JDK 8: this PR introduces small breaking changes since there are some classes shall be removed to be compliant with JavaSE 8 API surface. The expected API surface based on JavaSE 8 does not impact too much on general functionalities and only specific classes are impacted.
The classes removed are only:

  • org.mases.jnet.generated.java.awt.desktop.AppForegroundListener managing java.awt.desktop.AppForegroundListener
  • org.mases.jnet.generated.java.awt.desktop.AppHiddenListener managing java.awt.desktop.AppHiddenListener
  • org.mases.jnet.generated.java.awt.desktop.AppReopenedListener managing java.awt.desktop.AppReopenedListener
  • org.mases.jnet.generated.java.awt.desktop.ScreenSleepListener managing java.awt.desktop.ScreenSleepListener
  • org.mases.jnet.generated.java.awt.desktop.SystemEventListener managing java.awt.desktop.SystemEventListener
  • org.mases.jnet.generated.java.awt.desktop.UserSessionListener managing java.awt.desktop.UserSessionListener
  • org.mases.jnet.generated.java.net.http.WebSocket_Listener managing java.net.http.WebSocket_Listener

The one updated removing one method is org.mases.jnet.generated.javax.swing.Action which manages javax.swing.Action.

This PR moves JNetReflectorHelper into a specific JAR used only from JNetReflector.

Related Issue

close #833

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@masesdevelopers masesdevelopers self-assigned this Feb 11, 2026
@masesdevelopers masesdevelopers added enhancement New feature or request JNet JNet related issue .NET Pull requests that update .net code labels Feb 11, 2026
@masesdevelopers masesdevelopers linked an issue Feb 11, 2026 that may be closed by this pull request
@masesdevelopers masesdevelopers added the java Pull requests that update Java code label Feb 11, 2026
@masesdevelopers masesdevelopers changed the title Generates classes using JDK 25 to obtain the current largest API surface, but builds artifacts using JDK 8 Generates classes and builds artifacts using JDK 8 Feb 11, 2026
@masesdevelopers masesdevelopers changed the title Generates classes and builds artifacts using JDK 8 Generate classes and build artifacts using JDK 8 Feb 11, 2026
25); //step
spinner = new JSpinner(zoomModel);
var labelZoom = new JLabel("Zoom X");
JLabel labelZoom = new JLabel("Zoom X");
@masesdevelopers masesdevelopers merged commit ceeae69 into master Feb 11, 2026
17 checks passed
@masesdevelopers masesdevelopers deleted the 833-release-the-product-compiling-for-javase-8 branch February 11, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request java Pull requests that update Java code JNet JNet related issue .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release the product compiling for JavaSE 8

1 participant