Problem with one class

From: Pascal Robert (prober..acti.ca)
Date: Thu Jul 02 2009 - 15:57:17 EDT

  • Next message: David Avendasora: "Re: Problem with one class"

    I have a really strange problem with a project. In this project, for
    only one class, I get :

            The type NSArray is not generic; it cannot be parameterized with
    arguments <? extends GRH_Vacances>

      But ERExtensions and ERJars are in the classpath, and other classes
    in the same project use « generized » NSArrays without complaining.
    And the worst thing? If I comment out the line when the error is
    raised, now Eclipse can't find the superclass of this class :

            GRHComponent cannot be resolved to a type

    But auto-complete show that class (GRHComponent), and my subclass
    (Vacances) is in the same package as GRHComponent. Cleaning the
    project and re-importing the project (from CVS) in a new workspace
    didn't fix anything.

    In system.log, I get :

    09-07-02 15:54:35 [0x0-0x7f27f2].org.eclipse.eclipse[29362]
    TypeCacheEntry.getTypeForName: couldn't resolve
    com.webobjects.foundation.NSArray<T>
    09-07-02 15:54:38 [0x0-0x7f27f2].org.eclipse.eclipse[29362]
    TypeCacheEntry.getTypeForName: couldn't resolve
    com.webobjects.foundation.NSArray<? extends
    com.acaiq.grh.GRH_DateIntervale>

    WOLips 3.3 (latest stable in 3.3), Eclipse 3.3, WO 5.3.3

    -------------------------------------------------------
    Pascal Robert

    http://www.macti.ca | http://www.linkedin.com/in/macti

    Skype | Twitter | AIM/iChat : MacTICanada



    This archive was generated by hypermail 2.0.0 : Thu Jul 02 2009 - 15:59:27 EDT