Skip to content

Commit 9e10dbb

Browse files
committed
Revert "[Truffle] Windows: Make sure a loaded file only contains /."
* This reverts commit a3311e2. * Should be done much earlier.
1 parent a3311e2 commit 9e10dbb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

truffle/src/main/java/org/jruby/truffle/runtime/RubyContext.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,6 @@ public void loadFile(String fileName, RubyNode currentNode) {
162162
}
163163

164164
private void loadFileAbsolute(String fileName, RubyNode currentNode) {
165-
if (isRunningOnWindows()) {
166-
fileName.replace('\\', '/');
167-
}
168-
169165
final byte[] bytes = FileUtils.readAllBytesInterruptedly(this, fileName);
170166

171167
// Assume UTF-8 for the moment

0 commit comments

Comments
 (0)