You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by "Volynets, Vera" <ve...@intel.com> on 2006/10/19 12:49:59 UTC
[classlib][beans] Failed to build classlib
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
Re: [classlib][beans] Failed to build classlib
Posted by Alexei Zakharov <al...@gmail.com>.
Hi Vera,
It seems you have experienced some problems with
classpath/bootclasspath. Try to do "ant clean".
Thanks,
19.10.06, Volynets, Vera<ve...@intel.com> написал(а):
>
> 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)
--
Alexei Zakharov,
Intel Enterprise Solutions Software Division, Russia
Re: [classlib][beans] Failed to build classlib
Posted by Ilya Okomin <il...@gmail.com>.
Vera,
I also could build latest sources.
Before doing that I ran 'ant clean'.
Regards,
Ilya.
On 10/19/06, Tim Ellison <t....@gmail.com> wrote:
>
> 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
>
>
--
--
Ilya Okomin
Intel Middleware Products Division
Re: [classlib][beans] Failed to build classlib
Posted by Tim Ellison <t....@gmail.com>.
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
Re: [classlib][beans] Failed to build classlib
Posted by Mikhail Loenko <ml...@gmail.com>.
I've just built fine. Will try on a fresh WS. Have you tried 'ant clean'?
19.10.06, Volynets, Vera<ve...@intel.com> написал(а):
>
> 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
>
>