You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could replace io.IOException with io.IOError and use class_alias() for backwards compatibility, backporting this to XP11 and then changing all libraries to begin using io.IOError.
Alternatively, we could start naming them without Exception
publicclassio.OperationFailed// the former IOExceptionpublicclassio.NotFound// instead of FileNotFoundExceptionpublicclassio.NotSupported// instead of OperationNotSupportedExceptionpublicclassio.TimedOut// instead of OperationTimedOutExceptionpublicclassio.PermissionDenied// New
If we're changing something here with far-reaching consequences we might as well modernize even more.
Activity
thekid commentedon Jun 20, 2026
This occurs in quite a few places:
thekid commentedon Jun 20, 2026
We could replace
io.IOExceptionwithio.IOErrorand use class_alias() for backwards compatibility, backporting this to XP11 and then changing all libraries to begin usingio.IOError.See https://docs.oracle.com/en/java/javase/26/docs/api/java.base/java/io/IOError.html
thekid commentedon Jun 20, 2026
Alternatively, we could start naming them without Exception
If we're changing something here with far-reaching consequences we might as well modernize even more.
thekid commentedon Jun 21, 2026
Libraries affected:
Remove PHP 8.6 - see xp-framework#363
thekid commentedon Jun 21, 2026
XP Basics ✅
thekid commentedon Jun 21, 2026
Here's a typical library diff:
io.OperationFailedis better suited (here, it is!)thekid commentedon Jun 21, 2026
What's left:
thekid commentedon Jun 21, 2026
https://github.com/xp-framework/io-collections has been archived.