You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Mark Hindess <ma...@googlemail.com> on 2006/04/13 15:02:33 UTC
Compiler error on linux with IBM 5.0 and Sun 5.0 compilers
If I do a clean checkout and run:
ant -f make/depends.xml download
ant -f make/build.xml
ant -f make/build-test.xml compile-support
cd modules/crypto
ant -f make/build.xml test
I get a compiler error. I've tried using both an IBM 5.0 and Sun 5.0
compiler and get the same error:
An exception has occurred in the compiler (1.5.0_06). Please file a
bug at the Java Developer Connection
(http://java.sun.com/webapps/bugreport) after checking the Bug Parade
for duplicates. Include your program and the following diagnostic in
your report. Thank you.
I assume since everyone else is quietly working on adding 5.0 code
that I am the only one with this problem?
I'm about to try the same test under windows, but thought I'd mention
this hear first.
Regards,
Mark.
--
Mark Hindess <ma...@googlemail.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: Compiler error on linux with IBM 5.0 and Sun 5.0 compilers
Posted by Mikhail Loenko <ml...@gmail.com>.
Thanks, Stepan for fixing that
2006/4/13, Mark Hindess <ma...@googlemail.com>:
> Can you not fix it anyway? Please. It's a trivial refactoring.
>
> Regards,
> Mark.
>
>
> On 4/13/06, Mikhail Loenko <ml...@gmail.com> wrote:
> > I do not have one :)
> >
> > Will try...
> >
> > Thanks,
> > Mikhail
> >
> > 2006/4/13, Mark Hindess <ma...@googlemail.com>:
> > > And with the Sun compiler? It should be trivial to reproduce.
> > >
> > > -Mark.
> > >
> > > On 4/13/06, Mikhail Loenko <ml...@gmail.com> wrote:
> > > > I've just created workspave from scratch and built it according to instructions.
> > > >
> > > > Everything passed.
> > > >
> > > > Windows XP, BEA 1.5
> > > >
> > > > Thanks,
> > > > Mikhail
> > > >
> > > > 2006/4/13, Oliver Deakin <ol...@googlemail.com>:
> > > > > Thanks Mark
> > > > > This fixes the compilation problems I saw in ~1.java and ~2.java. I can
> > > > > now run the crypto testsuite through in Windows ok with no failures. I
> > > > > will run the whole set of testsuites for all modules and post if I see
> > > > > anything similar elsewhere.
> > > > >
> > > > >
> > > > > Mark Hindess wrote:
> > > > > > This fixes the *1.java case:
> > > > > >
> > > > > > @@ -391,9 +391,13 @@
> > > > > > }
> > > > > > }
> > > > > > try {
> > > > > > - skF[i].getKeySpec(secKeySpec,
> > > > > > - (defaultAlgorithm.equals(defaultAlgorithm2)
> > > > > > - ? DESedeKeySpec.class : DESKeySpec.class));
> > > > > > + Class c;
> > > > > > + if (defaultAlgorithm.equals(defaultAlgorithm2)) {
> > > > > > + c = DESedeKeySpec.class;
> > > > > > + } else {
> > > > > > + c = DESKeySpec.class;
> > > > > > + }
> > > > > > + skF[i].getKeySpec(secKeySpec, c);
> > > > > > fail("getKeySpec(secKey, Class):
> > > > > > InvalidKeySpecException must be thrown");
> > > > > > } catch (InvalidKeySpecException e) {
> > > > > > }
> > > > > >
> > > > > > Just looking at the 2.java case and will submit a JIRA with both.
> > > > > >
> > > > > > -Mark.
> > > > > >
> > > > > > On 4/13/06, Geir Magnusson Jr <ge...@pobox.com> wrote:
> > > > > >
> > > > > >> I think that would be a workaround once we understand the cause.
> > > > > >>
> > > > > >> geir
> > > > > >>
> > > > > >> Mikhail Loenko wrote:
> > > > > >>
> > > > > >>> We may compile the tests old way...
> > > > > >>>
> > > > > >>> Thanks,
> > > > > >>> Mikhail
> > > > > >>>
> > > > > >>> 2006/4/13, Mark Hindess <ma...@googlemail.com>:
> > > > > >>>
> > > > > >>>> Excluding these two tests:
> > > > > >>>>
> > > > > >>>> javax/crypto/SecretKeyFactoryTest1.java
> > > > > >>>> javax/crypto/SecretKeyFactoryTest2.java
> > > > > >>>>
> > > > > >>>> then the compilation works.
> > > > > >>>>
> > > > > >>>> -Mark.
> > > > > >>>>
> > > > > >>>> On 4/13/06, Oliver Deakin <ol...@googlemail.com> wrote:
> > > > > >>>>
> > > > > >>>>> Hi Mark,
> > > > > >>>>>
> > > > > >>>>> Ive just found the same thing while building the crypto tests in windows
> > > > > >>>>> using J9 50. All tests up to there are ok. The output I get is similar
> > > > > >>>>> to yours:
> > > > > >>>>>
> > > > > >>>>> compile.tests:
> > > > > >>>>> [echo] Compiling CRYPTO tests from
> > > > > >>>>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\src\test\java
> > > > > >>>>> [javac] Compiling 31 source files to
> > > > > >>>>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\bin\test
> > > > > >>>>> [javac] An exception has occurred in the compiler (1.5.0). Please
> > > > > >>>>> file a bug
> > > > > >>>>> at the Java Developer Connection
> > > > > >>>>> (http://java.sun.com/webapps/bugreport) after
> > > > > >>>>> checking the Bug Parade for duplicates. Include your program and the
> > > > > >>>>> following
> > > > > >>>>> diagnostic in your report. Thank you.
> > > > > >>>>>
> > > > > >>>>> Ill take a look and see if I can find which class it's compiling at the
> > > > > >>>>> time.
> > > > > >>>>>
> > > > > >>>>> Regards,
> > > > > >>>>> Oliver
> > > > > >>>>>
> > > > > >>>>> Mark Hindess wrote:
> > > > > >>>>>
> > > > > >>>>>> If I do a clean checkout and run:
> > > > > >>>>>>
> > > > > >>>>>> ant -f make/depends.xml download
> > > > > >>>>>> ant -f make/build.xml
> > > > > >>>>>> ant -f make/build-test.xml compile-support
> > > > > >>>>>> cd modules/crypto
> > > > > >>>>>> ant -f make/build.xml test
> > > > > >>>>>>
> > > > > >>>>>> I get a compiler error. I've tried using both an IBM 5.0 and Sun 5.0
> > > > > >>>>>> compiler and get the same error:
> > > > > >>>>>>
> > > > > >>>>>> An exception has occurred in the compiler (1.5.0_06). Please file a
> > > > > >>>>>> bug at the Java Developer Connection
> > > > > >>>>>> (http://java.sun.com/webapps/bugreport) after checking the Bug Parade
> > > > > >>>>>> for duplicates. Include your program and the following diagnostic in
> > > > > >>>>>> your report. Thank you.
> > > > > >>>>>>
> > > > > >>>>>> I assume since everyone else is quietly working on adding 5.0 code
> > > > > >>>>>> that I am the only one with this problem?
> > > > > >>>>>>
> > > > > >>>>>> I'm about to try the same test under windows, but thought I'd mention
> > > > > >>>>>> this hear first.
> > > > > >>>>>>
> > > > > >>>>>> Regards,
> > > > > >>>>>> Mark.
> > > > > >>>>>>
> > > > > >>>>>> --
> > > > > >>>>>> Mark Hindess <ma...@googlemail.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
> > > > > >>>>>>
> > > > > >>>>>>
> > > > > >>>>>>
> > > > > >>>>>>
> > > > > >>>>> --
> > > > > >>>>> Oliver Deakin
> > > > > >>>>> IBM United Kingdom Limited
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>> ---------------------------------------------------------------------
> > > > > >>>>> 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
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>> --
> > > > > >>>> Mark Hindess <ma...@googlemail.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
> > > > > >>>>
> > > > > >>>>
> > > > > >>>>
> > > > > >>> ---------------------------------------------------------------------
> > > > > >>> 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
> > > > > >>>
> > > > > >>>
> > > > > >>>
> > > > > >> ---------------------------------------------------------------------
> > > > > >> 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
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Mark Hindess <ma...@googlemail.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
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > Oliver Deakin
> > > > > IBM United Kingdom Limited
> > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > 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
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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
> > > >
> > > >
> > >
> > >
> > > --
> > > Mark Hindess <ma...@googlemail.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
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>
>
> --
> Mark Hindess <ma...@googlemail.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
>
>
---------------------------------------------------------------------
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: Compiler error on linux with IBM 5.0 and Sun 5.0 compilers
Posted by Mark Hindess <ma...@googlemail.com>.
Can you not fix it anyway? Please. It's a trivial refactoring.
Regards,
Mark.
On 4/13/06, Mikhail Loenko <ml...@gmail.com> wrote:
> I do not have one :)
>
> Will try...
>
> Thanks,
> Mikhail
>
> 2006/4/13, Mark Hindess <ma...@googlemail.com>:
> > And with the Sun compiler? It should be trivial to reproduce.
> >
> > -Mark.
> >
> > On 4/13/06, Mikhail Loenko <ml...@gmail.com> wrote:
> > > I've just created workspave from scratch and built it according to instructions.
> > >
> > > Everything passed.
> > >
> > > Windows XP, BEA 1.5
> > >
> > > Thanks,
> > > Mikhail
> > >
> > > 2006/4/13, Oliver Deakin <ol...@googlemail.com>:
> > > > Thanks Mark
> > > > This fixes the compilation problems I saw in ~1.java and ~2.java. I can
> > > > now run the crypto testsuite through in Windows ok with no failures. I
> > > > will run the whole set of testsuites for all modules and post if I see
> > > > anything similar elsewhere.
> > > >
> > > >
> > > > Mark Hindess wrote:
> > > > > This fixes the *1.java case:
> > > > >
> > > > > @@ -391,9 +391,13 @@
> > > > > }
> > > > > }
> > > > > try {
> > > > > - skF[i].getKeySpec(secKeySpec,
> > > > > - (defaultAlgorithm.equals(defaultAlgorithm2)
> > > > > - ? DESedeKeySpec.class : DESKeySpec.class));
> > > > > + Class c;
> > > > > + if (defaultAlgorithm.equals(defaultAlgorithm2)) {
> > > > > + c = DESedeKeySpec.class;
> > > > > + } else {
> > > > > + c = DESKeySpec.class;
> > > > > + }
> > > > > + skF[i].getKeySpec(secKeySpec, c);
> > > > > fail("getKeySpec(secKey, Class):
> > > > > InvalidKeySpecException must be thrown");
> > > > > } catch (InvalidKeySpecException e) {
> > > > > }
> > > > >
> > > > > Just looking at the 2.java case and will submit a JIRA with both.
> > > > >
> > > > > -Mark.
> > > > >
> > > > > On 4/13/06, Geir Magnusson Jr <ge...@pobox.com> wrote:
> > > > >
> > > > >> I think that would be a workaround once we understand the cause.
> > > > >>
> > > > >> geir
> > > > >>
> > > > >> Mikhail Loenko wrote:
> > > > >>
> > > > >>> We may compile the tests old way...
> > > > >>>
> > > > >>> Thanks,
> > > > >>> Mikhail
> > > > >>>
> > > > >>> 2006/4/13, Mark Hindess <ma...@googlemail.com>:
> > > > >>>
> > > > >>>> Excluding these two tests:
> > > > >>>>
> > > > >>>> javax/crypto/SecretKeyFactoryTest1.java
> > > > >>>> javax/crypto/SecretKeyFactoryTest2.java
> > > > >>>>
> > > > >>>> then the compilation works.
> > > > >>>>
> > > > >>>> -Mark.
> > > > >>>>
> > > > >>>> On 4/13/06, Oliver Deakin <ol...@googlemail.com> wrote:
> > > > >>>>
> > > > >>>>> Hi Mark,
> > > > >>>>>
> > > > >>>>> Ive just found the same thing while building the crypto tests in windows
> > > > >>>>> using J9 50. All tests up to there are ok. The output I get is similar
> > > > >>>>> to yours:
> > > > >>>>>
> > > > >>>>> compile.tests:
> > > > >>>>> [echo] Compiling CRYPTO tests from
> > > > >>>>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\src\test\java
> > > > >>>>> [javac] Compiling 31 source files to
> > > > >>>>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\bin\test
> > > > >>>>> [javac] An exception has occurred in the compiler (1.5.0). Please
> > > > >>>>> file a bug
> > > > >>>>> at the Java Developer Connection
> > > > >>>>> (http://java.sun.com/webapps/bugreport) after
> > > > >>>>> checking the Bug Parade for duplicates. Include your program and the
> > > > >>>>> following
> > > > >>>>> diagnostic in your report. Thank you.
> > > > >>>>>
> > > > >>>>> Ill take a look and see if I can find which class it's compiling at the
> > > > >>>>> time.
> > > > >>>>>
> > > > >>>>> Regards,
> > > > >>>>> Oliver
> > > > >>>>>
> > > > >>>>> Mark Hindess wrote:
> > > > >>>>>
> > > > >>>>>> If I do a clean checkout and run:
> > > > >>>>>>
> > > > >>>>>> ant -f make/depends.xml download
> > > > >>>>>> ant -f make/build.xml
> > > > >>>>>> ant -f make/build-test.xml compile-support
> > > > >>>>>> cd modules/crypto
> > > > >>>>>> ant -f make/build.xml test
> > > > >>>>>>
> > > > >>>>>> I get a compiler error. I've tried using both an IBM 5.0 and Sun 5.0
> > > > >>>>>> compiler and get the same error:
> > > > >>>>>>
> > > > >>>>>> An exception has occurred in the compiler (1.5.0_06). Please file a
> > > > >>>>>> bug at the Java Developer Connection
> > > > >>>>>> (http://java.sun.com/webapps/bugreport) after checking the Bug Parade
> > > > >>>>>> for duplicates. Include your program and the following diagnostic in
> > > > >>>>>> your report. Thank you.
> > > > >>>>>>
> > > > >>>>>> I assume since everyone else is quietly working on adding 5.0 code
> > > > >>>>>> that I am the only one with this problem?
> > > > >>>>>>
> > > > >>>>>> I'm about to try the same test under windows, but thought I'd mention
> > > > >>>>>> this hear first.
> > > > >>>>>>
> > > > >>>>>> Regards,
> > > > >>>>>> Mark.
> > > > >>>>>>
> > > > >>>>>> --
> > > > >>>>>> Mark Hindess <ma...@googlemail.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
> > > > >>>>>>
> > > > >>>>>>
> > > > >>>>>>
> > > > >>>>>>
> > > > >>>>> --
> > > > >>>>> Oliver Deakin
> > > > >>>>> IBM United Kingdom Limited
> > > > >>>>>
> > > > >>>>>
> > > > >>>>> ---------------------------------------------------------------------
> > > > >>>>> 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
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>> --
> > > > >>>> Mark Hindess <ma...@googlemail.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
> > > > >>>>
> > > > >>>>
> > > > >>>>
> > > > >>> ---------------------------------------------------------------------
> > > > >>> 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
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >> ---------------------------------------------------------------------
> > > > >> 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
> > > > >>
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > > > --
> > > > > Mark Hindess <ma...@googlemail.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
> > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > Oliver Deakin
> > > > IBM United Kingdom Limited
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> > >
> > >
> >
> >
> > --
> > Mark Hindess <ma...@googlemail.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
> >
> >
>
> ---------------------------------------------------------------------
> 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
>
>
--
Mark Hindess <ma...@googlemail.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: Compiler error on linux with IBM 5.0 and Sun 5.0 compilers
Posted by Mikhail Loenko <ml...@gmail.com>.
I do not have one :)
Will try...
Thanks,
Mikhail
2006/4/13, Mark Hindess <ma...@googlemail.com>:
> And with the Sun compiler? It should be trivial to reproduce.
>
> -Mark.
>
> On 4/13/06, Mikhail Loenko <ml...@gmail.com> wrote:
> > I've just created workspave from scratch and built it according to instructions.
> >
> > Everything passed.
> >
> > Windows XP, BEA 1.5
> >
> > Thanks,
> > Mikhail
> >
> > 2006/4/13, Oliver Deakin <ol...@googlemail.com>:
> > > Thanks Mark
> > > This fixes the compilation problems I saw in ~1.java and ~2.java. I can
> > > now run the crypto testsuite through in Windows ok with no failures. I
> > > will run the whole set of testsuites for all modules and post if I see
> > > anything similar elsewhere.
> > >
> > >
> > > Mark Hindess wrote:
> > > > This fixes the *1.java case:
> > > >
> > > > @@ -391,9 +391,13 @@
> > > > }
> > > > }
> > > > try {
> > > > - skF[i].getKeySpec(secKeySpec,
> > > > - (defaultAlgorithm.equals(defaultAlgorithm2)
> > > > - ? DESedeKeySpec.class : DESKeySpec.class));
> > > > + Class c;
> > > > + if (defaultAlgorithm.equals(defaultAlgorithm2)) {
> > > > + c = DESedeKeySpec.class;
> > > > + } else {
> > > > + c = DESKeySpec.class;
> > > > + }
> > > > + skF[i].getKeySpec(secKeySpec, c);
> > > > fail("getKeySpec(secKey, Class):
> > > > InvalidKeySpecException must be thrown");
> > > > } catch (InvalidKeySpecException e) {
> > > > }
> > > >
> > > > Just looking at the 2.java case and will submit a JIRA with both.
> > > >
> > > > -Mark.
> > > >
> > > > On 4/13/06, Geir Magnusson Jr <ge...@pobox.com> wrote:
> > > >
> > > >> I think that would be a workaround once we understand the cause.
> > > >>
> > > >> geir
> > > >>
> > > >> Mikhail Loenko wrote:
> > > >>
> > > >>> We may compile the tests old way...
> > > >>>
> > > >>> Thanks,
> > > >>> Mikhail
> > > >>>
> > > >>> 2006/4/13, Mark Hindess <ma...@googlemail.com>:
> > > >>>
> > > >>>> Excluding these two tests:
> > > >>>>
> > > >>>> javax/crypto/SecretKeyFactoryTest1.java
> > > >>>> javax/crypto/SecretKeyFactoryTest2.java
> > > >>>>
> > > >>>> then the compilation works.
> > > >>>>
> > > >>>> -Mark.
> > > >>>>
> > > >>>> On 4/13/06, Oliver Deakin <ol...@googlemail.com> wrote:
> > > >>>>
> > > >>>>> Hi Mark,
> > > >>>>>
> > > >>>>> Ive just found the same thing while building the crypto tests in windows
> > > >>>>> using J9 50. All tests up to there are ok. The output I get is similar
> > > >>>>> to yours:
> > > >>>>>
> > > >>>>> compile.tests:
> > > >>>>> [echo] Compiling CRYPTO tests from
> > > >>>>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\src\test\java
> > > >>>>> [javac] Compiling 31 source files to
> > > >>>>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\bin\test
> > > >>>>> [javac] An exception has occurred in the compiler (1.5.0). Please
> > > >>>>> file a bug
> > > >>>>> at the Java Developer Connection
> > > >>>>> (http://java.sun.com/webapps/bugreport) after
> > > >>>>> checking the Bug Parade for duplicates. Include your program and the
> > > >>>>> following
> > > >>>>> diagnostic in your report. Thank you.
> > > >>>>>
> > > >>>>> Ill take a look and see if I can find which class it's compiling at the
> > > >>>>> time.
> > > >>>>>
> > > >>>>> Regards,
> > > >>>>> Oliver
> > > >>>>>
> > > >>>>> Mark Hindess wrote:
> > > >>>>>
> > > >>>>>> If I do a clean checkout and run:
> > > >>>>>>
> > > >>>>>> ant -f make/depends.xml download
> > > >>>>>> ant -f make/build.xml
> > > >>>>>> ant -f make/build-test.xml compile-support
> > > >>>>>> cd modules/crypto
> > > >>>>>> ant -f make/build.xml test
> > > >>>>>>
> > > >>>>>> I get a compiler error. I've tried using both an IBM 5.0 and Sun 5.0
> > > >>>>>> compiler and get the same error:
> > > >>>>>>
> > > >>>>>> An exception has occurred in the compiler (1.5.0_06). Please file a
> > > >>>>>> bug at the Java Developer Connection
> > > >>>>>> (http://java.sun.com/webapps/bugreport) after checking the Bug Parade
> > > >>>>>> for duplicates. Include your program and the following diagnostic in
> > > >>>>>> your report. Thank you.
> > > >>>>>>
> > > >>>>>> I assume since everyone else is quietly working on adding 5.0 code
> > > >>>>>> that I am the only one with this problem?
> > > >>>>>>
> > > >>>>>> I'm about to try the same test under windows, but thought I'd mention
> > > >>>>>> this hear first.
> > > >>>>>>
> > > >>>>>> Regards,
> > > >>>>>> Mark.
> > > >>>>>>
> > > >>>>>> --
> > > >>>>>> Mark Hindess <ma...@googlemail.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
> > > >>>>>>
> > > >>>>>>
> > > >>>>>>
> > > >>>>>>
> > > >>>>> --
> > > >>>>> Oliver Deakin
> > > >>>>> IBM United Kingdom Limited
> > > >>>>>
> > > >>>>>
> > > >>>>> ---------------------------------------------------------------------
> > > >>>>> 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
> > > >>>>>
> > > >>>>>
> > > >>>>>
> > > >>>> --
> > > >>>> Mark Hindess <ma...@googlemail.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
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>> ---------------------------------------------------------------------
> > > >>> 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
> > > >>>
> > > >>>
> > > >>>
> > > >> ---------------------------------------------------------------------
> > > >> 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
> > > >>
> > > >>
> > > >>
> > > >
> > > >
> > > > --
> > > > Mark Hindess <ma...@googlemail.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
> > > >
> > > >
> > > >
> > >
> > > --
> > > Oliver Deakin
> > > IBM United Kingdom Limited
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>
>
> --
> Mark Hindess <ma...@googlemail.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
>
>
---------------------------------------------------------------------
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: Compiler error on linux with IBM 5.0 and Sun 5.0 compilers
Posted by Mark Hindess <ma...@googlemail.com>.
And with the Sun compiler? It should be trivial to reproduce.
-Mark.
On 4/13/06, Mikhail Loenko <ml...@gmail.com> wrote:
> I've just created workspave from scratch and built it according to instructions.
>
> Everything passed.
>
> Windows XP, BEA 1.5
>
> Thanks,
> Mikhail
>
> 2006/4/13, Oliver Deakin <ol...@googlemail.com>:
> > Thanks Mark
> > This fixes the compilation problems I saw in ~1.java and ~2.java. I can
> > now run the crypto testsuite through in Windows ok with no failures. I
> > will run the whole set of testsuites for all modules and post if I see
> > anything similar elsewhere.
> >
> >
> > Mark Hindess wrote:
> > > This fixes the *1.java case:
> > >
> > > @@ -391,9 +391,13 @@
> > > }
> > > }
> > > try {
> > > - skF[i].getKeySpec(secKeySpec,
> > > - (defaultAlgorithm.equals(defaultAlgorithm2)
> > > - ? DESedeKeySpec.class : DESKeySpec.class));
> > > + Class c;
> > > + if (defaultAlgorithm.equals(defaultAlgorithm2)) {
> > > + c = DESedeKeySpec.class;
> > > + } else {
> > > + c = DESKeySpec.class;
> > > + }
> > > + skF[i].getKeySpec(secKeySpec, c);
> > > fail("getKeySpec(secKey, Class):
> > > InvalidKeySpecException must be thrown");
> > > } catch (InvalidKeySpecException e) {
> > > }
> > >
> > > Just looking at the 2.java case and will submit a JIRA with both.
> > >
> > > -Mark.
> > >
> > > On 4/13/06, Geir Magnusson Jr <ge...@pobox.com> wrote:
> > >
> > >> I think that would be a workaround once we understand the cause.
> > >>
> > >> geir
> > >>
> > >> Mikhail Loenko wrote:
> > >>
> > >>> We may compile the tests old way...
> > >>>
> > >>> Thanks,
> > >>> Mikhail
> > >>>
> > >>> 2006/4/13, Mark Hindess <ma...@googlemail.com>:
> > >>>
> > >>>> Excluding these two tests:
> > >>>>
> > >>>> javax/crypto/SecretKeyFactoryTest1.java
> > >>>> javax/crypto/SecretKeyFactoryTest2.java
> > >>>>
> > >>>> then the compilation works.
> > >>>>
> > >>>> -Mark.
> > >>>>
> > >>>> On 4/13/06, Oliver Deakin <ol...@googlemail.com> wrote:
> > >>>>
> > >>>>> Hi Mark,
> > >>>>>
> > >>>>> Ive just found the same thing while building the crypto tests in windows
> > >>>>> using J9 50. All tests up to there are ok. The output I get is similar
> > >>>>> to yours:
> > >>>>>
> > >>>>> compile.tests:
> > >>>>> [echo] Compiling CRYPTO tests from
> > >>>>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\src\test\java
> > >>>>> [javac] Compiling 31 source files to
> > >>>>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\bin\test
> > >>>>> [javac] An exception has occurred in the compiler (1.5.0). Please
> > >>>>> file a bug
> > >>>>> at the Java Developer Connection
> > >>>>> (http://java.sun.com/webapps/bugreport) after
> > >>>>> checking the Bug Parade for duplicates. Include your program and the
> > >>>>> following
> > >>>>> diagnostic in your report. Thank you.
> > >>>>>
> > >>>>> Ill take a look and see if I can find which class it's compiling at the
> > >>>>> time.
> > >>>>>
> > >>>>> Regards,
> > >>>>> Oliver
> > >>>>>
> > >>>>> Mark Hindess wrote:
> > >>>>>
> > >>>>>> If I do a clean checkout and run:
> > >>>>>>
> > >>>>>> ant -f make/depends.xml download
> > >>>>>> ant -f make/build.xml
> > >>>>>> ant -f make/build-test.xml compile-support
> > >>>>>> cd modules/crypto
> > >>>>>> ant -f make/build.xml test
> > >>>>>>
> > >>>>>> I get a compiler error. I've tried using both an IBM 5.0 and Sun 5.0
> > >>>>>> compiler and get the same error:
> > >>>>>>
> > >>>>>> An exception has occurred in the compiler (1.5.0_06). Please file a
> > >>>>>> bug at the Java Developer Connection
> > >>>>>> (http://java.sun.com/webapps/bugreport) after checking the Bug Parade
> > >>>>>> for duplicates. Include your program and the following diagnostic in
> > >>>>>> your report. Thank you.
> > >>>>>>
> > >>>>>> I assume since everyone else is quietly working on adding 5.0 code
> > >>>>>> that I am the only one with this problem?
> > >>>>>>
> > >>>>>> I'm about to try the same test under windows, but thought I'd mention
> > >>>>>> this hear first.
> > >>>>>>
> > >>>>>> Regards,
> > >>>>>> Mark.
> > >>>>>>
> > >>>>>> --
> > >>>>>> Mark Hindess <ma...@googlemail.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
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>> --
> > >>>>> Oliver Deakin
> > >>>>> IBM United Kingdom Limited
> > >>>>>
> > >>>>>
> > >>>>> ---------------------------------------------------------------------
> > >>>>> 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
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>> --
> > >>>> Mark Hindess <ma...@googlemail.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
> > >>>>
> > >>>>
> > >>>>
> > >>> ---------------------------------------------------------------------
> > >>> 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
> > >>>
> > >>>
> > >>>
> > >> ---------------------------------------------------------------------
> > >> 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
> > >>
> > >>
> > >>
> > >
> > >
> > > --
> > > Mark Hindess <ma...@googlemail.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
> > >
> > >
> > >
> >
> > --
> > Oliver Deakin
> > IBM United Kingdom Limited
> >
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>
> ---------------------------------------------------------------------
> 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
>
>
--
Mark Hindess <ma...@googlemail.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: Compiler error on linux with IBM 5.0 and Sun 5.0 compilers
Posted by Mikhail Loenko <ml...@gmail.com>.
I've just created workspave from scratch and built it according to instructions.
Everything passed.
Windows XP, BEA 1.5
Thanks,
Mikhail
2006/4/13, Oliver Deakin <ol...@googlemail.com>:
> Thanks Mark
> This fixes the compilation problems I saw in ~1.java and ~2.java. I can
> now run the crypto testsuite through in Windows ok with no failures. I
> will run the whole set of testsuites for all modules and post if I see
> anything similar elsewhere.
>
>
> Mark Hindess wrote:
> > This fixes the *1.java case:
> >
> > @@ -391,9 +391,13 @@
> > }
> > }
> > try {
> > - skF[i].getKeySpec(secKeySpec,
> > - (defaultAlgorithm.equals(defaultAlgorithm2)
> > - ? DESedeKeySpec.class : DESKeySpec.class));
> > + Class c;
> > + if (defaultAlgorithm.equals(defaultAlgorithm2)) {
> > + c = DESedeKeySpec.class;
> > + } else {
> > + c = DESKeySpec.class;
> > + }
> > + skF[i].getKeySpec(secKeySpec, c);
> > fail("getKeySpec(secKey, Class):
> > InvalidKeySpecException must be thrown");
> > } catch (InvalidKeySpecException e) {
> > }
> >
> > Just looking at the 2.java case and will submit a JIRA with both.
> >
> > -Mark.
> >
> > On 4/13/06, Geir Magnusson Jr <ge...@pobox.com> wrote:
> >
> >> I think that would be a workaround once we understand the cause.
> >>
> >> geir
> >>
> >> Mikhail Loenko wrote:
> >>
> >>> We may compile the tests old way...
> >>>
> >>> Thanks,
> >>> Mikhail
> >>>
> >>> 2006/4/13, Mark Hindess <ma...@googlemail.com>:
> >>>
> >>>> Excluding these two tests:
> >>>>
> >>>> javax/crypto/SecretKeyFactoryTest1.java
> >>>> javax/crypto/SecretKeyFactoryTest2.java
> >>>>
> >>>> then the compilation works.
> >>>>
> >>>> -Mark.
> >>>>
> >>>> On 4/13/06, Oliver Deakin <ol...@googlemail.com> wrote:
> >>>>
> >>>>> Hi Mark,
> >>>>>
> >>>>> Ive just found the same thing while building the crypto tests in windows
> >>>>> using J9 50. All tests up to there are ok. The output I get is similar
> >>>>> to yours:
> >>>>>
> >>>>> compile.tests:
> >>>>> [echo] Compiling CRYPTO tests from
> >>>>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\src\test\java
> >>>>> [javac] Compiling 31 source files to
> >>>>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\bin\test
> >>>>> [javac] An exception has occurred in the compiler (1.5.0). Please
> >>>>> file a bug
> >>>>> at the Java Developer Connection
> >>>>> (http://java.sun.com/webapps/bugreport) after
> >>>>> checking the Bug Parade for duplicates. Include your program and the
> >>>>> following
> >>>>> diagnostic in your report. Thank you.
> >>>>>
> >>>>> Ill take a look and see if I can find which class it's compiling at the
> >>>>> time.
> >>>>>
> >>>>> Regards,
> >>>>> Oliver
> >>>>>
> >>>>> Mark Hindess wrote:
> >>>>>
> >>>>>> If I do a clean checkout and run:
> >>>>>>
> >>>>>> ant -f make/depends.xml download
> >>>>>> ant -f make/build.xml
> >>>>>> ant -f make/build-test.xml compile-support
> >>>>>> cd modules/crypto
> >>>>>> ant -f make/build.xml test
> >>>>>>
> >>>>>> I get a compiler error. I've tried using both an IBM 5.0 and Sun 5.0
> >>>>>> compiler and get the same error:
> >>>>>>
> >>>>>> An exception has occurred in the compiler (1.5.0_06). Please file a
> >>>>>> bug at the Java Developer Connection
> >>>>>> (http://java.sun.com/webapps/bugreport) after checking the Bug Parade
> >>>>>> for duplicates. Include your program and the following diagnostic in
> >>>>>> your report. Thank you.
> >>>>>>
> >>>>>> I assume since everyone else is quietly working on adding 5.0 code
> >>>>>> that I am the only one with this problem?
> >>>>>>
> >>>>>> I'm about to try the same test under windows, but thought I'd mention
> >>>>>> this hear first.
> >>>>>>
> >>>>>> Regards,
> >>>>>> Mark.
> >>>>>>
> >>>>>> --
> >>>>>> Mark Hindess <ma...@googlemail.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
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>> --
> >>>>> Oliver Deakin
> >>>>> IBM United Kingdom Limited
> >>>>>
> >>>>>
> >>>>> ---------------------------------------------------------------------
> >>>>> 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
> >>>>>
> >>>>>
> >>>>>
> >>>> --
> >>>> Mark Hindess <ma...@googlemail.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
> >>>>
> >>>>
> >>>>
> >>> ---------------------------------------------------------------------
> >>> 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
> >>>
> >>>
> >>>
> >> ---------------------------------------------------------------------
> >> 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
> >>
> >>
> >>
> >
> >
> > --
> > Mark Hindess <ma...@googlemail.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
> >
> >
> >
>
> --
> Oliver Deakin
> IBM United Kingdom Limited
>
>
> ---------------------------------------------------------------------
> 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
>
>
---------------------------------------------------------------------
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: Compiler error on linux with IBM 5.0 and Sun 5.0 compilers
Posted by Oliver Deakin <ol...@googlemail.com>.
Thanks Mark
This fixes the compilation problems I saw in ~1.java and ~2.java. I can
now run the crypto testsuite through in Windows ok with no failures. I
will run the whole set of testsuites for all modules and post if I see
anything similar elsewhere.
Mark Hindess wrote:
> This fixes the *1.java case:
>
> @@ -391,9 +391,13 @@
> }
> }
> try {
> - skF[i].getKeySpec(secKeySpec,
> - (defaultAlgorithm.equals(defaultAlgorithm2)
> - ? DESedeKeySpec.class : DESKeySpec.class));
> + Class c;
> + if (defaultAlgorithm.equals(defaultAlgorithm2)) {
> + c = DESedeKeySpec.class;
> + } else {
> + c = DESKeySpec.class;
> + }
> + skF[i].getKeySpec(secKeySpec, c);
> fail("getKeySpec(secKey, Class):
> InvalidKeySpecException must be thrown");
> } catch (InvalidKeySpecException e) {
> }
>
> Just looking at the 2.java case and will submit a JIRA with both.
>
> -Mark.
>
> On 4/13/06, Geir Magnusson Jr <ge...@pobox.com> wrote:
>
>> I think that would be a workaround once we understand the cause.
>>
>> geir
>>
>> Mikhail Loenko wrote:
>>
>>> We may compile the tests old way...
>>>
>>> Thanks,
>>> Mikhail
>>>
>>> 2006/4/13, Mark Hindess <ma...@googlemail.com>:
>>>
>>>> Excluding these two tests:
>>>>
>>>> javax/crypto/SecretKeyFactoryTest1.java
>>>> javax/crypto/SecretKeyFactoryTest2.java
>>>>
>>>> then the compilation works.
>>>>
>>>> -Mark.
>>>>
>>>> On 4/13/06, Oliver Deakin <ol...@googlemail.com> wrote:
>>>>
>>>>> Hi Mark,
>>>>>
>>>>> Ive just found the same thing while building the crypto tests in windows
>>>>> using J9 50. All tests up to there are ok. The output I get is similar
>>>>> to yours:
>>>>>
>>>>> compile.tests:
>>>>> [echo] Compiling CRYPTO tests from
>>>>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\src\test\java
>>>>> [javac] Compiling 31 source files to
>>>>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\bin\test
>>>>> [javac] An exception has occurred in the compiler (1.5.0). Please
>>>>> file a bug
>>>>> at the Java Developer Connection
>>>>> (http://java.sun.com/webapps/bugreport) after
>>>>> checking the Bug Parade for duplicates. Include your program and the
>>>>> following
>>>>> diagnostic in your report. Thank you.
>>>>>
>>>>> Ill take a look and see if I can find which class it's compiling at the
>>>>> time.
>>>>>
>>>>> Regards,
>>>>> Oliver
>>>>>
>>>>> Mark Hindess wrote:
>>>>>
>>>>>> If I do a clean checkout and run:
>>>>>>
>>>>>> ant -f make/depends.xml download
>>>>>> ant -f make/build.xml
>>>>>> ant -f make/build-test.xml compile-support
>>>>>> cd modules/crypto
>>>>>> ant -f make/build.xml test
>>>>>>
>>>>>> I get a compiler error. I've tried using both an IBM 5.0 and Sun 5.0
>>>>>> compiler and get the same error:
>>>>>>
>>>>>> An exception has occurred in the compiler (1.5.0_06). Please file a
>>>>>> bug at the Java Developer Connection
>>>>>> (http://java.sun.com/webapps/bugreport) after checking the Bug Parade
>>>>>> for duplicates. Include your program and the following diagnostic in
>>>>>> your report. Thank you.
>>>>>>
>>>>>> I assume since everyone else is quietly working on adding 5.0 code
>>>>>> that I am the only one with this problem?
>>>>>>
>>>>>> I'm about to try the same test under windows, but thought I'd mention
>>>>>> this hear first.
>>>>>>
>>>>>> Regards,
>>>>>> Mark.
>>>>>>
>>>>>> --
>>>>>> Mark Hindess <ma...@googlemail.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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>>> Oliver Deakin
>>>>> IBM United Kingdom Limited
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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
>>>>>
>>>>>
>>>>>
>>>> --
>>>> Mark Hindess <ma...@googlemail.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
>>>>
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> 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
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> 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
>>
>>
>>
>
>
> --
> Mark Hindess <ma...@googlemail.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
>
>
>
--
Oliver Deakin
IBM United Kingdom Limited
---------------------------------------------------------------------
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: Compiler error on linux with IBM 5.0 and Sun 5.0 compilers
Posted by Mark Hindess <ma...@googlemail.com>.
Turns out this fixed the compilation on its own. Have submitted the
JIRA HARMONY-344 to record this problem. I hope this doesn't happen
too often now we are using unsupported compiler options but if it does
I hope it's always this simple to work around.
-Mark.
On 4/13/06, Mark Hindess <ma...@googlemail.com> wrote:
> This fixes the *1.java case:
>
> @@ -391,9 +391,13 @@
> }
> }
> try {
> - skF[i].getKeySpec(secKeySpec,
> - (defaultAlgorithm.equals(defaultAlgorithm2)
> - ? DESedeKeySpec.class : DESKeySpec.class));
> + Class c;
> + if (defaultAlgorithm.equals(defaultAlgorithm2)) {
> + c = DESedeKeySpec.class;
> + } else {
> + c = DESKeySpec.class;
> + }
> + skF[i].getKeySpec(secKeySpec, c);
> fail("getKeySpec(secKey, Class):
> InvalidKeySpecException must be thrown");
> } catch (InvalidKeySpecException e) {
> }
>
> Just looking at the 2.java case and will submit a JIRA with both.
>
> -Mark.
>
> On 4/13/06, Geir Magnusson Jr <ge...@pobox.com> wrote:
> > I think that would be a workaround once we understand the cause.
> >
> > geir
> >
> > Mikhail Loenko wrote:
> > > We may compile the tests old way...
> > >
> > > Thanks,
> > > Mikhail
> > >
> > > 2006/4/13, Mark Hindess <ma...@googlemail.com>:
> > >> Excluding these two tests:
> > >>
> > >> javax/crypto/SecretKeyFactoryTest1.java
> > >> javax/crypto/SecretKeyFactoryTest2.java
> > >>
> > >> then the compilation works.
> > >>
> > >> -Mark.
> > >>
> > >> On 4/13/06, Oliver Deakin <ol...@googlemail.com> wrote:
> > >>> Hi Mark,
> > >>>
> > >>> Ive just found the same thing while building the crypto tests in windows
> > >>> using J9 50. All tests up to there are ok. The output I get is similar
> > >>> to yours:
> > >>>
> > >>> compile.tests:
> > >>> [echo] Compiling CRYPTO tests from
> > >>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\src\test\java
> > >>> [javac] Compiling 31 source files to
> > >>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\bin\test
> > >>> [javac] An exception has occurred in the compiler (1.5.0). Please
> > >>> file a bug
> > >>> at the Java Developer Connection
> > >>> (http://java.sun.com/webapps/bugreport) after
> > >>> checking the Bug Parade for duplicates. Include your program and the
> > >>> following
> > >>> diagnostic in your report. Thank you.
> > >>>
> > >>> Ill take a look and see if I can find which class it's compiling at the
> > >>> time.
> > >>>
> > >>> Regards,
> > >>> Oliver
> > >>>
> > >>> Mark Hindess wrote:
> > >>>> If I do a clean checkout and run:
> > >>>>
> > >>>> ant -f make/depends.xml download
> > >>>> ant -f make/build.xml
> > >>>> ant -f make/build-test.xml compile-support
> > >>>> cd modules/crypto
> > >>>> ant -f make/build.xml test
> > >>>>
> > >>>> I get a compiler error. I've tried using both an IBM 5.0 and Sun 5.0
> > >>>> compiler and get the same error:
> > >>>>
> > >>>> An exception has occurred in the compiler (1.5.0_06). Please file a
> > >>>> bug at the Java Developer Connection
> > >>>> (http://java.sun.com/webapps/bugreport) after checking the Bug Parade
> > >>>> for duplicates. Include your program and the following diagnostic in
> > >>>> your report. Thank you.
> > >>>>
> > >>>> I assume since everyone else is quietly working on adding 5.0 code
> > >>>> that I am the only one with this problem?
> > >>>>
> > >>>> I'm about to try the same test under windows, but thought I'd mention
> > >>>> this hear first.
> > >>>>
> > >>>> Regards,
> > >>>> Mark.
> > >>>>
> > >>>> --
> > >>>> Mark Hindess <ma...@googlemail.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
> > >>>>
> > >>>>
> > >>>>
> > >>> --
> > >>> Oliver Deakin
> > >>> IBM United Kingdom Limited
> > >>>
> > >>>
> > >>> ---------------------------------------------------------------------
> > >>> 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
> > >>>
> > >>>
> > >>
> > >> --
> > >> Mark Hindess <ma...@googlemail.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
> > >>
> > >>
> > >
> > > ---------------------------------------------------------------------
> > > 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
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>
>
> --
> Mark Hindess <ma...@googlemail.com>
> IBM Java Technology Centre, UK.
>
--
Mark Hindess <ma...@googlemail.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: Compiler error on linux with IBM 5.0 and Sun 5.0 compilers
Posted by Mark Hindess <ma...@googlemail.com>.
This fixes the *1.java case:
@@ -391,9 +391,13 @@
}
}
try {
- skF[i].getKeySpec(secKeySpec,
- (defaultAlgorithm.equals(defaultAlgorithm2)
- ? DESedeKeySpec.class : DESKeySpec.class));
+ Class c;
+ if (defaultAlgorithm.equals(defaultAlgorithm2)) {
+ c = DESedeKeySpec.class;
+ } else {
+ c = DESKeySpec.class;
+ }
+ skF[i].getKeySpec(secKeySpec, c);
fail("getKeySpec(secKey, Class):
InvalidKeySpecException must be thrown");
} catch (InvalidKeySpecException e) {
}
Just looking at the 2.java case and will submit a JIRA with both.
-Mark.
On 4/13/06, Geir Magnusson Jr <ge...@pobox.com> wrote:
> I think that would be a workaround once we understand the cause.
>
> geir
>
> Mikhail Loenko wrote:
> > We may compile the tests old way...
> >
> > Thanks,
> > Mikhail
> >
> > 2006/4/13, Mark Hindess <ma...@googlemail.com>:
> >> Excluding these two tests:
> >>
> >> javax/crypto/SecretKeyFactoryTest1.java
> >> javax/crypto/SecretKeyFactoryTest2.java
> >>
> >> then the compilation works.
> >>
> >> -Mark.
> >>
> >> On 4/13/06, Oliver Deakin <ol...@googlemail.com> wrote:
> >>> Hi Mark,
> >>>
> >>> Ive just found the same thing while building the crypto tests in windows
> >>> using J9 50. All tests up to there are ok. The output I get is similar
> >>> to yours:
> >>>
> >>> compile.tests:
> >>> [echo] Compiling CRYPTO tests from
> >>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\src\test\java
> >>> [javac] Compiling 31 source files to
> >>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\bin\test
> >>> [javac] An exception has occurred in the compiler (1.5.0). Please
> >>> file a bug
> >>> at the Java Developer Connection
> >>> (http://java.sun.com/webapps/bugreport) after
> >>> checking the Bug Parade for duplicates. Include your program and the
> >>> following
> >>> diagnostic in your report. Thank you.
> >>>
> >>> Ill take a look and see if I can find which class it's compiling at the
> >>> time.
> >>>
> >>> Regards,
> >>> Oliver
> >>>
> >>> Mark Hindess wrote:
> >>>> If I do a clean checkout and run:
> >>>>
> >>>> ant -f make/depends.xml download
> >>>> ant -f make/build.xml
> >>>> ant -f make/build-test.xml compile-support
> >>>> cd modules/crypto
> >>>> ant -f make/build.xml test
> >>>>
> >>>> I get a compiler error. I've tried using both an IBM 5.0 and Sun 5.0
> >>>> compiler and get the same error:
> >>>>
> >>>> An exception has occurred in the compiler (1.5.0_06). Please file a
> >>>> bug at the Java Developer Connection
> >>>> (http://java.sun.com/webapps/bugreport) after checking the Bug Parade
> >>>> for duplicates. Include your program and the following diagnostic in
> >>>> your report. Thank you.
> >>>>
> >>>> I assume since everyone else is quietly working on adding 5.0 code
> >>>> that I am the only one with this problem?
> >>>>
> >>>> I'm about to try the same test under windows, but thought I'd mention
> >>>> this hear first.
> >>>>
> >>>> Regards,
> >>>> Mark.
> >>>>
> >>>> --
> >>>> Mark Hindess <ma...@googlemail.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
> >>>>
> >>>>
> >>>>
> >>> --
> >>> Oliver Deakin
> >>> IBM United Kingdom Limited
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> 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
> >>>
> >>>
> >>
> >> --
> >> Mark Hindess <ma...@googlemail.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
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>
> ---------------------------------------------------------------------
> 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
>
>
--
Mark Hindess <ma...@googlemail.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: Compiler error on linux with IBM 5.0 and Sun 5.0 compilers
Posted by Geir Magnusson Jr <ge...@pobox.com>.
I think that would be a workaround once we understand the cause.
geir
Mikhail Loenko wrote:
> We may compile the tests old way...
>
> Thanks,
> Mikhail
>
> 2006/4/13, Mark Hindess <ma...@googlemail.com>:
>> Excluding these two tests:
>>
>> javax/crypto/SecretKeyFactoryTest1.java
>> javax/crypto/SecretKeyFactoryTest2.java
>>
>> then the compilation works.
>>
>> -Mark.
>>
>> On 4/13/06, Oliver Deakin <ol...@googlemail.com> wrote:
>>> Hi Mark,
>>>
>>> Ive just found the same thing while building the crypto tests in windows
>>> using J9 50. All tests up to there are ok. The output I get is similar
>>> to yours:
>>>
>>> compile.tests:
>>> [echo] Compiling CRYPTO tests from
>>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\src\test\java
>>> [javac] Compiling 31 source files to
>>> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\bin\test
>>> [javac] An exception has occurred in the compiler (1.5.0). Please
>>> file a bug
>>> at the Java Developer Connection
>>> (http://java.sun.com/webapps/bugreport) after
>>> checking the Bug Parade for duplicates. Include your program and the
>>> following
>>> diagnostic in your report. Thank you.
>>>
>>> Ill take a look and see if I can find which class it's compiling at the
>>> time.
>>>
>>> Regards,
>>> Oliver
>>>
>>> Mark Hindess wrote:
>>>> If I do a clean checkout and run:
>>>>
>>>> ant -f make/depends.xml download
>>>> ant -f make/build.xml
>>>> ant -f make/build-test.xml compile-support
>>>> cd modules/crypto
>>>> ant -f make/build.xml test
>>>>
>>>> I get a compiler error. I've tried using both an IBM 5.0 and Sun 5.0
>>>> compiler and get the same error:
>>>>
>>>> An exception has occurred in the compiler (1.5.0_06). Please file a
>>>> bug at the Java Developer Connection
>>>> (http://java.sun.com/webapps/bugreport) after checking the Bug Parade
>>>> for duplicates. Include your program and the following diagnostic in
>>>> your report. Thank you.
>>>>
>>>> I assume since everyone else is quietly working on adding 5.0 code
>>>> that I am the only one with this problem?
>>>>
>>>> I'm about to try the same test under windows, but thought I'd mention
>>>> this hear first.
>>>>
>>>> Regards,
>>>> Mark.
>>>>
>>>> --
>>>> Mark Hindess <ma...@googlemail.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
>>>>
>>>>
>>>>
>>> --
>>> Oliver Deakin
>>> IBM United Kingdom Limited
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>>
>>>
>>
>> --
>> Mark Hindess <ma...@googlemail.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
>>
>>
>
> ---------------------------------------------------------------------
> 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
>
>
---------------------------------------------------------------------
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: Compiler error on linux with IBM 5.0 and Sun 5.0 compilers
Posted by Mikhail Loenko <ml...@gmail.com>.
We may compile the tests old way...
Thanks,
Mikhail
2006/4/13, Mark Hindess <ma...@googlemail.com>:
> Excluding these two tests:
>
> javax/crypto/SecretKeyFactoryTest1.java
> javax/crypto/SecretKeyFactoryTest2.java
>
> then the compilation works.
>
> -Mark.
>
> On 4/13/06, Oliver Deakin <ol...@googlemail.com> wrote:
> > Hi Mark,
> >
> > Ive just found the same thing while building the crypto tests in windows
> > using J9 50. All tests up to there are ok. The output I get is similar
> > to yours:
> >
> > compile.tests:
> > [echo] Compiling CRYPTO tests from
> > C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\src\test\java
> > [javac] Compiling 31 source files to
> > C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\bin\test
> > [javac] An exception has occurred in the compiler (1.5.0). Please
> > file a bug
> > at the Java Developer Connection
> > (http://java.sun.com/webapps/bugreport) after
> > checking the Bug Parade for duplicates. Include your program and the
> > following
> > diagnostic in your report. Thank you.
> >
> > Ill take a look and see if I can find which class it's compiling at the
> > time.
> >
> > Regards,
> > Oliver
> >
> > Mark Hindess wrote:
> > > If I do a clean checkout and run:
> > >
> > > ant -f make/depends.xml download
> > > ant -f make/build.xml
> > > ant -f make/build-test.xml compile-support
> > > cd modules/crypto
> > > ant -f make/build.xml test
> > >
> > > I get a compiler error. I've tried using both an IBM 5.0 and Sun 5.0
> > > compiler and get the same error:
> > >
> > > An exception has occurred in the compiler (1.5.0_06). Please file a
> > > bug at the Java Developer Connection
> > > (http://java.sun.com/webapps/bugreport) after checking the Bug Parade
> > > for duplicates. Include your program and the following diagnostic in
> > > your report. Thank you.
> > >
> > > I assume since everyone else is quietly working on adding 5.0 code
> > > that I am the only one with this problem?
> > >
> > > I'm about to try the same test under windows, but thought I'd mention
> > > this hear first.
> > >
> > > Regards,
> > > Mark.
> > >
> > > --
> > > Mark Hindess <ma...@googlemail.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
> > >
> > >
> > >
> >
> > --
> > Oliver Deakin
> > IBM United Kingdom Limited
> >
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>
>
> --
> Mark Hindess <ma...@googlemail.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
>
>
---------------------------------------------------------------------
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: Compiler error on linux with IBM 5.0 and Sun 5.0 compilers
Posted by Mark Hindess <ma...@googlemail.com>.
Excluding these two tests:
javax/crypto/SecretKeyFactoryTest1.java
javax/crypto/SecretKeyFactoryTest2.java
then the compilation works.
-Mark.
On 4/13/06, Oliver Deakin <ol...@googlemail.com> wrote:
> Hi Mark,
>
> Ive just found the same thing while building the crypto tests in windows
> using J9 50. All tests up to there are ok. The output I get is similar
> to yours:
>
> compile.tests:
> [echo] Compiling CRYPTO tests from
> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\src\test\java
> [javac] Compiling 31 source files to
> C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\bin\test
> [javac] An exception has occurred in the compiler (1.5.0). Please
> file a bug
> at the Java Developer Connection
> (http://java.sun.com/webapps/bugreport) after
> checking the Bug Parade for duplicates. Include your program and the
> following
> diagnostic in your report. Thank you.
>
> Ill take a look and see if I can find which class it's compiling at the
> time.
>
> Regards,
> Oliver
>
> Mark Hindess wrote:
> > If I do a clean checkout and run:
> >
> > ant -f make/depends.xml download
> > ant -f make/build.xml
> > ant -f make/build-test.xml compile-support
> > cd modules/crypto
> > ant -f make/build.xml test
> >
> > I get a compiler error. I've tried using both an IBM 5.0 and Sun 5.0
> > compiler and get the same error:
> >
> > An exception has occurred in the compiler (1.5.0_06). Please file a
> > bug at the Java Developer Connection
> > (http://java.sun.com/webapps/bugreport) after checking the Bug Parade
> > for duplicates. Include your program and the following diagnostic in
> > your report. Thank you.
> >
> > I assume since everyone else is quietly working on adding 5.0 code
> > that I am the only one with this problem?
> >
> > I'm about to try the same test under windows, but thought I'd mention
> > this hear first.
> >
> > Regards,
> > Mark.
> >
> > --
> > Mark Hindess <ma...@googlemail.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
> >
> >
> >
>
> --
> Oliver Deakin
> IBM United Kingdom Limited
>
>
> ---------------------------------------------------------------------
> 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
>
>
--
Mark Hindess <ma...@googlemail.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: Compiler error on linux with IBM 5.0 and Sun 5.0 compilers
Posted by Oliver Deakin <ol...@googlemail.com>.
Hi Mark,
Ive just found the same thing while building the crypto tests in windows
using J9 50. All tests up to there are ok. The output I get is similar
to yours:
compile.tests:
[echo] Compiling CRYPTO tests from
C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\src\test\java
[javac] Compiling 31 source files to
C:\PROGRA~1\eclipse\workspace\classlib\modules\crypto\bin\test
[javac] An exception has occurred in the compiler (1.5.0). Please
file a bug
at the Java Developer Connection
(http://java.sun.com/webapps/bugreport) after
checking the Bug Parade for duplicates. Include your program and the
following
diagnostic in your report. Thank you.
Ill take a look and see if I can find which class it's compiling at the
time.
Regards,
Oliver
Mark Hindess wrote:
> If I do a clean checkout and run:
>
> ant -f make/depends.xml download
> ant -f make/build.xml
> ant -f make/build-test.xml compile-support
> cd modules/crypto
> ant -f make/build.xml test
>
> I get a compiler error. I've tried using both an IBM 5.0 and Sun 5.0
> compiler and get the same error:
>
> An exception has occurred in the compiler (1.5.0_06). Please file a
> bug at the Java Developer Connection
> (http://java.sun.com/webapps/bugreport) after checking the Bug Parade
> for duplicates. Include your program and the following diagnostic in
> your report. Thank you.
>
> I assume since everyone else is quietly working on adding 5.0 code
> that I am the only one with this problem?
>
> I'm about to try the same test under windows, but thought I'd mention
> this hear first.
>
> Regards,
> Mark.
>
> --
> Mark Hindess <ma...@googlemail.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
>
>
>
--
Oliver Deakin
IBM United Kingdom Limited
---------------------------------------------------------------------
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