Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Patch Available
Description
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() {}
}
Attachments
Attachments
Issue Links
- is blocked by
-
HARMONY-2906 [drlvm] applying code inspection comments to compile.cpp
- Closed
1.
|
[drlvm] applying code inspection comments to compile.cpp | Closed | Unassigned |