src/share/classes/com/sun/tools/javac/file/Locations.java

changeset 1230
b14d9583ce92
parent 1157
3809292620c9
child 1339
0e5899f09dab
equal deleted inserted replaced
1226:97bec6ab1227 1230:b14d9583ce92
1 /* 1 /*
2 * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2003, 2012, 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. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
646 new BootClassPathLocationHandler(), 646 new BootClassPathLocationHandler(),
647 new ClassPathLocationHandler(), 647 new ClassPathLocationHandler(),
648 new SimpleLocationHandler(StandardLocation.SOURCE_PATH, Option.SOURCEPATH), 648 new SimpleLocationHandler(StandardLocation.SOURCE_PATH, Option.SOURCEPATH),
649 new SimpleLocationHandler(StandardLocation.ANNOTATION_PROCESSOR_PATH, Option.PROCESSORPATH), 649 new SimpleLocationHandler(StandardLocation.ANNOTATION_PROCESSOR_PATH, Option.PROCESSORPATH),
650 new OutputLocationHandler((StandardLocation.CLASS_OUTPUT), Option.D), 650 new OutputLocationHandler((StandardLocation.CLASS_OUTPUT), Option.D),
651 new OutputLocationHandler((StandardLocation.SOURCE_OUTPUT), Option.S) 651 new OutputLocationHandler((StandardLocation.SOURCE_OUTPUT), Option.S),
652 new OutputLocationHandler((StandardLocation.NATIVE_HEADER_OUTPUT), Option.H)
652 }; 653 };
653 654
654 for (LocationHandler h: handlers) { 655 for (LocationHandler h: handlers) {
655 handlersForLocation.put(h.location, h); 656 handlersForLocation.put(h.location, h);
656 for (Option o: h.options) 657 for (Option o: h.options)

mercurial