I was trying to access a public inner class and a field within that
field.  For example:


 fc.map(FileChannel.MapMode.READ_ONLY, 0, sz);

public abstract class FileChannel

public static class MapMode {

        public static final MapMode READ_ONLY
            = new MapMode("READ_ONLY");


.....

This is what I tried and got the following error.

  mm  (. java.nio.channels.FileChannel MapMode)
        bb  (. fc map (. mm READ_ONLY) 0 sz)

Caused by: java.lang.NoSuchFieldException: MapMode
        at java.lang.Class.getField(Unknown Source)
        at clojure.lang.Compiler$StaticFieldExpr.<init>(Compiler.java:
962)
        at clojure.lang.Compiler$HostExpr$Parser.parse(Compiler.java:
746)
        at clojure.lang.Compiler.analyzeSeq(Compiler.java:4106)
        ... 60 more
Clojure
user=>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to