Skip to content

Commit 2683c91

Browse files
committed
Change default endianess
1 parent 96ad3b1 commit 2683c91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

native/libjava/src/lang/java_string_utf16.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ pub fn JAVA_LANG_STRINGUTF16_is_big_endian(
1212
_: Option<ObjRef>,
1313
_: Vec<Value>,
1414
) -> Result<Option<Value>> {
15-
//TODO Do not hard code true!
15+
//TODO Do not hard code false!
1616
println!(
1717
"WARNING: Native JAVA_LANG_STRING_UTF16_is_big_endian is returning \
1818
true as a hardcoded value."
1919
);
20-
Ok(Some(Value::Int(1)))
20+
Ok(Some(Value::Int(0)))
2121
}

0 commit comments

Comments
 (0)