This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/23288] java.lang.Class's #getPackage() returns null


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-08 18:59 -------
Confirmed:
It works when interpreting the byte-code:
earth:~>gij men.gcjpackage.TestPackage
ClassLoader: gnu.gcj.runtime.SystemClassLoader{urls=[file:./], 
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
Package: package men.gcjpackage

But not when natively:
earth:~>!./a
./a.out
ClassLoader: gnu.gcj.runtime.SystemClassLoader{urls=[file:./], 
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
Package: null

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-08 18:59:21
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23288


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]