BZ #167: make check-langtools failure: OverEager.java

Status fields:

creation_ts:2012-02-24 17:29
component:vm
version:default branch
rep_platform:All
op_sys:All
bug_status:RESOLVED
resolution:FIXED
reporter:stefan@complang.tuwien.ac.at
FAILED: tools/javac/processing/model/type/MirroredTypeEx/OverEager.java

When running "make check-langtools" from icedtea6, it produces this. Detailed output can
be found in the attachment.

Possibly related changeset allegedly fixing this in JamVM:
http://git.berlios.de/cgi-
bin/cgit.cgi/jamvm/commit/?id=4dbc2ee340a600fc17451dfbcfc09e1f9844fc59

Comment #1 by stefan@complang.tuwien.ac.at on 2012-02-24 17:30:17

Created an attachment (id=76)
Test output

Comment #2 by zapster@complang.tuwien.ac.at on 2012-10-17 11:35:24

Created an attachment (id=79)
intern strings before creating StackTraceElement

The issue was the same as in jamvm (see link above). It is already mentioned in the
jamvm commit message the test case is awkward because it compares strings with '=='
instead of 'equals()'.
Also, note that all strings are interned now because apparently this is the behaviour of
the "reference implementation". For the test case it would have been sufficient to
intern the method name string.

Comment #3 by stefan@complang.tuwien.ac.at on 2012-10-18 10:21:16

Thanks. http://mips.complang.tuwien.ac.at/hg/cacao/rev/21f57ee31e79

Attachment id=76

date:2012-02-24 17:30
desc:Test output
type:text/plain
download:OverEager.jtr

Attachment id=79

date:2012-10-17 11:35
desc:intern strings before creating StackTraceElement
type:text/plain
download:pr167.patch