loaded class X was in fact named Y

Ranjit Mathew rmathew@gmail.com
Fri Jan 13 17:50:00 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

TEIXOEIRA@terra.es wrote:
> ./probas/Messages.java declares "public class Messages", not "public class messages".
> What is a "PR"?

PR stands for "Problem Report". See:

  http://gcc.gnu.org/bugs.html

for bug-filing instructions and:

  http://gcc.gnu.org/bugzilla/

for the interface to the bug-management
tool (Bugzilla).

I suspect the testcase could be something as
simple as (but please verify it on Win32):

- ------------- Save as: ./Hello.java ----------
import foo.Bar;
public class Hello
{
  public static void main( String[] args)
  {
    foo.Bar.sayHello( );
  }
}
- ----------------------------------------------

- ------------- Save as: ./foo/Bar.java --------
package foo;
public class Bar
{
  public static void sayHello( )
  {
    System.out.println( "Hello");
  }
}
- ----------------------------------------------

Execute:

  gcj -C foo/Bar.java
  gcj -C Hello.java
  gij Hello

Or maybe it won't be so simple...

HTH,
Ranjit.

> ----Mensaje original----
> De: 
> rmathew@gmail.com
> Recibido: 13/01/2006 11:36
> Para: <TEIXOEIRA@terra.es>
> CC: <java@gcc.gnu.org>
> Asunto: Re: loaded class X was in fact named 
> Y
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> TEIXOEIRA@terra.es wrote:
>> It's ./probas/Messages.class from compiling ./probas/Messages.
> java 
>> automaticly generated by eclipse to access a properties file. Just
>> that simple.
> 
> Does "./probas/Messages.java" declare the class 
> as
> "public class messages" or does it declare it as
> "public class Messages"? If it does the latter, then
> it is a GCJ bug on Win32 (or 
> perhaps with case-insensitive
> filesystems in general) and you should file a PR.
> 
> Thanks,
> Ranjit.
> 
>> Thanks.
>>
>> ----Mensaje original----
>>
> De: rmathew@gmail.com
>> Recibido: 13/01/2006 10:17
>> Para: <TEIXOEIRA@terra.es>
>> CC: <java@gcc.gnu.
>> org>
>> Asunto: Re: loaded class X 
> was in fact named Y
> 
> Prueba el Nuevo Correo Terra; Seguro, Rápido, Fiable.
> 
> 
> 
> 
> - --
> Ranjit Mathew      Email: rmathew AT gmail DOT com
> 
> Bangalore, INDIA.    Web: http://rmathew.com/
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (MingW32)
> Comment: Using GnuPG with 
> Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFDx4KuYb1hx2wRS48RAmL/AKClNAy1u/yzflCvGJ6sqz+LC1NLEQCfc7o3
> qxkC9zItppOlzcZNamYw/8E=
> =VpSM
> -----
> END PGP SIGNATURE-----
> 
> 
> 
> 
> 
> Prueba el Nuevo Correo Terra; Seguro, Rápido, Fiable.
> 
> 


- --
Ranjit Mathew      Email: rmathew AT gmail DOT com

Bangalore, INDIA.    Web: http://rmathew.com/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDx6JaYb1hx2wRS48RAvNLAJ0dkdlp7BUanjKawm4Le33EYhOH5gCZARC2
HWADqXPAucStBBXKFAfAeKw=
=LKEb
-----END PGP SIGNATURE-----



More information about the Java mailing list