-
Bug
-
Resolution: Fixed
-
P1
-
21
-
b07
-
Verified
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:203: error: method getShort in class ByteArray cannot be applied to given types;
short actual = ByteArray.getShort(BUFF);
^
required: byte[],int
found: byte[]
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:212: error: method setShort in class ByteArray cannot be applied to given types;
ByteArray.setShort(BUFF, expected);
^
required: byte[],int,short
found: byte[],short
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:223: error: method getChar in class ByteArray cannot be applied to given types;
char actual = ByteArray.getChar(BUFF);
^
required: byte[],int
found: byte[]
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:232: error: method setChar in class ByteArray cannot be applied to given types;
ByteArray.setChar(BUFF, expected);
^
required: byte[],int,char
found: byte[],char
reason: actual and formal argument lists differ in length
est/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:243: error: method getInt in class ByteArray cannot be applied to given types;
int actual = ByteArray.getInt(BUFF);
^
required: byte[],int
found: byte[]
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:252: error: method setInt in class ByteArray cannot be applied to given types;
ByteArray.setInt(BUFF, expected);
^
required: byte[],int,int
found: byte[],int
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:262: error: method getLong in class ByteArray cannot be applied to given types;
long actual = ByteArray.getLong(BUFF);
^
required: byte[],int
found: byte[]
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:270: error: method setLong in class ByteArray cannot be applied to given types;
ByteArray.setLong(BUFF, expected);
^
required: byte[],int,long
found: byte[],long
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:280: error: method getFloat in class ByteArray cannot be applied to given types;
float actual = ByteArray.getFloat(BUFF);
^
required: byte[],int
found: byte[]
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:288: error: method setFloat in class ByteArray cannot be applied to given types;
ByteArray.setFloat(BUFF, expected);
^
required: byte[],int,float
found: byte[],Float
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:298: error: method getDouble in class ByteArray cannot be applied to given types;
double actual = ByteArray.getDouble(BUFF);
^
required: byte[],int
found: byte[]
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:306: error: method setDouble in class ByteArray cannot be applied to given types;
ByteArray.setDouble(BUFF, expected);
^
required: byte[],int,double
found: byte[],double
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:316: error: method setUnsignedShort in class ByteArray cannot be applied to given types;
ByteArray.setUnsignedShort(BUFF, expected);
^
required: byte[],int,int
found: byte[],int
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:326: error: method getInt in class ByteArray cannot be applied to given types;
assertThrowsOriginal(NullPointerException.class, () -> ByteArray.getInt(null));
^
required: byte[],int
found: <null>
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:327: error: method setInt in class ByteArray cannot be applied to given types;
assertThrowsOriginal(NullPointerException.class, () -> ByteArray.setInt(null, 1));
^
required: byte[],int,int
found: <null>,int
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:332: error: method getInt in class ByteArray cannot be applied to given types;
assertThrowsOriginal(IndexOutOfBoundsException.class, () -> ByteArray.getInt(new byte[1]));
^
required: byte[],int
found: byte[]
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:333: error: method setInt in class ByteArray cannot be applied to given types;
assertThrowsOriginal(IndexOutOfBoundsException.class, () -> ByteArray.setInt(new byte[1],1));
^
required: byte[],int,int
found: byte[],int
reason: actual and formal argument lists differ in length
17 errors
result: Failed. Compilation failed: Compilation failed
test result: Failed. Compilation failed: Compilation failed
short actual = ByteArray.getShort(BUFF);
^
required: byte[],int
found: byte[]
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:212: error: method setShort in class ByteArray cannot be applied to given types;
ByteArray.setShort(BUFF, expected);
^
required: byte[],int,short
found: byte[],short
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:223: error: method getChar in class ByteArray cannot be applied to given types;
char actual = ByteArray.getChar(BUFF);
^
required: byte[],int
found: byte[]
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:232: error: method setChar in class ByteArray cannot be applied to given types;
ByteArray.setChar(BUFF, expected);
^
required: byte[],int,char
found: byte[],char
reason: actual and formal argument lists differ in length
est/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:243: error: method getInt in class ByteArray cannot be applied to given types;
int actual = ByteArray.getInt(BUFF);
^
required: byte[],int
found: byte[]
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:252: error: method setInt in class ByteArray cannot be applied to given types;
ByteArray.setInt(BUFF, expected);
^
required: byte[],int,int
found: byte[],int
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:262: error: method getLong in class ByteArray cannot be applied to given types;
long actual = ByteArray.getLong(BUFF);
^
required: byte[],int
found: byte[]
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:270: error: method setLong in class ByteArray cannot be applied to given types;
ByteArray.setLong(BUFF, expected);
^
required: byte[],int,long
found: byte[],long
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:280: error: method getFloat in class ByteArray cannot be applied to given types;
float actual = ByteArray.getFloat(BUFF);
^
required: byte[],int
found: byte[]
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:288: error: method setFloat in class ByteArray cannot be applied to given types;
ByteArray.setFloat(BUFF, expected);
^
required: byte[],int,float
found: byte[],Float
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:298: error: method getDouble in class ByteArray cannot be applied to given types;
double actual = ByteArray.getDouble(BUFF);
^
required: byte[],int
found: byte[]
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:306: error: method setDouble in class ByteArray cannot be applied to given types;
ByteArray.setDouble(BUFF, expected);
^
required: byte[],int,double
found: byte[],double
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:316: error: method setUnsignedShort in class ByteArray cannot be applied to given types;
ByteArray.setUnsignedShort(BUFF, expected);
^
required: byte[],int,int
found: byte[],int
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:326: error: method getInt in class ByteArray cannot be applied to given types;
assertThrowsOriginal(NullPointerException.class, () -> ByteArray.getInt(null));
^
required: byte[],int
found: <null>
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:327: error: method setInt in class ByteArray cannot be applied to given types;
assertThrowsOriginal(NullPointerException.class, () -> ByteArray.setInt(null, 1));
^
required: byte[],int,int
found: <null>,int
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:332: error: method getInt in class ByteArray cannot be applied to given types;
assertThrowsOriginal(IndexOutOfBoundsException.class, () -> ByteArray.getInt(new byte[1]));
^
required: byte[],int
found: byte[]
reason: actual and formal argument lists differ in length
test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java:333: error: method setInt in class ByteArray cannot be applied to given types;
assertThrowsOriginal(IndexOutOfBoundsException.class, () -> ByteArray.setInt(new byte[1],1));
^
required: byte[],int,int
found: byte[],int
reason: actual and formal argument lists differ in length
17 errors
result: Failed. Compilation failed: Compilation failed
test result: Failed. Compilation failed: Compilation failed
- relates to
-
JDK-8299576 Reimplement java.io.Bits using VarHandle access
-
- Resolved
-