diff options
author | David Brazdil <dbrazdil@google.com> | 2018-03-14 13:57:27 +0000 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2018-03-16 13:38:00 +0000 |
commit | a11ea9ac8a46d2b09f1b568c0e2e849a29dd2046 (patch) | |
tree | 9e367e3a830417134adc79e5e4e1dee1dfb8da56 /test/ProfileTestMultiDex/main.jpp | |
parent | 6ca80d2ed68857c75002038f52a5d054c30619ad (diff) |
Warn on overriding of hidden methods
We could prevent apps from overriding hidden methods in the same
manner they cannot override a package-private method - by creating
a separate vtable entry for the child method. For now, start by
printing a warning when a hidden method is being overridden but do
not change the semantics.
Bug: 64382372
Test: art/test.py -r -t 674-hiddenapi
Change-Id: I9d5bfa6b833a4c0f5aaffa5f82dbe9b1e1f03f1f
(cherry picked from commit fc66129b478d49f493b8262f81f8813a5f41459e)
Diffstat (limited to 'test/ProfileTestMultiDex/main.jpp')
0 files changed, 0 insertions, 0 deletions