AdoptOpenJDK / AdoptOpenJDK/IcedTea-Web

DeploymentRuleset: add matching logic for rules

未关闭
#830 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
deployment ruleset
主要语言
Java
星标
268
派生
96
PR 合并指标
30 天内没有已合并 PR

描述

Implement matching of rules according to https://docs.oracle.com/javase/10/deploy/deployment-rule-set.htm#GUID-413F29CF-81B5-4154-9C52-22D993819C2B

In the class `net.adoptopenjdk.icedteaweb.deploymentrules.Rule` there is a TODO in the method `matches`.

Please add the missing implementation and also include tests.

Inspiration can be drawn from the class `ParsedWhitelistEntry`

Decide how to react if a rule has any of the following elements or attributes set:
* title
* certificate
* checksum
* jnlp-checksum

贡献指南

打开贡献指南

调研方向

Read the TODO in net.adoptopenjdk.icedteaweb.deploymentrules.Rule.matches and compare its expected behavior with the Java deployment rule set specification. Use ParsedWhitelistEntry as the stated inspiration, then add tests covering matching and rules containing title, certificate, checksum, or jnlp-checksum; done means the missing logic is implemented and the tests pass.

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
desktop
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。