summaryrefslogtreecommitdiff
path: root/bindings/java/org/zmq
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/java/org/zmq')
-rw-r--r--[-rwxr-xr-x]bindings/java/org/zmq/Context.java2
-rw-r--r--[-rwxr-xr-x]bindings/java/org/zmq/Socket.java2
2 files changed, 4 insertions, 0 deletions
diff --git a/bindings/java/org/zmq/Context.java b/bindings/java/org/zmq/Context.java
index 219b26c..1b5ecb4 100755..100644
--- a/bindings/java/org/zmq/Context.java
+++ b/bindings/java/org/zmq/Context.java
@@ -44,6 +44,8 @@ public class Context {
/**
* Get the underlying context handle.
+ * This is private because it is only accessed from JNI, where
+ * Java access controls are ignored.
*
* @return the internal 0MQ context handle.
*/
diff --git a/bindings/java/org/zmq/Socket.java b/bindings/java/org/zmq/Socket.java
index 1815b53..84e2c52 100755..100644
--- a/bindings/java/org/zmq/Socket.java
+++ b/bindings/java/org/zmq/Socket.java
@@ -121,6 +121,8 @@ public class Socket {
/**
* Get the underlying socket handle.
+ * This is private because it is only accessed from JNI, where
+ * Java access controls are ignored.
*
* @return the internal 0MQ socket handle.
*/