GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Declarative JPMS descriptors by vietj · Pull Request #879 · netty/netty-tcnative

Conversation

@vietj

@vietj vietj commented Aug 7, 2024

Copy link
Copy Markdown
Contributor

tcnative should provide declarative modules for the set of its artifacts.

This is a preliminary contribution that will enable the support of declarative JPMS descriptors for Netty 4.2 branch.

Generated artifacts are multi release jar to remain compatible with Java 8.

This has been tested with netty-tcnative-openssl-static on my arm64 mac with a jlink generated image.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vietj
vietj force-pushed the declarative-jpms-descriptors branch from 03a6f48 to be00cb2 Compare August 7, 2024 21:03
@vietj vietj mentioned this pull request Aug 7, 2024
Declarative JPMS support netty/netty#14176
Open
20 of 26 tasks
@normanmaurer

normanmaurer commented Aug 9, 2024

Copy link
Copy Markdown
Member

@vietj this will fix #880 as well, correct ?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vietj

vietj commented Aug 9, 2024

Copy link
Copy Markdown
Contributor Author

@normanmaurer no it does not

this is related to the build itself, let me check today if I can fix it, I'll get back to you

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vietj

vietj commented Aug 9, 2024

Copy link
Copy Markdown
Contributor Author

@normanmaurer 5a29417 fixes it

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer

normanmaurer commented Aug 9, 2024

Copy link
Copy Markdown
Member

@vietj can you squash this one ?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer normanmaurer added this to the 2.0.66.Final milestone Aug 9, 2024
@vietj

vietj commented Aug 10, 2024

Copy link
Copy Markdown
Contributor Author

sure

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vietj
Motivation:
fa7d15b
tcnative should provide declarative modules for the set of its artifacts.

Modifications:

- remove the automatic module name declaration (META-INF/MANIFEST entry)
- use the module-info maven plugin to generate module-info descriptors in META-INF/versions/11/module-info.class
- the build produces multi release jars
- run twice the module-info plugin and avoid copying the generated module-info.class when building the native jar, so the default jar uses io.netty.internal.tcnative as a module name, instead of the same module name with classifier

Result:

tcnative provides declarative java modules.
@vietj
vietj force-pushed the declarative-jpms-descriptors branch from 5a29417 to fa7d15b Compare August 10, 2024 07:38
@vietj

vietj commented Aug 10, 2024

Copy link
Copy Markdown
Contributor Author

@normanmaurer done

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vietj

vietj commented Aug 22, 2024

Copy link
Copy Markdown
Contributor Author

@normanmaurer any news about getting a release for this one ?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer

normanmaurer commented Aug 22, 2024

Copy link
Copy Markdown
Member

Will look into it

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer
normanmaurer merged commit 9256e3e into netty:main Aug 22, 2024
@vietj
vietj deleted the declarative-jpms-descriptors branch August 22, 2024 14:10
@normanmaurer

normanmaurer commented Aug 22, 2024

Copy link
Copy Markdown
Member

@vietj will do a release tomorrow

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vietj

vietj commented Aug 22, 2024 via email

Copy link
Copy Markdown
Contributor Author
awesome thanks!
…
On Thu, Aug 22, 2024 at 7:29 PM Norman Maurer ***@***.***> wrote: @vietj <https://github.com/vietj> will do a release tomorrow — Reply to this email directly, view it on GitHub <#879 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AABXDCVVXZLP2IZFIQG72LLZSYNYFAVCNFSM6AAAAABMFFUA3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBVGI4DKNJXGI> . You are receiving this because you were mentioned.Message ID: ***@***.***>
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer normanmaurer mentioned this pull request Oct 30, 2026
jni util 0.0.12 #1039
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

2.0.66.Final

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@vietj @normanmaurer
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.