harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Fedotov" <alexei.fedo...@gmail.com>
Subject [drlvm][jitrino][jet] VM crashes instead of throwing AbstractMethodError
Date Thu, 07 Dec 2006 18:46:41 GMT
Hello, Pavel (Pervov),

I'm investigating the problem described in HARMONY-2528. Could you
please share your opinion on AbstractMethodError handling with JIT?

Do I understand correctly that if the method is abstract VM should
generate exception throwing stub instead of compile_me stub?

Thank you in advance!

On 12/7/06, Alexei Fedotov (JIRA) <jira@apache.org> wrote:
> [drlvm] VM crashes instead of throwing AbstractMethodError
> ----------------------------------------------------------
>
>                 Key: HARMONY-2528
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2528
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Alexei Fedotov
>
>
> The following test perfectly compiles with javac, and throws
> java.lang.AbstractMethodError: javax/management/monitor/Monitor.createMX4JMonitor()Lmx4j/monitor/MX4JMonitor;
>        at javax.management.monitor.Monitor.getMX4JMonitor(Monitor.java:54)
>        at javax.management.monitor.Monitor.getObservedObjects(Monitor.java:149)
>        at Test1.main(Test1.java:7)
> when used with mx4j implementation. DRLVM + JIT crashes trying to compile abstract method.
>
> import javax.management.monitor.*;
> import javax.management.*;
>
> public class Test1 {
>
>   public static void main(String[] args) throws Exception {
>       (new MonitorImpl()).getObservedObjects();
>   }
> }
> class MonitorImpl extends javax.management.monitor.Monitor {
>    @Override
>    public void start() {}
>    @Override
>    public void stop() {}
> }
>
>
>
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>


-- 
With best regards,
Alexei, Intel

Mime
View raw message