GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

Better data type for Linkage Errors and Artifact Problems?

Aberta
#1,139 1 comentário 0 reações 0 responsáveis Ver no GitHub
p3 Tech Debt
Linguagem predominante
Java
Estrelas
163
Forks
80
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

@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.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start with the issue discussion and the referenced pull request diff, then compare the current Multimap representation with ArtifactProblem. Done should establish a clearly chosen abstraction that accounts for both linkage errors and artifact problems, with the distinction between their cases made explicit.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
java
Domínio
devtools
Tipo de issue
Refatoração
Dificuldade
5/5
Tempo estimado
Mais de uma semana
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.