mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-25 21:20:02 +08:00
76ed0c0a4b
* gij.cc (main): Formatting fixes. (_Jv_Compiler_Properties): Define. * java/lang/natSystem.cc (_Jv_Environment_Properties): Don't declare. (init_properties): Set properites from _Jv_Compiler_Properties. * include/java-props.h (_Jv_Compiler_Properties, _Jv_Environment_Properties): Declare. From-SVN: r30020
35 lines
696 B
C++
35 lines
696 B
C++
/* Copyright (C) 1999 Cygnus Solutions
|
|
|
|
This file is part of libgcj.
|
|
|
|
This software is copyrighted work licensed under the terms of the
|
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|
details. */
|
|
|
|
/* Author: Kresten Krab Thorup <krab@gnu.org> */
|
|
|
|
#include <jvm.h>
|
|
#include <gcj/cni.h>
|
|
#include <stdio.h>
|
|
|
|
#include <java/lang/System.h>
|
|
#include <java/util/Properties.h>
|
|
|
|
// This is used to initialize the compiled-in system properties.
|
|
const char *_Jv_Compiler_Properties[] =
|
|
{
|
|
NULL
|
|
};
|
|
|
|
int
|
|
main (int argc, const char **argv)
|
|
{
|
|
if (argc < 2)
|
|
{
|
|
printf ("usage: %s CLASS [ARGS]...\n", argv[0]);
|
|
exit (1);
|
|
}
|
|
|
|
_Jv_RunMain (argv[1], argc - 1, argv + 1);
|
|
}
|