/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
class Env {
connection.open();
}
}
return connection;
}
return connection.vm();
}
static void shutdown() {
}
if (connection != null) {
try {
} catch (VMDisconnectedException e) {
// Shutting down after the VM has gone away. This is
// not an error, and we just ignore it.
}
}
}
}
sourceCache.clear();
}
sourceCache.clear();
}
return sourceMapper.getSourcePath();
}
setExcludes("java.*, javax.*, sun.*, com.sun.*");
}
return excludes;
}
}
}
}
}
}
}
}
}
while (t.hasMoreTokens()) {
}
}
return atExitMethod;
}
atExitMethod = mmm;
}
/**
* Return a Reader cooresponding to the source of this location.
* Return null if not available.
* Note: returned reader must be closed.
*/
}
throws IOException {
if (lineNumber == -1) {
throw new IllegalArgumentException();
}
try {
break;
}
}
throw new FileNotFoundException(fileName);
}
}
}
} catch (AbsentInformationException e) {
throw new IllegalArgumentException();
}
}
/** Return a description of an object. */
} else {
}
}
/** Convert a long to a hexadecimal string. */
char s1[] = new char[16];
char s2[] = new char[18];
/* Store digits in reverse order. */
int i = 0;
do {
long d = n & 0xf;
} while ((n >>>= 4) > 0);
/* Now reverse the array. */
int j = 2;
while (--i >= 0) {
}
}
/** Convert hexadecimal strings to longs. */
throw new NumberFormatException();
}
long ret = 0;
if (c >= '0' && c <= '9') {
} else if (c >= 'a' && c <= 'f') {
} else {
throw new NumberFormatException();
}
}
return ret;
}
// This notation saves typing by letting the user omit leading
// package names. The first
// loaded class whose name matches this limited regular
// expression is selected.
break;
}
}
} else {
// It's a class name
// TO DO: handle multiples
}
}
return cls;
}
return savedValues.keySet();
}
}
}
static class SourceCode {
try {
}
} finally {
}
}
return fileName;
}
return null;
} else {
}
}
}
}