We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a2e2d1 commit f0b8f5cCopy full SHA for f0b8f5c
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/PosixModuleBuiltins.java
@@ -746,7 +746,7 @@ private PException fileNoFound(String path) {
746
747
@TruffleBoundary(allowInlining = true, transferToInterpreterOnException = false)
748
private static long strToLong(String name) throws NumberFormatException {
749
- return new Long(name).longValue();
+ return Long.decode(name).longValue();
750
}
751
752
@TruffleBoundary(allowInlining = true)
0 commit comments