langtools/test/tools/sjavac/JavacOptionPrep.java
changeset 35808 fe1936c9412e
parent 32337 c9d3ab9f601c
child 39599 3c7da4996d8c
equal deleted inserted replaced
35807:2eb1d877da0f 35808:fe1936c9412e
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    63         //  - Paths given as duplicate options (SOURCEPATH1 / SOURCEPATH2)
    63         //  - Paths given as duplicate options (SOURCEPATH1 / SOURCEPATH2)
    64         //  - Sources provided by -src (SRC1)
    64         //  - Sources provided by -src (SRC1)
    65         //  - Sources provided without preceding option (SRC2)
    65         //  - Sources provided without preceding option (SRC2)
    66         //  - An unrecognized option which is to be passed on to javac
    66         //  - An unrecognized option which is to be passed on to javac
    67         String sjavacArgs = "-cp " + TestPath.CP1 + SEP + TestPath.CP2 +
    67         String sjavacArgs = "-cp " + TestPath.CP1 + SEP + TestPath.CP2 +
    68                             " -d dest " +
    68                             " -d dest" +
    69                             " -h header" +
    69                             " -h header" +
    70                             " -sourcepath " + TestPath.SOURCEPATH1 +
    70                             " -sourcepath " + TestPath.SOURCEPATH1 +
    71                             " -src " + TestPath.SRC1 +
    71                             " -src " + TestPath.SRC1 +
    72                             " -s gensrc" +
    72                             " -s gensrc" +
    73                             " -sourcepath " + TestPath.SOURCEPATH2 +
    73                             " -sourcepath " + TestPath.SOURCEPATH2 +