This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
mirrored from https://android.googlesource.com/platform/dalvik.git
-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge "dx: Support v53 class files built from language level 8 sources."
- Loading branch information
Showing
13 changed files
with
187 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# | ||
# classfile with an invalid version, with a higher minor version | ||
# than the highest valid version. 53.1 (0x35.0x01) | ||
# | ||
|
||
cafe babe # magic | ||
0001 # minor_version | ||
0035 # major_version | ||
0005 # constant_pool_count | ||
|
||
# | ||
# constant_pool | ||
# | ||
01 0005 "Small" # 0001: utf8["Small"] | ||
01 0010 "java/lang/Object" # 0002: utf8["java/lang/Object"] | ||
07 0001 # 0003: class[Small] | ||
07 0002 # 0004: class[java/lang/Object] | ||
|
||
ffff # access_flags | ||
0003 # this_class | ||
0004 # super_class | ||
0000 # interfaces_count | ||
0000 # fields_count | ||
0000 # methods_count | ||
|
||
0000 # attributes_count |
26 changes: 26 additions & 0 deletions
26
dx/tests/003-magic-version-access/class-version-53.65535.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# | ||
# classfile with an invalid version, with the same major version | ||
# as the highest valid version. 53.65535 (0x35.0xffff) | ||
# | ||
|
||
cafe babe # magic | ||
ffff # minor_version | ||
0035 # major_version | ||
0005 # constant_pool_count | ||
|
||
# | ||
# constant_pool | ||
# | ||
01 0005 "Small" # 0001: utf8["Small"] | ||
01 0010 "java/lang/Object" # 0002: utf8["java/lang/Object"] | ||
07 0001 # 0003: class[Small] | ||
07 0002 # 0004: class[java/lang/Object] | ||
|
||
ffff # access_flags | ||
0003 # this_class | ||
0004 # super_class | ||
0000 # interfaces_count | ||
0000 # fields_count | ||
0000 # methods_count | ||
|
||
0000 # attributes_count |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# | ||
# classfile with an invalid version, with a higher major version | ||
# than the highest valid version. 54.0 (0x36.0x00) | ||
# | ||
|
||
cafe babe # magic | ||
0000 # minor_version | ||
0036 # major_version | ||
0005 # constant_pool_count | ||
|
||
# | ||
# constant_pool | ||
# | ||
01 0005 "Small" # 0001: utf8["Small"] | ||
01 0010 "java/lang/Object" # 0002: utf8["java/lang/Object"] | ||
07 0001 # 0003: class[Small] | ||
07 0002 # 0004: class[java/lang/Object] | ||
|
||
ffff # access_flags | ||
0003 # this_class | ||
0004 # super_class | ||
0000 # interfaces_count | ||
0000 # fields_count | ||
0000 # methods_count | ||
|
||
0000 # attributes_count |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters