Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make UnsupportedValueTypeOperation a recoverable exception #5193

Conversation

hzongaro
Copy link
Contributor

The UnsupportedValueTypeOperation exception extended CompilationException, which meant that, if it was thrown, compilation would be aborted. However, it should be considered a recoverable exception - if an unsupported operation is encountered during inlining, only the inlining of that particular method should be aborted while compilation of the outermost method continues.

Fixed this by having UnsupportedValueTypeOperation extend RecoverableILGenException instead.

Signed-off-by: Henry Zongaro zongaro@ca.ibm.com

The UnsupportedValueTypeOperation exception extended
CompilationException, which meant that, if it was thrown, compilation
would be aborted.  However, it should be considered a recoverable
exception - if an unsupported operation is encountered during
inlining, only the inlining of that particular method should be aborted
while compilation of the outermost method continues.

Fixed this by having UnsupportedValueTypeOperation extend
RecoverableILGenException instead.

Signed-off-by:  Henry Zongaro <zongaro@ca.ibm.com>
@andrewcraik
Copy link
Contributor

@genie-omr build all

1 similar comment
@andrewcraik
Copy link
Contributor

@genie-omr build all

@andrewcraik
Copy link
Contributor

The basic build is all clean so merging.

@andrewcraik andrewcraik merged commit a4e74bd into eclipse-omr:master Jun 1, 2020
wbh123456 pushed a commit to wbh123456/omr that referenced this pull request Jun 9, 2020
…ype-is-recoverable

Make UnsupportedValueTypeOperation a recoverable exception
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants