PR target/27599
[official-gcc.git] / libjava / classpath / java / net / class-dependencies.conf
blob8b130f53684658b7106d8f690b6cdd6a1e8e92ae
1 # This property file contains dependencies of classes, methods, and
2 # field on other methods or classes.
4 # Syntax: 
6 #   <used>: <needed 1> [... <needed N>]
8 # means that when <used> is included, <needed 1> (... <needed N>) must
9 # be included as well.
11 # <needed X> and <used> are of the form
13 #   <class.methodOrField(signature)>
15 # or just
17 #   <class>
19 # Within dependencies, variables can be used. A variable is defined as 
20 # follows: 
22 #   {variable}: value1 value2 ... value<n>
24 # variables can be used on the right side of dependencies as follows: 
26 #    <used>: com.bla.blu.{variable}.Class.m()V
28 # The use of the variable will expand to <n> dependencies of the form
30 #    <used>: com.bla.blu.value1.Class.m()V
31 #    <used>: com.bla.blu.value2.Class.m()V
32 #    ...
33 #    <used>: com.bla.blu.value<n>.Class.m()V
35 # Variables can be redefined when building a system to select the 
36 # required support for features like encodings, protocols, etc. 
38 # Hints:
40 #  - For methods and fields, the signature is mandatory. For
41 #    specification, please see the Java Virtual Machine Specification by
42 #    SUN. Unlike in the spec, field signatures (types) are in brackets.
44 #  - Package names must be separated by '/' (and not '.'). E.g.,
45 #    java/lang/Class (this is necessary, because the '.' is used to
46 #    separate method or field names from classes)
48 #  - In case <needed> refers to a class, only the class itself will be
49 #    included in the resulting binary, NOT necessarily all its methods
50 #    and fields. If you want to refer to all methods and fields, you can
51 #    write class.* as an abbreviation.
53 # -  Abbreviations for packages are also possible: my/package/* means all
54 #    methods and fields of all classes in my/package.
56 # -  A line with a trailing '\' continues in the next line.
58 java/net/InetAddress: \
59         java/lang/ClassNotFoundException.<init>(Ljava/lang/String;)V \
60         java/lang/InternalError.<init>(Ljava/lang/String;)V \
61         java/net/UnknownHostException.<init>(Ljava/lang/String;)V
63 java/net/DatagramSocketImpl: \
64         java/net/DatagramSocketImpl.fd(Ljava/io/FileDescriptor;) \
65         java/net/DatagramSocketImpl.localPort(I)
67 java/net/PlainDatagramSocketImpl: \
68         java/lang/ClassNotFoundException.<init>(Ljava/lang/String;)V \
69         java/lang/InternalError.<init>(Ljava/lang/String;)V \
70         java/io/IOException.<init>(Ljava/lang/String;)V \
71         java/io/FileDescriptor.<init>()V \
72         java/lang/Boolean.<init>(Z)V \
73         java/lang/Integer.<init>(I)V \
74         java/net/InetAddress.getByName(Ljava/lang/String;)Ljava/net/InetAddress; \
75         java/net/InetAddress.getAddress()[B \
76         java/lang/Boolean.booleanValue()Z \
77         java/lang/Integer.intValue()I \
78         java/net/SocketException.<init>(Ljava/lang/String;)V \
79         java/net/DatagramPacket.getData()[B \
80         java/net/SocketImpl.address(Ljava/net/InetAddress;) \
81         java/net/PlainSocketImpl.native_fd(I) \
82         java/net/SocketImpl.fd(Ljava/io/FileDescriptor;) \
83         java/net/SocketImpl.address(Ljava/net/InetAddress;) \
84         java/net/PlainDatagramSocketImpl.native_fd(I) \
85         java/net/SocketImpl.localport(I) \
86         java/net/SocketImpl.port(I)
88 java/net/PlainSocketImpl: \
89         java/lang/ClassNotFoundException.<init>(Ljava/lang/String;)V \
90         java/lang/InternalError.<init>(Ljava/lang/String;)V \
91         java/io/IOException.<init>(Ljava/lang/String;)V \
92         java/io/FileDescriptor.<init>()V \
93         java/lang/Boolean.<init>(Z)V \
94         java/lang/Integer.<init>(I)V \
95         java/net/InetAddress.getByName(Ljava/lang/String;)Ljava/net/InetAddress; \
96         java/net/InetAddress.getAddress()[B \
97         java/lang/Boolean.booleanValue()Z \
98         java/lang/Integer.intValue()I \
99         java/net/SocketException.<init>(Ljava/lang/String;)V \
100         java/net/DatagramPacket.getData()[B \
101         java/net/SocketImpl.address(Ljava/net/InetAddress;) \
102         java/net/PlainSocketImpl.native_fd(I) \
103         java/net/SocketImpl.fd(Ljava/io/FileDescriptor;) \
104         java/net/SocketImpl.address(Ljava/net/InetAddress;) \
105         java/net/PlainDatagramSocketImpl.native_fd(I) \
106         java/net/SocketImpl.localport(I) \
107         java/net/SocketImpl.port(I)
109 # All protocols supported are loaded via URL.getURLStreamHandler from 
110 # class gnu.java.net.protocol.<protocol>.Handler. 
112 # This introduces a dependency for all protocols. To allow an easy selection
113 # and addition of protocols, the library variable {protocols} can be set to 
114 # the set of supported protocols.
116 {protocols}: http file jar 
118 java/net/URL.getURLStreamHandler(Ljava/lang/String;)Ljava/net/URLStreamHandler;: \
119         gnu/java/net/protocol/{protocols}/Handler.* \
120         com/aicas/java/net/protocol/rom/Handler.*
122 # end of file