summaryrefslogtreecommitdiffstats
path: root/src/java/jogamp/common/os/elf/SectionArmAttributes.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/jogamp/common/os/elf/SectionArmAttributes.java')
-rw-r--r--src/java/jogamp/common/os/elf/SectionArmAttributes.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/java/jogamp/common/os/elf/SectionArmAttributes.java b/src/java/jogamp/common/os/elf/SectionArmAttributes.java
index 249b2e3..db6710a 100644
--- a/src/java/jogamp/common/os/elf/SectionArmAttributes.java
+++ b/src/java/jogamp/common/os/elf/SectionArmAttributes.java
@@ -1,13 +1,14 @@
package jogamp.common.os.elf;
import static jogamp.common.os.elf.IOUtils.toHexString;
-import static jogamp.common.os.elf.IOUtils.checkBounds;
import static jogamp.common.os.elf.IOUtils.readUInt32;
import static jogamp.common.os.elf.IOUtils.getString;
import java.util.ArrayList;
import java.util.List;
+import com.jogamp.common.util.Bitstream;
+
/**
* ARM EABI attributes within section header {@link SectionHeader#SHT_ARM_ATTRIBUTES}.
* <p>
@@ -215,7 +216,7 @@ public class SectionArmAttributes extends Section {
* @throws IllegalArgumentException if section parsing failed, i.e. incompatible version or data.
*/
static List<VendorAttributes> parse(final byte[] in, final int offset, final int remaining) throws IndexOutOfBoundsException, IllegalArgumentException {
- checkBounds(in, offset, remaining);
+ Bitstream.checkBounds(in, offset, remaining);
int i = offset;
if( FORMAT_VERSION_A != in[ i ] ) {
throw new IllegalArgumentException("ShArmAttr: Not version A, but: "+toHexString(in[i]));
@@ -268,7 +269,7 @@ public class SectionArmAttributes extends Section {
* @throws IllegalArgumentException if section parsing failed, i.e. incompatible version or data.
*/
static void parseSub(final byte[] in, final int offset, final int remaining, int[] offset_post, List<Attribute> attributes) throws IndexOutOfBoundsException, IllegalArgumentException {
- checkBounds(in, offset, remaining);
+ Bitstream.checkBounds(in, offset, remaining);
// Starts w/ sub-section Tag
int i = offset;