Even Safer Exceptions #15510
Labels
area:saferExceptions
scala.language.experimental.saferExceptions
Semester Project
Good project to be done by an MSc or strong Bsc computer science student in one semester
stat:taken
This project is already worked on by a student or as part of another volunteership program
Uh oh!
There was an error while loading. Please reload this page.
Safer exceptions uses capabilities to express possible throws of checked exceptions. It is currently not completely safe since the capability to throw an exception can escape the scope where it is valid. Example:
This is unsafe since the exception might be thrown only after the
try
has exited. So the thrown exception might not be caught.With capture checking we now have a means to detect cases like this, so we can move safer exceptions to the next stage.
The goals of this project are:
The project is for someone who likes working with bleeding edge research prototypes and to push the envelope of what we can do with them. The project could have wider impact as a publishable case study of what we can do with capture checking, and how this approach solves Java's problems with checked exceptions by supporting effect polymorphism better.
The text was updated successfully, but these errors were encountered: