jdk/src/jdk.snmp/share/classes/com/sun/jmx/snmp/IPAcl/README.update
changeset 27193 db6241373358
parent 27175 2c33a5c73a2e
parent 27192 a16236cd61d7
child 27194 48c1741d0f2a
equal deleted inserted replaced
27175:2c33a5c73a2e 27193:db6241373358
     1 1)Copy Parser.jjt in a dedicated directory.
       
     2 
       
     3 2) Grammar modificatiobns:
       
     4 Grammar located in file Parser.jjt :
       
     5 
       
     6 3) Command :
       
     7 /usr/lang/JAVA/JavaCC_2.0/bin/jjtree Parser.jjt
       
     8 /usr/lang/JAVA/JavaCC_2.0/bin/javacc Parser.jj
       
     9 
       
    10 4) Files to copy back in IPAcl directory:
       
    11 If you added new node (eg :IpV6Address()) copy the JDM file (eg:JDMIpV6Address.java)
       
    12 In any cases copy back (These files must be checkedout in IPAcl directory):
       
    13 ASCII_CharStream.java
       
    14 JJTParserState.java
       
    15 ParseException.java
       
    16 Parser.java
       
    17 ParserConstants.java
       
    18 ParserTokenManager.java
       
    19 ParserTreeConstants.java
       
    20 TokenMgrError.java
       
    21 
       
    22 5) You need to modify any JDM files you copied back. Lauch the compilation and you will see what is wrong.
       
    23 Have a look to similar nodes in order to see how to modify. Some protected methods have to be overloaded.
       
    24 
       
    25 6) Once your updates are running, copy back:
       
    26 Parser.jj
       
    27 Parser.jjt
       
    28 
       
    29 7) DONE.