[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #45032] [base] Bundle not correctly returned for Class in Framework
From: |
Riccardo Mottola |
Subject: |
[bug #45032] [base] Bundle not correctly returned for Class in Framework |
Date: |
Tue, 05 May 2015 21:23:55 +0000 |
User-agent: |
Mozilla/5.0 (X11; NetBSD i386; rv:36.0) Gecko/20100101 Firefox/36.0 |
URL:
<http://savannah.gnu.org/bugs/?45032>
Summary: [base] Bundle not correctly returned for Class in
Framework
Project: GNUstep
Submitted by: rmottola
Submitted on: Tue 05 May 2015 09:23:54 PM GMT
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I was able to reproduce this on Solaris only (5.8 and 5.10) both with release
as current SVN.
In GWorkspace, in FSNodeRep, there is code that gets the current bundle this
way
NSBundle *bundle = [NSBundle bundleForClass: [FSNodeRep class]];
FSNodeRep is in the FSNode framwework.
On my Solaris box, the bundle returned is the application bundle, on e.g.
NetBSD, the correct /System/Library/Framework/FSNode.framework is returned.
Since the bundle is then used to get resources like images and nib files,
other code fails.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45032>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #45032] [base] Bundle not correctly returned for Class in Framework,
Riccardo Mottola <=