icedtea-web JSObject
huangxg
huangxuguang at loongson.cn
Mon Mar 25 02:28:12 UTC 2019
When I "make check" on icedtea-web-1.7.1, there will be errors about
JSObject, as follows:
//icedtea-web-1.7/tests/netx/unit/sun/applet/MethodOverloadResolverTest.java:217:
error: JSObject is abstract; cannot be instantiated//
// assertOverloadOrder(new JSObject(0L), JSObject.class,
String.class);//
// ^//
///icedtea-web-1.7/tests/netx/unit/sun/applet/MethodOverloadResolverTest.java:218:
error: JSObject is abstract; cannot be instantiated//
// assertAmbiguousOverload(new JSObject(0L), Object[].class,
String.class);/
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.
/ // Turned off until JSObject is unit-testable (privilege problem)//
//// @Test//
// public void testJSObjectOverloading() {//
// // based on
http://jdk6.java.net/plugin2/liveconnect/#OVERLOADED_METHODS//
// assertOverloadOrder(new JSObject(0L), JSObject.class,
String.class);//
// assertAmbiguousOverload(new JSObject(0L), Object[].class,
String.class);//
// }/
Can you comment out all the code in this test case? Or is there a way
around this mistake?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20190325/3986ebb5/attachment.html>
More information about the distro-pkg-dev
mailing list