GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

Better data type for Linkage Errors and Artifact Problems?

未关闭
#1,139 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
p3 Tech Debt
主要语言
Java
星标
163
派生
80
PR 合并指标
30 天内没有已合并 PR

描述

@elharo says:

> I still think we're missing an abstraction here. We have problems of which there are several subtypes including missing artifacts and linkage errors. The linkage errors we don't have a class for. Instead we're storing them as an entry in the multimap.

https://github.com/GoogleCloudPlatform/cloud-opensource-java/pull/1135/files/a2dc1f7d9cd2ff0950b2c4d01e5b80c2018d52f5#r367607402

As of now
- Linkage errors are represented as `Multimap`
Many-to-many relationship between SymbolProblem and ClassFile.
- Artifact Problems are represented as `ArtifactProblem`
Example: non-resolvable artifacts in a dependency tree, when constructing a class path.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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