This is the mail archive of the java@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]

Re: resource compiling


>>>>> ">" == Dhek Bhun Kho <bhun@chello.nl> writes:

>> It's not a real problem, because I only make the mistake once. :P By
>> regularly I would call getClass().getResource("/...") to get a resource
>> starting from the toplevel package. But if you compile this as the
>> resource name, e.g. --resource /... you'll never find the resource. More
>> like first timer's sillyness. 

Could you write a patch for gcj.texi explaining that the core: URL
handler strips the leading `/'?

Tom


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