Skip to content

Commit

Permalink
Added patch to fix #6 and listing of modified classes
Browse files Browse the repository at this point in the history
  • Loading branch information
magneticflux- committed Jan 23, 2019
1 parent 7f6b515 commit e9036ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ protected static Class findClass(String className)
protected static class MappedByteBufferInfo
{
public static Field blockField = getDeclaredField(java.nio.MappedByteBuffer.class, "block");
public static Field addressField = getDeclaredField(blockField.getType(), "address");
public static Field addressField = getDeclaredField(blockField != null ? blockField.getType() : Object.class, "address");
}

public static long memoryAddressFrom(MappedByteBuffer buffer)
Expand Down
3 changes: 3 additions & 0 deletions to-check-for-modification.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Files modified:

- `src/main/java/com/qualcomm/robotcore/util/ClassUtil.java`

0 comments on commit e9036ef

Please sign in to comment.