Support for GraalVMs native-image

オープン
#1,243 コメント 5 件 リアクション 2 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
28/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
java
領域
build-system

調査の方向性

リポジトリのファイルやテストは指定されていません。まず、GraalVM native-image の要件および META-INF/native-image メタデータ形式に照らして、Shiro におけるリフレクション、リソース、プロキシの使用を確認し、その後、サポートに必要な native-image ビルドとメタデータの網羅範囲を定義してください。

索引モデルが issue の本文から書いたものです。

説明

core help-wanted valid
Search before asking
  • I had searched in the issues and found no similar issues.
Feature Request

Hi!

Oracle has created the GraalVM and one of its features is the native-image tool, which allows compiling a JVM application into a native executable. This executable doesn't need a JVM to run, it starts faster and often consumes less memory. But this has downsides, as some dynamic features from Java are not supported without additional configuration. The biggest contenders are reflection, resources and proxies.

Luckily, a library can ship some JSON metadata in the META-INF/native-image/... directory which enables those features.

For libraries which don't (or can't) add the metadata in their JARs, Oracle has created the graalvm-reachability-repository, which contains this metadata outside of the libraries JAR file. In an ideal world, all of the metadata is moved into the JARs of the libraries, but until our world has reached its ideal state, this repository will be used.

We are hardly waiting for GrallVM native-image support in officially Shiro repository.

Are you willing to submit PR?
  • Yes I am willing to submit a PR!
主要言語
Java
スター
4.5k
フォーク
2.3k
平均マージ
1日 5分
マージ済み PR(30日)
27

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/shiro のほかの issue

apache/shiro の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。