You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Fedotov (JIRA)" <ji...@apache.org> on 2007/01/28 14:14:49 UTC
[jira] Closed: (HARMONY-2528) [drlvm] VM crashes instead of
throwing AbstractMethodError
[ https://issues.apache.org/jira/browse/HARMONY-2528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Fedotov closed HARMONY-2528.
-----------------------------------
Gregory, thanks - the patch is applied as expected.
> [drlvm] VM crashes instead of throwing AbstractMethodError
> ----------------------------------------------------------
>
> Key: HARMONY-2528
> URL: https://issues.apache.org/jira/browse/HARMONY-2528
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Alexei Fedotov
> Assigned To: Gregory Shimansky
> Attachments: AbstractMethodError.patch, AbstractMethodError_1.patch, AbstractMethodError_2.patch, H2528-AME.patch, Test1.java
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.