< prev index next >

langtools/test/tools/sjavac/SjavacBase.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2014, 2015, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 22,31 **** --- 22,33 ---- */ import java.lang.reflect.Method; import java.util.Arrays; + import toolbox.ToolBox; + public class SjavacBase { protected final static ToolBox toolbox = new ToolBox(); /**
*** 42,48 **** for (int i = 0; i < args.length; i++) strArgs[i] = args[i].toString(); int rc = (Integer) m.invoke(null, (Object) strArgs); return rc; } - } --- 44,49 ----
< prev index next >