FasterXML / FasterXML/java-classmate

Private methods handled as virtual for inherting classes

Aberta
#36 5 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Java
Estrelas
266
Forks
47
Merge médio
1h 42min
PRs com merge (30d)
1

Descrição

I am using classmate-1.3.3 and I faced with an issue when using MemberResolver. The problem is that if a class and its child class have exactly the same private methods then I cannot access to super class' private method. This behavior is fine when these methods are at least package-private, but private methods do not override each other.

For demonstrating the issue I have attached a simple unit test. In `testPrivate()` test `members.getMemberMethods()` should return two functions in my opinion.

[InheritanceTest.txt](https://github.com/FasterXML/java-classmate/files/745691/InheritanceTest.txt)

Best regards,
Balazs

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

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