OSDN Git Service

Move Level1 to its own file.
authorNicolas Geoffray <ngeoffray@google.com>
Mon, 15 Jun 2015 12:58:00 +0000 (13:58 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Mon, 15 Jun 2015 13:00:26 +0000 (14:00 +0100)
commita1924e7042bafdc23a62994f5749e651e35038da
treef22aa817edf01968e23eff9df6f78d673cc5ad50
parentc4977a58b1feca22a83fd5239aa266c7ce16ab87
Move Level1 to its own file.

When we don't have oat files, we use runtime semantics
for checking access. At runtime, we're checking whether
the class loader is the same between two classes. This is
information we don't have when we run dex2oat at install time.

So movining Level1 to a public class fixes the access issue
when running the test with --no-prebuild --no-dex2oat.

Change-Id: Ied1f33a9e651f0045501c939eaf94b7b34ba1e66
test/497-inlining-and-class-loader/expected.txt
test/497-inlining-and-class-loader/src/Level1.java [new file with mode: 0644]
test/497-inlining-and-class-loader/src/Main.java