<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>When I "make check" on icedtea-web-1.7.1, there will be errors
about JSObject, as follows:</p>
<p><i>/icedtea-web-1.7/tests/netx/unit/sun/applet/MethodOverloadResolverTest.java:217:
error: JSObject is abstract; cannot be instantiated</i><i><br>
</i><i>Â Â Â Â Â Â Â assertOverloadOrder(new JSObject(0L),
JSObject.class, String.class);</i><i><br>
</i><i>Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ^</i><i><br>
</i><i>/icedtea-web-1.7/tests/netx/unit/sun/applet/MethodOverloadResolverTest.java:218:
error: JSObject is abstract; cannot be instantiated</i><i><br>
</i><i>Â Â Â Â Â Â Â assertAmbiguousOverload(new JSObject(0L),
Object[].class, String.class);</i></p>
<p>I see in the code that @Test has been commented out, but the code
has no comment, so that the test case will be compiled at compile
time.</p>
<p><i>Â Â Â // Turned off until JSObject is unit-testable (privilege
problem)</i><i><br>
</i><i>//Â Â Â @Test</i><i><br>
</i><i>Â Â Â public void testJSObjectOverloading() {</i><i><br>
</i><i>Â Â Â Â Â Â Â // based on <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://jdk6.java.net/plugin2/liveconnect/#OVERLOADED_METHODS">http://jdk6.java.net/plugin2/liveconnect/#OVERLOADED_METHODS</a></i><i><br>
</i><i>Â Â Â Â Â Â Â assertOverloadOrder(new JSObject(0L),
JSObject.class, String.class);</i><i><br>
</i><i>Â Â Â Â Â Â Â assertAmbiguousOverload(new JSObject(0L),
Object[].class, String.class);</i><i><br>
</i><i>Â Â Â }</i></p>
<p>Can you comment out all the code in this test case? Or is there a
way around this mistake?<br>
</p>
<p><br>
</p>
</body>
</html>