diff --git a/jdk/test/javax/xml/ws/xsanymixed/compile-wsdl.sh b/jdk/test/javax/xml/ws/xsanymixed/compile-wsdl.sh index a93050af1a0..f7493a2080e 100644 --- a/jdk/test/javax/xml/ws/xsanymixed/compile-wsdl.sh +++ b/jdk/test/javax/xml/ws/xsanymixed/compile-wsdl.sh @@ -1,7 +1,7 @@ #! /bin/sh # -# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -25,12 +25,12 @@ # -if [ "x$TESTJAVA" = x ]; then - TESTJAVA=$1; shift +if [ "x$COMPILEJAVA" = x ]; then + COMPILEJAVA=$1; shift TESTCLASSES=. fi echo "compiling [test-service.wsdl] wsdl ..." -$TESTJAVA/bin/wsimport -keep -d ${TESTCLASSES} ${TESTSRC}/service.wsdl +$COMPILEJAVA/bin/wsimport -keep -d ${TESTCLASSES} ${TESTSRC}/service.wsdl echo "WSDL compiled. Main test class Test.java can be compiled now."