diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2017-04-11 18:44:37 +0200 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2017-04-11 19:25:55 +0200 |
commit | 5a1bc13634ceea8fe1f120919293083045479cf9 (patch) | |
tree | 459469c17a963f51031bfea81ef5efab666d6b3b /tests/patmat/t7631.check | |
parent | d63191d1d68a7de0bc622356b5af1599b25cbf25 (diff) | |
download | dotty-5a1bc13634ceea8fe1f120919293083045479cf9.tar.gz dotty-5a1bc13634ceea8fe1f120919293083045479cf9.tar.bz2 dotty-5a1bc13634ceea8fe1f120919293083045479cf9.zip |
SI-2464 Resiliance against missing InnerClass attributes
Adapted from scalac commit 2a19cd56258884e25f26565d7b865cc2ec931b23 by
Jason Zaugg, but without the testing infrastructure added:
A classfile in the wild related to Vaadin lacked the InnerClasses
attribute. As such, our class file parser treated a nested enum
class as top-level, which led to a crash when trying to find its
linked module.
More details of the investigation are available in the JIRA comments.
The test introduces a new facility to rewrite classfiles.
This commit turns this situation into a logged warning, rather
than crashing. Code by paulp, test by yours truly.
Diffstat (limited to 'tests/patmat/t7631.check')
0 files changed, 0 insertions, 0 deletions