FasterXML / FasterXML/java-classmate

Private methods handled as virtual for inherting classes

オープン
#36 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
266
フォーク
47
平均マージ
1時間 42分
マージ済み PR(30日)
1

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。