Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylar-dev] RE: head requires latest Eclipse build

The JDT compiler prior to the latest integration build was not reporting
many generics usage problems, such as unchecked types (e.g. Class instead of
Class<?>) as well as the usual uses of non-generic collections (e.g. List
instead of List<ITask>).  

There were a hundred or so such warnings that I just fixed.  Since we're
still trying to figure out generics usage guidelines, and have to use
non-generic Platform APIs, we don't yet have a clear guideline for best
practices.  For the time being, just make sure to always use generic types
and avoid using Foo<?> or Foo<Object> where possible since the type checking
provides valuable information about things that could break at runtime.  The
Java 5 specific guidelines for Eclipse are evolving here (linked from our
dev page): http://wiki.eclipse.org/index.php/Evolving_Java-based_APIs

Update "Evolving Java-based APIs" to J2SE 5.0 / JLS3
https://bugs.eclipse.org/bugs/show_bug.cgi?id=149805

Also note that I'm now working bootstrapped on Eclipse I20061031-0656 and so
far so good...

Mik

> -----Original Message-----
> From: Mik Kersten [mailto:beatmik@xxxxxxx]
> Sent: Tuesday, October 31, 2006 1:37 PM
> To: 'Mylar developer discussions'
> Subject: head requires latest Eclipse build
> 
> The Eclipse 3.3M3 release is this Friday, so according to our conventions:
> 
> http://wiki.eclipse.org/index.php/Mylar_FAQ#Development_builds
> 
> I'm in the process of committing changes to HEAD that require the
> following build: eclipse-SDK-I20061030-1704
> 
> http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drop
> s/I20061030-1704/eclipse-SDK-I20061030-1704-win32.zip
> 
> If you are building Mylar you will need to set this as your "Target
> Platform".  If you are bootstrapping on Mylar you will need to launch from
> this build.
> 
> Fyi, the very latest integration build should work too, but there were
> problems with yesterday's integration build and I have not yet been able
> to  move to the latest (eclipse-SDK-I20061031-0656).
> 
> Mik
> 
> --
> Mik Kersten, http://kerstens.org/mik
> Mylar Project Lead, http://eclipse.org/mylar




Back to the top