This is the mail archive of the kawa@sourceware.org mailing list for the Kawa 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]

How call class (not object) method?


On Java:

kawa.standard.Scheme.class.getProtectionDomain();

on kawa:

#|kawa:13|# (kawa.standard.Scheme:class)
kawa.standard.Scheme@1fcf0ce
#|kawa:14|# ((kawa.standard.Scheme:class):getProtectionDomain)
java.lang.RuntimeException: no part 'getProtectionDomain' in kawa.standard.Scheme@a9ae05
at gnu.kawa.functions.GetNamedPart.getMemberPart(GetNamedPart.java:322)
at gnu.kawa.functions.GetNamedPart.getNamedPart(GetNamedPart.java:303)
at gnu.kawa.functions.GetNamedPart.apply2(GetNamedPart.java:244)
at atInteractiveLevel$14.run(stdin:14)
at gnu.expr.ModuleExp.evalModule(ModuleExp.java:306)
at kawa.Shell.run(Shell.java:275)
at kawa.Shell.run(Shell.java:186)
at kawa.Shell.run(Shell.java:167)
at kawa.repl.main(repl.java:870)
#|kawa:15|# (kawa.standard.Scheme:getProtectionDomain)
/dev/stdin:17:1: no slot `getProtectionDomain' in kawa.standard.Scheme


--
WBR, Yaroslav Kavenchuk.


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