Mikhail Loenko wrote:
> -compile:
>    [mkdir] Created dir: C:\WS\Experiments\build\classes
>    [javac] Compiling 3589 source files to C:\WS\Experiments\build\classes
>    [javac] ----------
>    [javac] 1. ERROR in
> C:\WS\Experiments\modules\luni\src\main\java\java\util\P
> roperties.java
>    [javac]  (at line 571)
>    [javac]     String value = entry.getTextContent();
>    [javac]                          ^^^^^^^^^^^^^^
>    [javac] The method getTextContent() is undefined for the type Element
>    [javac] ----------
>    [javac] 1 problem (1 error)

As discussed, can you take a look and see which JARs you are compiling
against?

I would expect to see this method come from the org.w3c.dom.Node type in
depends\jars\xerces_2.8.0\xml-apis.jar

The method Node#getTextContent() only appeared in DOM Level 3 (i.e. JSE
5.0).  Is it possible that you are compiling against a 1.4 JRE and not
picking up the Harmony dependencies?

Regards,
Tim

-- 

Tim Ellison ([EMAIL PROTECTED])
IBM Java technology centre, UK.

Reply via email to