langtools/test/tools/javac/Paths/Diagnostics.sh
changeset 30071 3564e7eeaead
parent 27579 d1a63c99cdd5
child 36526 3b41f1c69604
equal deleted inserted replaced
30070:1bffa0091f27 30071:3564e7eeaead
     1 #!/bin/sh
     1 #!/bin/sh
     2 
     2 
     3 #
     3 #
     4 # Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
     4 # Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
     5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     6 #
     6 #
     7 # This code is free software; you can redistribute it and/or modify it
     7 # This code is free software; you can redistribute it and/or modify it
     8 # under the terms of the GNU General Public License version 2 only, as
     8 # under the terms of the GNU General Public License version 2 only, as
     9 # published by the Free Software Foundation.
     9 # published by the Free Software Foundation.
   184 
   184 
   185 #----------------------------------------------------------------
   185 #----------------------------------------------------------------
   186 # Class-Path attribute followed in extdirs or endorseddirs
   186 # Class-Path attribute followed in extdirs or endorseddirs
   187 #----------------------------------------------------------------
   187 #----------------------------------------------------------------
   188 Sys mkdir jars
   188 Sys mkdir jars
   189 Sys cp -p classesRefRef.jar jars/.
   189 Sys cp classesRefRef.jar jars/.
   190    Warning "$javac" ${TESTTOOLVMOPTS} -Xlint -extdirs      jars Main.java
   190    Warning "$javac" ${TESTTOOLVMOPTS} -Xlint -extdirs      jars Main.java
   191    Warning "$javac" ${TESTTOOLVMOPTS} -Xlint -endorseddirs jars Main.java
   191    Warning "$javac" ${TESTTOOLVMOPTS} -Xlint -endorseddirs jars Main.java
   192 
   192 
   193 #----------------------------------------------------------------
   193 #----------------------------------------------------------------
   194 # Bad Jar file in extdirs and endorseddirs should not be ignored
   194 # Bad Jar file in extdirs and endorseddirs should not be ignored