Issue490961

classification
Title: PyFile.java requires JDK 1.2
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: bckfnn Nosy List: bab, bckfnn
Priority: normal Keywords:

Created on 2001-12-09.23:40:26 by bab, last changed 2001-12-16.11:23:09 by bckfnn.

Messages
msg513 (view) Author: Ben Burton (bab) Date: 2001-12-09.23:40:26
Hi.  Jython will no longer compile under JDK 1.1.
The problem is that PyFile.java now calls
RandomAccessFile.setLength() which only appeared
in JDK 1.2.

The call to setLength() appears on line 479 of
org/python/core/PyFile.java.  In the debian build
I'm simply commenting out that entire implementation
of truncate(), leaving the superclass implementation
which throws an IOException.

Thanks - Ben.
msg514 (view) Author: Finn Bock (bckfnn) Date: 2001-12-16.11:23:09
Logged In: YES 
user_id=4201

Fixed in PyFile.java: 2.25;
History
Date User Action Args
2001-12-09 23:40:26babcreate