harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5305) [drlvm][EUT] regression in jdtdebug in Linux x86_64
Date Fri, 14 Dec 2007 16:31:43 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551850
] 

Gregory Shimansky commented on HARMONY-5305:
--------------------------------------------

I think I've found out what makes tests hang. It is not a hang, it is an infinite loop in
EUT. Eclipse tries to launch Breakpoints test but it is incorrectly compiled after testSingleListenerMoveCompilationUnit.
This test tries to copy main type Breakpoints to BreakpointsCopy file. But it seems that on
Linux x86_64 there are some problems with this operation. So there remain several class files
that have incorrect source file for public class. Eclipse compiles such classes and generates
java.lang.Error: The public type Breakpoints must be defined in its own file

I identified a way how to reproduce at least one problem in renaming main java type in Eclipse.
Take attached IBreakpoints.java and Breakpoints.java and create corresponding interface and
class in workspace. Click on Breakpoints.java in source tree, select Refactor->Rename.
Type in new name BreakpointsCopy, don't change any checkboxes, click Finish. When warned about
main type click Finish again. Eclipse will show a message that NPE has occurred while doing
this operation. I identified that the method which causes NPE is

org/eclipse/jdt/core/dom/DefaultCommentMapper.getExtendedEnd(Lorg/eclipse/jdt/core/dom/ASTNode;)I

I checked this scenario on JET (NPE happens) and on OPT (NPE doesn't happen). So I believe
that the bug is in JET.

BTW for some reason NPE has no stack trace so I didn't find the stack which lead to the failing
method.

> [drlvm][EUT] regression in jdtdebug in Linux x86_64
> ---------------------------------------------------
>
>                 Key: HARMONY-5305
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5305
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux x86_64
>            Reporter: Vladimir Beliaev
>
> The jdtdebug suite start hanging on Linux x86_64. 
> The issue migt be the same to HARMONY-5303, still CC start repoting this crash earlier
- the latest non-crashed revision is 595048 (15-Nov-2007)
> http://people.apache.org/~smishura/r595048/Linux_x86_64/eut33/results/html/org.eclipse.jdt.debug.tests_linux.gtk.x86_64.html
> See the run instruction in HARMONY-5303, still use jdtdebug instead of coreresources.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message