Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Android/art/art/test/674-hiddenapi/   (Android Betriebssystem Version 17©)  Datei vom 26.5.2026 mit Größe 971 B image not shown  

Quelle  info.txt

  Sprache: Text
 

Test whether hidden API access flags are being enforced. The test is composed of
two JARs. The first (parent) defines methods and fields and the second (child)
tries to access them with reflection/JNI/MethodHandles or link against them.
Note that the first is compiled twice - once with and once without hidden access
flags.

The test then proceeds to exercise the following combinations of class loading:
(a) Both parent and child dex loaded with PathClassLoader, parent's class loader
    is the child's class loader's parent. Access flags should not be enforced as
    the parent does not belong to boot class path.
(b) Parent is appended to boot class path, child is loaded with PathClassLoader.
    In this situation child should not be able to access hidden methods/fields
    of the parent.
(c) Both parent and child are appended to boot class path. Restrictions should
    not apply as hidden APIs are accessible within the boundaries of the boot
    class path.

Messung V0.5 in Prozent
C=91 H=90 G=90

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-06-29) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.