aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/java/net/class-dependencies.conf
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/java/net/class-dependencies.conf')
-rw-r--r--libjava/classpath/java/net/class-dependencies.conf122
1 files changed, 122 insertions, 0 deletions
diff --git a/libjava/classpath/java/net/class-dependencies.conf b/libjava/classpath/java/net/class-dependencies.conf
new file mode 100644
index 0000000..8b130f5
--- /dev/null
+++ b/libjava/classpath/java/net/class-dependencies.conf
@@ -0,0 +1,122 @@
+# This property file contains dependencies of classes, methods, and
+# field on other methods or classes.
+#
+# Syntax:
+#
+# <used>: <needed 1> [... <needed N>]
+#
+# means that when <used> is included, <needed 1> (... <needed N>) must
+# be included as well.
+#
+# <needed X> and <used> are of the form
+#
+# <class.methodOrField(signature)>
+#
+# or just
+#
+# <class>
+#
+# Within dependencies, variables can be used. A variable is defined as
+# follows:
+#
+# {variable}: value1 value2 ... value<n>
+#
+# variables can be used on the right side of dependencies as follows:
+#
+# <used>: com.bla.blu.{variable}.Class.m()V
+#
+# The use of the variable will expand to <n> dependencies of the form
+#
+# <used>: com.bla.blu.value1.Class.m()V
+# <used>: com.bla.blu.value2.Class.m()V
+# ...
+# <used>: com.bla.blu.value<n>.Class.m()V
+#
+# Variables can be redefined when building a system to select the
+# required support for features like encodings, protocols, etc.
+#
+# Hints:
+#
+# - For methods and fields, the signature is mandatory. For
+# specification, please see the Java Virtual Machine Specification by
+# SUN. Unlike in the spec, field signatures (types) are in brackets.
+#
+# - Package names must be separated by '/' (and not '.'). E.g.,
+# java/lang/Class (this is necessary, because the '.' is used to
+# separate method or field names from classes)
+#
+# - In case <needed> refers to a class, only the class itself will be
+# included in the resulting binary, NOT necessarily all its methods
+# and fields. If you want to refer to all methods and fields, you can
+# write class.* as an abbreviation.
+#
+# - Abbreviations for packages are also possible: my/package/* means all
+# methods and fields of all classes in my/package.
+#
+# - A line with a trailing '\' continues in the next line.
+
+java/net/InetAddress: \
+ java/lang/ClassNotFoundException.<init>(Ljava/lang/String;)V \
+ java/lang/InternalError.<init>(Ljava/lang/String;)V \
+ java/net/UnknownHostException.<init>(Ljava/lang/String;)V
+
+java/net/DatagramSocketImpl: \
+ java/net/DatagramSocketImpl.fd(Ljava/io/FileDescriptor;) \
+ java/net/DatagramSocketImpl.localPort(I)
+
+java/net/PlainDatagramSocketImpl: \
+ java/lang/ClassNotFoundException.<init>(Ljava/lang/String;)V \
+ java/lang/InternalError.<init>(Ljava/lang/String;)V \
+ java/io/IOException.<init>(Ljava/lang/String;)V \
+ java/io/FileDescriptor.<init>()V \
+ java/lang/Boolean.<init>(Z)V \
+ java/lang/Integer.<init>(I)V \
+ java/net/InetAddress.getByName(Ljava/lang/String;)Ljava/net/InetAddress; \
+ java/net/InetAddress.getAddress()[B \
+ java/lang/Boolean.booleanValue()Z \
+ java/lang/Integer.intValue()I \
+ java/net/SocketException.<init>(Ljava/lang/String;)V \
+ java/net/DatagramPacket.getData()[B \
+ java/net/SocketImpl.address(Ljava/net/InetAddress;) \
+ java/net/PlainSocketImpl.native_fd(I) \
+ java/net/SocketImpl.fd(Ljava/io/FileDescriptor;) \
+ java/net/SocketImpl.address(Ljava/net/InetAddress;) \
+ java/net/PlainDatagramSocketImpl.native_fd(I) \
+ java/net/SocketImpl.localport(I) \
+ java/net/SocketImpl.port(I)
+
+java/net/PlainSocketImpl: \
+ java/lang/ClassNotFoundException.<init>(Ljava/lang/String;)V \
+ java/lang/InternalError.<init>(Ljava/lang/String;)V \
+ java/io/IOException.<init>(Ljava/lang/String;)V \
+ java/io/FileDescriptor.<init>()V \
+ java/lang/Boolean.<init>(Z)V \
+ java/lang/Integer.<init>(I)V \
+ java/net/InetAddress.getByName(Ljava/lang/String;)Ljava/net/InetAddress; \
+ java/net/InetAddress.getAddress()[B \
+ java/lang/Boolean.booleanValue()Z \
+ java/lang/Integer.intValue()I \
+ java/net/SocketException.<init>(Ljava/lang/String;)V \
+ java/net/DatagramPacket.getData()[B \
+ java/net/SocketImpl.address(Ljava/net/InetAddress;) \
+ java/net/PlainSocketImpl.native_fd(I) \
+ java/net/SocketImpl.fd(Ljava/io/FileDescriptor;) \
+ java/net/SocketImpl.address(Ljava/net/InetAddress;) \
+ java/net/PlainDatagramSocketImpl.native_fd(I) \
+ java/net/SocketImpl.localport(I) \
+ java/net/SocketImpl.port(I)
+
+# All protocols supported are loaded via URL.getURLStreamHandler from
+# class gnu.java.net.protocol.<protocol>.Handler.
+#
+# This introduces a dependency for all protocols. To allow an easy selection
+# and addition of protocols, the library variable {protocols} can be set to
+# the set of supported protocols.
+#
+{protocols}: http file jar
+
+java/net/URL.getURLStreamHandler(Ljava/lang/String;)Ljava/net/URLStreamHandler;: \
+ gnu/java/net/protocol/{protocols}/Handler.* \
+ com/aicas/java/net/protocol/rom/Handler.*
+
+# end of file