Skip to content
Permalink
Browse files

Remove usage of sput-object-volatile into FieldUsageTypeTest

- Since 2db1dec, sput-object-volatile is no longer supported at default api level.
Thus remove his usage until Smalidea has a way to define the api level to use.
  • Loading branch information...
mikaelpeltier authored and JesusFreke committed Oct 6, 2018
1 parent cb4a44b commit 5935fe6ef8dee15567ec07ed9175003dac868809
Showing with 6 additions and 2 deletions.
  1. +6 −2 smalidea/src/test/java/org/jf/smalidea/findUsages/FieldUsageTypeTest.java
@@ -58,7 +58,9 @@ public void testFieldUsageTypes() throws Exception {
" sput-byte v0, Lblah;->bl<ref:35>ah:Lblah;\n" +
" sput-char v0, Lblah;->bl<ref:36>ah:Lblah;\n" +
" sput-object v0, Lblah;->bl<ref:37>ah:Lblah;\n" +
" sput-object-volatile v0, Lblah;->bl<ref:38>ah:Lblah;\n" +
// TODO: sput object volatile is no longer supported at default api level,
// thus disable his usage until Smalidea supports to define an api level
// " sput-object-volatile v0, Lblah;->bl<ref:38>ah:Lblah;\n" +
" sput-short v0, Lblah;->bl<ref:39>ah:Lblah;\n" +
" sput-volatile v0, Lblah;->bl<ref:40>ah:Lblah;\n" +
" sput-wide v0, Lblah;->bl<ref:41>ah:Lblah;\n" +
@@ -105,7 +107,9 @@ public void testFieldUsageTypes() throws Exception {
35, UsageType.WRITE,
36, UsageType.WRITE,
37, UsageType.WRITE,
38, UsageType.WRITE,
// TODO: sput object volatile is no longer supported at default api level,
// thus disable his usage until Smalidea supports to define an api level
//38, UsageType.WRITE,
39, UsageType.WRITE,
40, UsageType.WRITE,
41, UsageType.WRITE,

0 comments on commit 5935fe6

Please sign in to comment.
You can’t perform that action at this time.