Skip to content

Commit

Permalink
* Format
Browse files Browse the repository at this point in the history
  • Loading branch information
junqizhang-dev committed Feb 7, 2020
1 parent cc94f55 commit 660e958
Show file tree
Hide file tree
Showing 3 changed files with 185 additions and 7 deletions.
178 changes: 178 additions & 0 deletions docs/zh_CN/docs/weid-compatibility-test.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
WeIdentity Java SDK 与各版本JDK的兼容性
=======================================

备注:本页面所有测试由rockyxia完成。

1.CentOS
--------

::

测试操作系统: CentOS Linux release 7.2.1511 (Core)

Open JDK 各版本的兼容性 (推荐使用)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. list-table::
:header-rows: 1
:widths: 30 50

* - Open JDK版本号
- 测试结果
* - 1.8.0
- 验证成功✅
* - 9.0.1
- 验证成功✅
* - 10
- 验证成功✅
* - 11
- 验证成功✅
* - 12
- 验证成功✅
* - 13
- 验证成功✅

通过 yum 命令下载安装的Open JDK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

不兼容。

.. list-table::
:header-rows: 1
:widths: 30 50

* - yum open JDK版本号
- 测试结果
* - 1.8.0_232
- 验证失败❌
* - 11.0.5
- 验证失败❌

不兼容的原因:由于CentOS的yum仓库的OpenJDK缺少JCE(Java Cryptography
Extension)

Oracle JDK 各版本的兼容性
~~~~~~~~~~~~~~~~~~~~~~~~~

.. list-table::
:header-rows: 1
:widths: 30 50

* - Oracle JDK版本号
- 测试结果
* - 1.8.141
- 验证成功✅
* - 1.8.181
- 验证成功✅
* - 1.8.231
- 验证成功✅
* - 11.0.5
- 验证成功✅
* - 13.0.1
- 验证成功✅

------------

2.Ubuntu
--------

::

测试操作系统:Ubuntu 16.04.1 LTS

.. _open-jdk-各版本的兼容性-推荐使用-1:

Open JDK 各版本的兼容性 (推荐使用)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. list-table::
:header-rows: 1
:widths: 30 50

* - Open JDK版本号
- 测试结果
* - 1.8.0
- 验证成功✅
* - 9.0.1
- 验证成功✅
* - 10
- 验证成功✅
* - 11
- 验证成功✅
* - 12
- 验证成功✅
* - 13
- 验证成功✅



通过 apt-get 命令下载的 Open JDK 各版本的兼容性 (推荐使用)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. list-table::
:header-rows: 1
:widths: 30 50

* - apt-get Open JDK版本号
- 测试结果
* - 1.8.0_242
- 验证成功✅
* - 9.0.4
- 验证成功✅
* - 10.0.2
- 验证成功✅
* - 11.0.5
- 验证成功✅
* - 12.0.2
- 验证成功✅
* - 13.0.1
- 验证成功✅


部署过程中有告警,告警信息如下:

WARNING: An illegal reflective access operation has occurred WARNING:
Illegal reflective access by io.netty.util.internal.ReflectionUtil
(...)
to constructor java.nio.DirectByteBuffer(long,int) WARNING: Please
consider reporting this to the maintainers of
io.netty.util.internal.ReflectionUtil WARNING: Use –illegal-access=warn
to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future
release


.. _oracle-jdk-各版本的兼容性-1:

Oracle JDK 各版本的兼容性
~~~~~~~~~~~~~~~~~~~~~~~~~

.. list-table::
:header-rows: 1
:widths: 30 50

* - Oracle JDK版本号
- 测试结果
* - 1.8.141
- 验证成功✅
* - 1.8.181
- 验证成功✅
* - 1.8.231
- 验证成功✅
* - 11.0.5
- 验证成功✅
* - 13.0.1
- 验证成功✅


告警信息如下:

WARNING: An illegal reflective access operation has occurred WARNING:
Illegal reflective access by io.netty.util.internal.ReflectionUtil
(...)
to constructor java.nio.DirectByteBuffer(long,int) WARNING: Please
consider reporting this to the maintainers of
io.netty.util.internal.ReflectionUtil WARNING: Use –illegal-access=warn
to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future
release
3 changes: 2 additions & 1 deletion docs/zh_CN/docs/weidentity-rest-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,8 @@ WeIdentity核心API
-
- Y
* - functionArg.claim
- claim Json结构体,与 `SDK直接调用的方式入参 <https://weidentity.readthedocs.io/projects/javasdk/zh_CN/latest/docs/weidentity-java-sdk-doc.html#createcredential>`_ 一致,下同 - Y
- claim Json结构体,与 `SDK直接调用的方式入参 <https://weidentity.readthedocs.io/projects/javasdk/zh_CN/latest/docs/weidentity-java-sdk-doc.html#createcredential>`_ 一致,下同
- Y
* - functionArg.cptId
- CPT ID
- Y
Expand Down
11 changes: 5 additions & 6 deletions docs/zh_CN/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
=======
##############################################################
WeIdentity文档
##############################################################
Expand All @@ -23,11 +22,11 @@ WeIdentity文档
docs/terminologies.rst
docs/use-cases.rst
docs/weidentity-spec.rst
docs/weidentity-contract-design.rst
docs/faq.md
docs/miscellaneous.md
docs/weidentity-installation.rst
docs/weidentity-rest.rst
WeIdentity Java SDK 文档 <https://weidentity.readthedocs.io/projects/javasdk/zh_CN/latest/>
docs/weidentity-sample.rst
docs/miscellaneous.md
docs/faq.md
docs/weidentity-rest.rst
docs/weidentity-endpoint.rst
WeIdentity Java SDK 文档 <https://weidentity.readthedocs.io/projects/javasdk/zh_CN/latest/>
docs/weidentity-contract-design.rst

0 comments on commit 660e958

Please sign in to comment.