jdk/test/java/util/Formatter/genBasic.sh
changeset 4341 2af5eacd4b24
parent 1823 23d42a96635e
child 5506 202f599c92aa
equal deleted inserted replaced
4335:365eb4449319 4341:2af5eacd4b24
    25 
    25 
    26 javac -d . ../../../../make/tools/src/build/tools/spp/Spp.java
    26 javac -d . ../../../../make/tools/src/build/tools/spp/Spp.java
    27 
    27 
    28 gen() {
    28 gen() {
    29 #  if [ $3 = "true" ]
    29 #  if [ $3 = "true" ]
    30 #  then $SPP -K$1 -Dtype=$1 -DType=$2 -Kprim<Basic-X.java >Basic$2.java
    30 #  then $SPP -K$1 -Dtype=$1 -DType=$2 -Kprim<Basic-X.java.template >Basic$2.java
    31 #  else $SPP -K$1 -Dtype=$1 -DType=$2 -K$3 <Basic-X.java >Basic$2.java
    31 #  else $SPP -K$1 -Dtype=$1 -DType=$2 -K$3 <Basic-X.java.template >Basic$2.java
    32 #  fi
    32 #  fi
    33     java build.tools.spp.Spp -K$1 -Dtype=$1 -DType=$2 -K$3 -K$4 -K$5 -K$6 <Basic-X.java >Basic$2.java
    33     java build.tools.spp.Spp -K$1 -Dtype=$1 -DType=$2 -K$3 -K$4 -K$5 -K$6 <Basic-X.java.template >Basic$2.java
    34 }
    34 }
    35 
    35 
    36 gen boolean Boolean       prim  ""  ""   ""
    36 gen boolean Boolean       prim  ""  ""   ""
    37 gen Boolean BooleanObject ""    ""  ""   ""
    37 gen Boolean BooleanObject ""    ""  ""   ""
    38 gen byte Byte             prim  ""  dec  ""
    38 gen byte Byte             prim  ""  dec  ""