FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 05-27-2010, 10:27 PM
Jan Dittberner
 
Default Bug#583509: gcj-4.4: Generics handling not compatible with openjdk

Package: gcj-4.4
Severity: normal

The attached minimal Java class can be compiled with javac from openjdk-6-jdk
but not with javac from gcj-4.4-jdk. This is the output of both compilers:

$ /usr/lib/jvm/java-6-openjdk/bin/javac GenericsTest.java

$ /usr/lib/jvm/java-gcj/bin/javac -1.5 GenericsTest.java
----------
1. ERROR in GenericsTest.java (at line 8)
public int compareTo(GenericsTest arg0) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method compareTo(GenericsTest) of type GenericsTest must override a superclass method
----------
1 problem (1 error)


Regards
Jan

-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

--
Jan Dittberner - Debian Developer
GPG-key: 4096R/558FB8DD 2009-05-10
B2FF 1D95 CE8F 7A22 DF4C F09B A73E 0055 558F B8DD
http://ddportfolio.debian.net/ - http://people.debian.org/~jandd/
 

Thread Tools




All times are GMT. The time now is 07:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org