harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [classlib][beans] Failed to build classlib
Date Thu, 19 Oct 2006 11:13:08 GMT
Vera,

Try doing a clean first -- I had a similar problem and doing an 'ant
rebuild' fixed it from then on.

Regards,
Tim

Volynets, Vera wrote:
> Hi, 
> I've tried to build classlib today.
> it failed with following message:
> -compile:
>     [javac] Since compiler setting isn't classic or modern,ignoring fork setting.
>     [javac] Compiling 43 source files to C:\cygwin\work\harmony\trunk\working_classlib\build\classes
>     [javac] Since compiler setting isn't classic or modern,ignoring fork setting.
>     [javac] ----------
>     [javac] 1. ERROR in C:\cygwin\work\harmony\trunk\working_classlib\modules\beans\src\main\java\java\beans\Encoder.java
>     [javac]  (at line 129)
>     [javac]     if (!Statement.isPDConstructor(oldExp)
>     [javac]                    ^^^^^^^^^^^^^^^
>     [javac] The method isPDConstructor(Expression) is undefined for the type Statement
>     [javac] ----------
>     [javac] 2. ERROR in C:\cygwin\work\harmony\trunk\working_classlib\modules\beans\src\main\java\java\beans\Encoder.java
>     [javac]  (at line 130)
>     [javac]     && !Statement.isStaticMethodCall(oldExp)) {
>     [javac]                   ^^^^^^^^^^^^^^^^^^
>     [javac] The method isStaticMethodCall(Expression) is undefined for the type Statement
>     [javac] ----------
>     [javac] ----------
>     [javac] 3. ERROR in C:\cygwin\work\harmony\trunk\working_classlib\modules\logging\src\main\java\java\util\logging\Logger.java
>     [javac]  (at line 431)
>     [javac]     Handler handler = (Handler)LogManager.getInstanceByClass(handlerName);
>     [javac]                                           ^^^^^^^^^^^^^^^^^^
>     [javac] The method getInstanceByClass(String) is undefined for the type LogManager
>     [javac] ----------
>     [javac] 3 problems (3 errors)
> 
> 
> I think this patches could be reason of failure.
> r465186 | mloenko | 2006-10-18 13:28:23 +0400 (Wed, 18 Oct 2006) | 2 lines
> 
> applied patch from HARMONY-1529
> [classlib][beans] new fixes for DefaultPersistenceDelegate failures (2)
> ------------------------------------------------------------------------
> r465159 | mloenko | 2006-10-18 10:42:49 +0400 (Wed, 18 Oct 2006) | 3 lines
> 
> applied patch from HARMONY-1521
> [classlib][beans] XMLEncoder.writeStatement(null) thorws NPE on Harmony and works OK
on RI
> removed redundant method
> ------------------------------------------------------------------------
> r465156 | mloenko | 2006-10-18 10:23:52 +0400 (Wed, 18 Oct 2006) | 2 lines
> 
> applied patch from HARMONY-1515
> [classlib][beans] EventSetDescriptor(.., Method) throws IntrospectionException on Harmony
end creates object on RI
> ------------------------------------------------------------------------
> r465154 | mloenko | 2006-10-18 10:15:34 +0400 (Wed, 18 Oct 2006) | 2 lines
> 
> applied patch from HARMONY-1504
> [classlib][beans] RI throws NPE for public EventSetDescriptor(...) while Harmony does
not
> ------------------------------------------------------------------------
> r465152 | mloenko | 2006-10-18 10:00:21 +0400 (Wed, 18 Oct 2006) | 2 lines
> 
> applied patch from HARMONY-1304
> [classlib][bean] compatibility: no NPE on Harmony for Encoder().setPersistenceDelegate(Void.TYPE,
null)
> 
> Vera Volynets
> Intel Middleware Products Division 
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> 
> 

-- 

Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message