TiVo HME + Jython: package access constructor

rt lange whiteywidow at yahoo.com
Wed Mar 2 22:21:58 EST 2005


I'm trying to compile a file that subclasses a Class
in the TiVo HME SDK that  has a package access constructor. 
The error I get is:
1  .\jpywork\TL.java:109: BView(com.tivo.hme.sdk.View)
is not public in com.tivo
.hme.bananas.BView; cannot be accessed from outside
package
            super(arg0);
            ^
 
I've tried using:
BView.getDeclaredConstructor([View]).accessible=1
 
and:
dc=BView.getDeclaredConstructor([View])
dc.accessible=1
 
and also setting
python.security.respectJavaAccessibility = false
 
ideas?



More information about the Python-list mailing list