Re: Apple JDK 1.4.1

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Fri Mar 14 2003 - 04:16:02 EST

  • Next message: Ulrich Köster: "Re: Ant memory hole fixed"

    Hi,

    this will be fixed in the next release candidate.

    Ulrich
    Am Mittwoch, 12.03.03 um 13:03 Uhr schrieb Ulrich Köster:

    > Hi,
    >
    > whenever you see a InternalCompilerError with Eclipse and JDK 1.4.1 on
    > MacOSX take a look at this class:
    >
    > package a.hfhf.fdha.g;
    > /*
    > * Created on 12.03.2003
    > *
    > * To change this generated comment go to
    > * Window>Preferences>Java>Code Generation>Code Template
    > */
    > /**
    > *..uthor uli
    > *
    > * To change this generated comment go to
    > * Window>Preferences>Java>Code Generation>Code Template
    > */
    > public class Test {
    > //this will fail
    > public void test(String string) {
    > if ((Object) string instanceof Test)
    > return;
    > }
    > //this work
    > public void test(String string) {
    > Object object = (Object)string;
    > if (object instanceof Test)
    > return;
    > }
    > }
    >
    > The first method will fail with an InternalCompilerError when you save
    > the file.
    >
    > Ulrich



    This archive was generated by hypermail 2.0.0 : Fri Mar 14 2003 - 04:19:38 EST