init files
22
.gitignore
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# eclipse
|
||||||
|
bin
|
||||||
|
*.launch
|
||||||
|
.settings
|
||||||
|
.metadata
|
||||||
|
.classpath
|
||||||
|
.project
|
||||||
|
|
||||||
|
# idea
|
||||||
|
out
|
||||||
|
*.ipr
|
||||||
|
*.iws
|
||||||
|
*.iml
|
||||||
|
.idea
|
||||||
|
|
||||||
|
# gradle
|
||||||
|
build
|
||||||
|
.gradle
|
||||||
|
|
||||||
|
# other
|
||||||
|
eclipse
|
||||||
|
run
|
3
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"java.configuration.updateBuildConfiguration": "interactive"
|
||||||
|
}
|
28
CREDITS-fml.txt
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
This is Forge Mod Loader.
|
||||||
|
|
||||||
|
You can find the source code at all times at https://github.com/MinecraftForge/FML
|
||||||
|
|
||||||
|
This minecraft mod is a clean open source implementation of a mod loader for minecraft servers
|
||||||
|
and minecraft clients.
|
||||||
|
|
||||||
|
The code is authored by cpw.
|
||||||
|
|
||||||
|
It began by partially implementing an API defined by the client side ModLoader, authored by Risugami.
|
||||||
|
http://www.minecraftforum.net/topic/75440-
|
||||||
|
This support has been dropped as of Minecraft release 1.7, as Risugami no longer maintains ModLoader.
|
||||||
|
|
||||||
|
It also contains suggestions and hints and generous helpings of code from LexManos, author of MinecraftForge.
|
||||||
|
http://www.minecraftforge.net/
|
||||||
|
|
||||||
|
Additionally, it contains an implementation of topological sort based on that
|
||||||
|
published at http://keithschwarz.com/interesting/code/?dir=topological-sort
|
||||||
|
|
||||||
|
It also contains code from the Maven project for performing versioned dependency
|
||||||
|
resolution. http://maven.apache.org/
|
||||||
|
|
||||||
|
It also contains a partial repackaging of the javaxdelta library from http://sourceforge.net/projects/javaxdelta/
|
||||||
|
with credit to it's authors.
|
||||||
|
|
||||||
|
Forge Mod Loader downloads components from the Minecraft Coder Pack
|
||||||
|
(http://mcp.ocean-labs.de/index.php/Main_Page) with kind permission from the MCP team.
|
||||||
|
|
483
LICENSE-new.txt
Normal file
@ -0,0 +1,483 @@
|
|||||||
|
Minecraft Forge is licensed under the terms of the LGPL 2.1 found
|
||||||
|
here http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt and copied
|
||||||
|
below.
|
||||||
|
|
||||||
|
A note on authorship:
|
||||||
|
All source artifacts are property of their original author, with
|
||||||
|
the exclusion of the contents of the patches directory and others
|
||||||
|
copied from it from time to time. Authorship of the contents of
|
||||||
|
the patches directory is retained by the Minecraft Forge project.
|
||||||
|
This is because the patches are partially machine generated
|
||||||
|
artifacts, and are changed heavily due to the way forge works.
|
||||||
|
Individual attribution within them is impossible.
|
||||||
|
|
||||||
|
Consent:
|
||||||
|
All contributions to Forge must consent to the release of any
|
||||||
|
patch content to the Forge project.
|
||||||
|
|
||||||
|
A note on infectivity:
|
||||||
|
The LGPL is chosen specifically so that projects may depend on Forge
|
||||||
|
features without being infected with its license. That is the
|
||||||
|
purpose of the LGPL. Mods and others using this code via ordinary
|
||||||
|
Java mechanics for referencing libraries are specifically not bound
|
||||||
|
by Forge's license for the Mod code.
|
||||||
|
|
||||||
|
|
||||||
|
GNU LESSER GENERAL PUBLIC LICENSE
|
||||||
|
Version 2.1, February 1999
|
||||||
|
|
||||||
|
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||||
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
[This is the first released version of the Lesser GPL. It also counts
|
||||||
|
as the successor of the GNU Library Public License, version 2, hence
|
||||||
|
the version number 2.1.]
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your
|
||||||
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
|
Licenses are intended to guarantee your freedom to share and change
|
||||||
|
free software--to make sure the software is free for all its users.
|
||||||
|
|
||||||
|
This license, the Lesser General Public License, applies to some
|
||||||
|
specially designated software packages--typically libraries--of the
|
||||||
|
Free Software Foundation and other authors who decide to use it. You
|
||||||
|
can use it too, but we suggest you first think carefully about whether
|
||||||
|
this license or the ordinary General Public License is the better
|
||||||
|
strategy to use in any particular case, based on the explanations below.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom of use,
|
||||||
|
not price. Our General Public Licenses are designed to make sure that
|
||||||
|
you have the freedom to distribute copies of free software (and charge
|
||||||
|
for this service if you wish); that you receive source code or can get
|
||||||
|
it if you want it; that you can change the software and use pieces of
|
||||||
|
it in new free programs; and that you are informed that you can do
|
||||||
|
these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid
|
||||||
|
distributors to deny you these rights or to ask you to surrender these
|
||||||
|
rights. These restrictions translate to certain responsibilities for
|
||||||
|
you if you distribute copies of the library or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of the library, whether gratis
|
||||||
|
or for a fee, you must give the recipients all the rights that we gave
|
||||||
|
you. You must make sure that they, too, receive or can get the source
|
||||||
|
code. If you link other code with the library, you must provide
|
||||||
|
complete object files to the recipients, so that they can relink them
|
||||||
|
with the library after making changes to the library and recompiling
|
||||||
|
it. And you must show them these terms so they know their rights.
|
||||||
|
|
||||||
|
We protect your rights with a two-step method: (1) we copyright the
|
||||||
|
library, and (2) we offer you this license, which gives you legal
|
||||||
|
permission to copy, distribute and/or modify the library.
|
||||||
|
|
||||||
|
To protect each distributor, we want to make it very clear that
|
||||||
|
there is no warranty for the free library. Also, if the library is
|
||||||
|
modified by someone else and passed on, the recipients should know
|
||||||
|
that what they have is not the original version, so that the original
|
||||||
|
author's reputation will not be affected by problems that might be
|
||||||
|
introduced by others.
|
||||||
|
|
||||||
|
Finally, software patents pose a constant threat to the existence of
|
||||||
|
any free program. We wish to make sure that a company cannot
|
||||||
|
effectively restrict the users of a free program by obtaining a
|
||||||
|
restrictive license from a patent holder. Therefore, we insist that
|
||||||
|
any patent license obtained for a version of the library must be
|
||||||
|
consistent with the full freedom of use specified in this license.
|
||||||
|
|
||||||
|
Most GNU software, including some libraries, is covered by the
|
||||||
|
ordinary GNU General Public License. This license, the GNU Lesser
|
||||||
|
General Public License, applies to certain designated libraries, and
|
||||||
|
is quite different from the ordinary General Public License. We use
|
||||||
|
this license for certain libraries in order to permit linking those
|
||||||
|
libraries into non-free programs.
|
||||||
|
|
||||||
|
When a program is linked with a library, whether statically or using
|
||||||
|
a shared library, the combination of the two is legally speaking a
|
||||||
|
combined work, a derivative of the original library. The ordinary
|
||||||
|
General Public License therefore permits such linking only if the
|
||||||
|
entire combination fits its criteria of freedom. The Lesser General
|
||||||
|
Public License permits more lax criteria for linking other code with
|
||||||
|
the library.
|
||||||
|
|
||||||
|
We call this license the "Lesser" General Public License because it
|
||||||
|
does Less to protect the user's freedom than the ordinary General
|
||||||
|
Public License. It also provides other free software developers Less
|
||||||
|
of an advantage over competing non-free programs. These disadvantages
|
||||||
|
are the reason we use the ordinary General Public License for many
|
||||||
|
libraries. However, the Lesser license provides advantages in certain
|
||||||
|
special circumstances.
|
||||||
|
|
||||||
|
For example, on rare occasions, there may be a special need to
|
||||||
|
encourage the widest possible use of a certain library, so that it becomes
|
||||||
|
a de-facto standard. To achieve this, non-free programs must be
|
||||||
|
allowed to use the library. A more frequent case is that a free
|
||||||
|
library does the same job as widely used non-free libraries. In this
|
||||||
|
case, there is little to gain by limiting the free library to free
|
||||||
|
software only, so we use the Lesser General Public License.
|
||||||
|
|
||||||
|
In other cases, permission to use a particular library in non-free
|
||||||
|
programs enables a greater number of people to use a large body of
|
||||||
|
free software. For example, permission to use the GNU C Library in
|
||||||
|
non-free programs enables many more people to use the whole GNU
|
||||||
|
operating system, as well as its variant, the GNU/Linux operating
|
||||||
|
system.
|
||||||
|
|
||||||
|
Although the Lesser General Public License is Less protective of the
|
||||||
|
users' freedom, it does ensure that the user of a program that is
|
||||||
|
linked with the Library has the freedom and the wherewithal to run
|
||||||
|
that program using a modified version of the Library.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow. Pay close attention to the difference between a
|
||||||
|
"work based on the library" and a "work that uses the library". The
|
||||||
|
former contains code derived from the library, whereas the latter must
|
||||||
|
be combined with the library in order to run.
|
||||||
|
|
||||||
|
GNU LESSER GENERAL PUBLIC LICENSE
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. This License Agreement applies to any software library or other
|
||||||
|
program which contains a notice placed by the copyright holder or
|
||||||
|
other authorized party saying it may be distributed under the terms of
|
||||||
|
this Lesser General Public License (also called "this License").
|
||||||
|
Each licensee is addressed as "you".
|
||||||
|
|
||||||
|
A "library" means a collection of software functions and/or data
|
||||||
|
prepared so as to be conveniently linked with application programs
|
||||||
|
(which use some of those functions and data) to form executables.
|
||||||
|
|
||||||
|
The "Library", below, refers to any such software library or work
|
||||||
|
which has been distributed under these terms. A "work based on the
|
||||||
|
Library" means either the Library or any derivative work under
|
||||||
|
copyright law: that is to say, a work containing the Library or a
|
||||||
|
portion of it, either verbatim or with modifications and/or translated
|
||||||
|
straightforwardly into another language. (Hereinafter, translation is
|
||||||
|
included without limitation in the term "modification".)
|
||||||
|
|
||||||
|
"Source code" for a work means the preferred form of the work for
|
||||||
|
making modifications to it. For a library, complete source code means
|
||||||
|
all the source code for all modules it contains, plus any associated
|
||||||
|
interface definition files, plus the scripts used to control compilation
|
||||||
|
and installation of the library.
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not
|
||||||
|
covered by this License; they are outside its scope. The act of
|
||||||
|
running a program using the Library is not restricted, and output from
|
||||||
|
such a program is covered only if its contents constitute a work based
|
||||||
|
on the Library (independent of the use of the Library in a tool for
|
||||||
|
writing it). Whether that is true depends on what the Library does
|
||||||
|
and what the program that uses the Library does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Library's
|
||||||
|
complete source code as you receive it, in any medium, provided that
|
||||||
|
you conspicuously and appropriately publish on each copy an
|
||||||
|
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||||
|
all the notices that refer to this License and to the absence of any
|
||||||
|
warranty; and distribute a copy of this License along with the
|
||||||
|
Library.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy,
|
||||||
|
and you may at your option offer warranty protection in exchange for a
|
||||||
|
fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Library or any portion
|
||||||
|
of it, thus forming a work based on the Library, and copy and
|
||||||
|
distribute such modifications or work under the terms of Section 1
|
||||||
|
above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The modified work must itself be a software library.
|
||||||
|
|
||||||
|
b) You must cause the files modified to carry prominent notices
|
||||||
|
stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
|
c) You must cause the whole of the work to be licensed at no
|
||||||
|
charge to all third parties under the terms of this License.
|
||||||
|
|
||||||
|
d) If a facility in the modified Library refers to a function or a
|
||||||
|
table of data to be supplied by an application program that uses
|
||||||
|
the facility, other than as an argument passed when the facility
|
||||||
|
is invoked, then you must make a good faith effort to ensure that,
|
||||||
|
in the event an application does not supply such function or
|
||||||
|
table, the facility still operates, and performs whatever part of
|
||||||
|
its purpose remains meaningful.
|
||||||
|
|
||||||
|
(For example, a function in a library to compute square roots has
|
||||||
|
a purpose that is entirely well-defined independent of the
|
||||||
|
application. Therefore, Subsection 2d requires that any
|
||||||
|
application-supplied function or table used by this function must
|
||||||
|
be optional: if the application does not supply it, the square
|
||||||
|
root function must still compute square roots.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If
|
||||||
|
identifiable sections of that work are not derived from the Library,
|
||||||
|
and can be reasonably considered independent and separate works in
|
||||||
|
themselves, then this License, and its terms, do not apply to those
|
||||||
|
sections when you distribute them as separate works. But when you
|
||||||
|
distribute the same sections as part of a whole which is a work based
|
||||||
|
on the Library, the distribution of the whole must be on the terms of
|
||||||
|
this License, whose permissions for other licensees extend to the
|
||||||
|
entire whole, and thus to each and every part regardless of who wrote
|
||||||
|
it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
|
exercise the right to control the distribution of derivative or
|
||||||
|
collective works based on the Library.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Library
|
||||||
|
with the Library (or with a work based on the Library) on a volume of
|
||||||
|
a storage or distribution medium does not bring the other work under
|
||||||
|
the scope of this License.
|
||||||
|
|
||||||
|
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||||
|
License instead of this License to a given copy of the Library. To do
|
||||||
|
this, you must alter all the notices that refer to this License, so
|
||||||
|
that they refer to the ordinary GNU General Public License, version 2,
|
||||||
|
instead of to this License. (If a newer version than version 2 of the
|
||||||
|
ordinary GNU General Public License has appeared, then you can specify
|
||||||
|
that version instead if you wish.) Do not make any other change in
|
||||||
|
these notices.
|
||||||
|
|
||||||
|
Once this change is made in a given copy, it is irreversible for
|
||||||
|
that copy, so the ordinary GNU General Public License applies to all
|
||||||
|
subsequent copies and derivative works made from that copy.
|
||||||
|
|
||||||
|
This option is useful when you wish to copy part of the code of
|
||||||
|
the Library into a program that is not a library.
|
||||||
|
|
||||||
|
4. You may copy and distribute the Library (or a portion or
|
||||||
|
derivative of it, under Section 2) in object code or executable form
|
||||||
|
under the terms of Sections 1 and 2 above provided that you accompany
|
||||||
|
it with the complete corresponding machine-readable source code, which
|
||||||
|
must be distributed under the terms of Sections 1 and 2 above on a
|
||||||
|
medium customarily used for software interchange.
|
||||||
|
|
||||||
|
If distribution of object code is made by offering access to copy
|
||||||
|
from a designated place, then offering equivalent access to copy the
|
||||||
|
source code from the same place satisfies the requirement to
|
||||||
|
distribute the source code, even though third parties are not
|
||||||
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
5. A program that contains no derivative of any portion of the
|
||||||
|
Library, but is designed to work with the Library by being compiled or
|
||||||
|
linked with it, is called a "work that uses the Library". Such a
|
||||||
|
work, in isolation, is not a derivative work of the Library, and
|
||||||
|
therefore falls outside the scope of this License.
|
||||||
|
|
||||||
|
However, linking a "work that uses the Library" with the Library
|
||||||
|
creates an executable that is a derivative of the Library (because it
|
||||||
|
contains portions of the Library), rather than a "work that uses the
|
||||||
|
library". The executable is therefore covered by this License.
|
||||||
|
Section 6 states terms for distribution of such executables.
|
||||||
|
|
||||||
|
When a "work that uses the Library" uses material from a header file
|
||||||
|
that is part of the Library, the object code for the work may be a
|
||||||
|
derivative work of the Library even though the source code is not.
|
||||||
|
Whether this is true is especially significant if the work can be
|
||||||
|
linked without the Library, or if the work is itself a library. The
|
||||||
|
threshold for this to be true is not precisely defined by law.
|
||||||
|
|
||||||
|
If such an object file uses only numerical parameters, data
|
||||||
|
structure layouts and accessors, and small macros and small inline
|
||||||
|
functions (ten lines or less in length), then the use of the object
|
||||||
|
file is unrestricted, regardless of whether it is legally a derivative
|
||||||
|
work. (Executables containing this object code plus portions of the
|
||||||
|
Library will still fall under Section 6.)
|
||||||
|
|
||||||
|
Otherwise, if the work is a derivative of the Library, you may
|
||||||
|
distribute the object code for the work under the terms of Section 6.
|
||||||
|
Any executables containing that work also fall under Section 6,
|
||||||
|
whether or not they are linked directly with the Library itself.
|
||||||
|
|
||||||
|
6. As an exception to the Sections above, you may also combine or
|
||||||
|
link a "work that uses the Library" with the Library to produce a
|
||||||
|
work containing portions of the Library, and distribute that work
|
||||||
|
under terms of your choice, provided that the terms permit
|
||||||
|
modification of the work for the customer's own use and reverse
|
||||||
|
engineering for debugging such modifications.
|
||||||
|
|
||||||
|
You must give prominent notice with each copy of the work that the
|
||||||
|
Library is used in it and that the Library and its use are covered by
|
||||||
|
this License. You must supply a copy of this License. If the work
|
||||||
|
during execution displays copyright notices, you must include the
|
||||||
|
copyright notice for the Library among them, as well as a reference
|
||||||
|
directing the user to the copy of this License. Also, you must do one
|
||||||
|
of these things:
|
||||||
|
|
||||||
|
a) Accompany the work with the complete corresponding
|
||||||
|
machine-readable source code for the Library including whatever
|
||||||
|
changes were used in the work (which must be distributed under
|
||||||
|
Sections 1 and 2 above); and, if the work is an executable linked
|
||||||
|
with the Library, with the complete machine-readable "work that
|
||||||
|
uses the Library", as object code and/or source code, so that the
|
||||||
|
user can modify the Library and then relink to produce a modified
|
||||||
|
executable containing the modified Library. (It is understood
|
||||||
|
that the user who changes the contents of definitions files in the
|
||||||
|
Library will not necessarily be able to recompile the application
|
||||||
|
to use the modified definitions.)
|
||||||
|
|
||||||
|
b) Use a suitable shared library mechanism for linking with the
|
||||||
|
Library. A suitable mechanism is one that (1) uses at run time a
|
||||||
|
copy of the library already present on the user's computer system,
|
||||||
|
rather than copying library functions into the executable, and (2)
|
||||||
|
will operate properly with a modified version of the library, if
|
||||||
|
the user installs one, as long as the modified version is
|
||||||
|
interface-compatible with the version that the work was made with.
|
||||||
|
|
||||||
|
c) Accompany the work with a written offer, valid for at
|
||||||
|
least three years, to give the same user the materials
|
||||||
|
specified in Subsection 6a, above, for a charge no more
|
||||||
|
than the cost of performing this distribution.
|
||||||
|
|
||||||
|
d) If distribution of the work is made by offering access to copy
|
||||||
|
from a designated place, offer equivalent access to copy the above
|
||||||
|
specified materials from the same place.
|
||||||
|
|
||||||
|
e) Verify that the user has already received a copy of these
|
||||||
|
materials or that you have already sent this user a copy.
|
||||||
|
|
||||||
|
For an executable, the required form of the "work that uses the
|
||||||
|
Library" must include any data and utility programs needed for
|
||||||
|
reproducing the executable from it. However, as a special exception,
|
||||||
|
the materials to be distributed need not include anything that is
|
||||||
|
normally distributed (in either source or binary form) with the major
|
||||||
|
components (compiler, kernel, and so on) of the operating system on
|
||||||
|
which the executable runs, unless that component itself accompanies
|
||||||
|
the executable.
|
||||||
|
|
||||||
|
It may happen that this requirement contradicts the license
|
||||||
|
restrictions of other proprietary libraries that do not normally
|
||||||
|
accompany the operating system. Such a contradiction means you cannot
|
||||||
|
use both them and the Library together in an executable that you
|
||||||
|
distribute.
|
||||||
|
|
||||||
|
7. You may place library facilities that are a work based on the
|
||||||
|
Library side-by-side in a single library together with other library
|
||||||
|
facilities not covered by this License, and distribute such a combined
|
||||||
|
library, provided that the separate distribution of the work based on
|
||||||
|
the Library and of the other library facilities is otherwise
|
||||||
|
permitted, and provided that you do these two things:
|
||||||
|
|
||||||
|
a) Accompany the combined library with a copy of the same work
|
||||||
|
based on the Library, uncombined with any other library
|
||||||
|
facilities. This must be distributed under the terms of the
|
||||||
|
Sections above.
|
||||||
|
|
||||||
|
b) Give prominent notice with the combined library of the fact
|
||||||
|
that part of it is a work based on the Library, and explaining
|
||||||
|
where to find the accompanying uncombined form of the same work.
|
||||||
|
|
||||||
|
8. You may not copy, modify, sublicense, link with, or distribute
|
||||||
|
the Library except as expressly provided under this License. Any
|
||||||
|
attempt otherwise to copy, modify, sublicense, link with, or
|
||||||
|
distribute the Library is void, and will automatically terminate your
|
||||||
|
rights under this License. However, parties who have received copies,
|
||||||
|
or rights, from you under this License will not have their licenses
|
||||||
|
terminated so long as such parties remain in full compliance.
|
||||||
|
|
||||||
|
9. You are not required to accept this License, since you have not
|
||||||
|
signed it. However, nothing else grants you permission to modify or
|
||||||
|
distribute the Library or its derivative works. These actions are
|
||||||
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
|
modifying or distributing the Library (or any work based on the
|
||||||
|
Library), you indicate your acceptance of this License to do so, and
|
||||||
|
all its terms and conditions for copying, distributing or modifying
|
||||||
|
the Library or works based on it.
|
||||||
|
|
||||||
|
10. Each time you redistribute the Library (or any work based on the
|
||||||
|
Library), the recipient automatically receives a license from the
|
||||||
|
original licensor to copy, distribute, link with or modify the Library
|
||||||
|
subject to these terms and conditions. You may not impose any further
|
||||||
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
|
You are not responsible for enforcing compliance by third parties with
|
||||||
|
this License.
|
||||||
|
|
||||||
|
11. If, as a consequence of a court judgment or allegation of patent
|
||||||
|
infringement or for any other reason (not limited to patent issues),
|
||||||
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot
|
||||||
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you
|
||||||
|
may not distribute the Library at all. For example, if a patent
|
||||||
|
license would not permit royalty-free redistribution of the Library by
|
||||||
|
all those who receive copies directly or indirectly through you, then
|
||||||
|
the only way you could satisfy both it and this License would be to
|
||||||
|
refrain entirely from distribution of the Library.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under any
|
||||||
|
particular circumstance, the balance of the section is intended to apply,
|
||||||
|
and the section as a whole is intended to apply in other circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any
|
||||||
|
patents or other property right claims or to contest validity of any
|
||||||
|
such claims; this section has the sole purpose of protecting the
|
||||||
|
integrity of the free software distribution system which is
|
||||||
|
implemented by public license practices. Many people have made
|
||||||
|
generous contributions to the wide range of software distributed
|
||||||
|
through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
|
to distribute software through any other system and a licensee cannot
|
||||||
|
impose that choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to
|
||||||
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
|
12. If the distribution and/or use of the Library is restricted in
|
||||||
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
|
original copyright holder who places the Library under this License may add
|
||||||
|
an explicit geographical distribution limitation excluding those countries,
|
||||||
|
so that distribution is permitted only in or among countries not thus
|
||||||
|
excluded. In such case, this License incorporates the limitation as if
|
||||||
|
written in the body of this License.
|
||||||
|
|
||||||
|
13. The Free Software Foundation may publish revised and/or new
|
||||||
|
versions of the Lesser General Public License from time to time.
|
||||||
|
Such new versions will be similar in spirit to the present version,
|
||||||
|
but may differ in detail to address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Library
|
||||||
|
specifies a version number of this License which applies to it and
|
||||||
|
"any later version", you have the option of following the terms and
|
||||||
|
conditions either of that version or of any later version published by
|
||||||
|
the Free Software Foundation. If the Library does not specify a
|
||||||
|
license version number, you may choose any version ever published by
|
||||||
|
the Free Software Foundation.
|
||||||
|
|
||||||
|
14. If you wish to incorporate parts of the Library into other free
|
||||||
|
programs whose distribution conditions are incompatible with these,
|
||||||
|
write to the author to ask for permission. For software which is
|
||||||
|
copyrighted by the Free Software Foundation, write to the Free
|
||||||
|
Software Foundation; we sometimes make exceptions for this. Our
|
||||||
|
decision will be guided by the two goals of preserving the free status
|
||||||
|
of all derivatives of our free software and of promoting the sharing
|
||||||
|
and reuse of software generally.
|
||||||
|
|
||||||
|
NO WARRANTY
|
||||||
|
|
||||||
|
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||||
|
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||||
|
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||||
|
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||||
|
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||||
|
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||||
|
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||||
|
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||||
|
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||||
|
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||||
|
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||||
|
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||||
|
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||||
|
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||||
|
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||||
|
DAMAGES.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
26
MinecraftForge-Credits.txt
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
* Eloraam *
|
||||||
|
|
||||||
|
* FlowerChild *
|
||||||
|
|
||||||
|
* Hawkye *
|
||||||
|
|
||||||
|
* MALfunction84 *
|
||||||
|
|
||||||
|
Submitted the sleep handler code for his mod (Somnia) and others to use.
|
||||||
|
|
||||||
|
* Scokeev9 *
|
||||||
|
|
||||||
|
Gave permission for ScotTools API to be integrated into MCF, and also supported the Forge by converting his mods to use it.
|
||||||
|
|
||||||
|
ScotTools Background: ScotTools was an API that enabled modders to add blocks to harvesting levels (and many other ease-of-use features to create new tools), and the first tool API that used block material for block breaking efficiency which allowed blocks from mods that didn't use ScotTools API to break with the correct speed.
|
||||||
|
|
||||||
|
* SpaceToad *
|
||||||
|
|
||||||
|
* LexManos *
|
||||||
|
|
||||||
|
* cpw *
|
||||||
|
|
||||||
|
* Minecraft Coder Pack (MCP) *
|
||||||
|
Forge Mod Loader and Minecraft Forge have permission to distribute and automatically download components of MCP and distribute MCP data files.
|
||||||
|
This permission is not transitive and others wishing to redistribute the Minecraft Forge source independently should seek permission of MCP or
|
||||||
|
remove the MCP data files and request their users to download MCP separately.
|
10
Paulscode IBXM Library License.txt
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
IBXM is copyright (c) 2007, Martin Cameron, and is licensed under the BSD License.
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||||
|
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||||
|
Neither the name of mumart nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
40
Paulscode SoundSystem CodecIBXM License.txt
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
SoundSystem CodecIBXM Class License:
|
||||||
|
|
||||||
|
You are free to use this class for any purpose, commercial or otherwise.
|
||||||
|
You may modify this class or source code, and distribute it any way you
|
||||||
|
like, provided the following conditions are met:
|
||||||
|
|
||||||
|
1) You may not falsely claim to be the author of this class or any
|
||||||
|
unmodified portion of it.
|
||||||
|
2) You may not copyright this class or a modified version of it and then
|
||||||
|
sue me for copyright infringement.
|
||||||
|
3) If you modify the source code, you must clearly document the changes
|
||||||
|
made before redistributing the modified source code, so other users know
|
||||||
|
it is not the original code.
|
||||||
|
4) You are not required to give me credit for this class in any derived
|
||||||
|
work, but if you do, you must also mention my website:
|
||||||
|
http://www.paulscode.com
|
||||||
|
5) I the author will not be responsible for any damages (physical,
|
||||||
|
financial, or otherwise) caused by the use if this class or any
|
||||||
|
portion of it.
|
||||||
|
6) I the author do not guarantee, warrant, or make any representations,
|
||||||
|
either expressed or implied, regarding the use of this class or any
|
||||||
|
portion of it.
|
||||||
|
|
||||||
|
Author: Paul Lamb
|
||||||
|
http://www.paulscode.com
|
||||||
|
|
||||||
|
|
||||||
|
This software is based on or using the IBXM library available from
|
||||||
|
http://www.geocities.com/sunet2000/
|
||||||
|
|
||||||
|
|
||||||
|
IBXM is copyright (c) 2007, Martin Cameron, and is licensed under the BSD License.
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||||
|
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||||
|
Neither the name of mumart nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
59
README.txt
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
-------------------------------------------
|
||||||
|
Source installation information for modders
|
||||||
|
-------------------------------------------
|
||||||
|
This code follows the Minecraft Forge installation methodology. It will apply
|
||||||
|
some small patches to the vanilla MCP source code, giving you and it access
|
||||||
|
to some of the data and functions you need to build a successful mod.
|
||||||
|
|
||||||
|
Note also that the patches are built against "unrenamed" MCP source code (aka
|
||||||
|
srgnames) - this means that you will not be able to read them directly against
|
||||||
|
normal code.
|
||||||
|
|
||||||
|
Source pack installation information:
|
||||||
|
|
||||||
|
Standalone source installation
|
||||||
|
==============================
|
||||||
|
|
||||||
|
Step 1: Open your command-line and browse to the folder where you extracted the zip file.
|
||||||
|
|
||||||
|
Step 2: Once you have a command window up in the folder that the downloaded material was placed, type:
|
||||||
|
|
||||||
|
Windows: "gradlew setupDecompWorkspace"
|
||||||
|
Linux/Mac OS: "./gradlew setupDecompWorkspace"
|
||||||
|
|
||||||
|
Step 3: After all that finished, you're left with a choice.
|
||||||
|
For eclipse, run "gradlew eclipse" (./gradlew eclipse if you are on Mac/Linux)
|
||||||
|
|
||||||
|
If you preffer to use IntelliJ, steps are a little different.
|
||||||
|
1. Open IDEA, and import project.
|
||||||
|
2. Select your build.gradle file and have it import.
|
||||||
|
3. Once it's finished you must close IntelliJ and run the following command:
|
||||||
|
|
||||||
|
"gradlew genIntellijRuns" (./gradlew genIntellijRuns if you are on Mac/Linux)
|
||||||
|
|
||||||
|
Step 4: The final step is to open Eclipse and switch your workspace to /eclipse/ (if you use IDEA, it should automatically start on your project)
|
||||||
|
|
||||||
|
If at any point you are missing libraries in your IDE, or you've run into problems you can run "gradlew --refresh-dependencies" to refresh the local cache. "gradlew clean" to reset everything {this does not effect your code} and then start the processs again.
|
||||||
|
|
||||||
|
Should it still not work,
|
||||||
|
Refer to #ForgeGradle on EsperNet for more information about the gradle environment.
|
||||||
|
|
||||||
|
Tip:
|
||||||
|
If you do not care about seeing Minecraft's source code you can replace "setupDecompWorkspace" with one of the following:
|
||||||
|
"setupDevWorkspace": Will patch, deobfusicated, and gather required assets to run minecraft, but will not generated human readable source code.
|
||||||
|
"setupCIWorkspace": Same as Dev but will not download any assets. This is useful in build servers as it is the fastest because it does the least work.
|
||||||
|
|
||||||
|
Tip:
|
||||||
|
When using Decomp workspace, the Minecraft source code is NOT added to your workspace in a editable way. Minecraft is treated like a normal Library. Sources are there for documentation and research purposes and usually can be accessed under the 'referenced libraries' section of your IDE.
|
||||||
|
|
||||||
|
Forge source installation
|
||||||
|
=========================
|
||||||
|
MinecraftForge ships with this code and installs it as part of the forge
|
||||||
|
installation process, no further action is required on your part.
|
||||||
|
|
||||||
|
LexManos' Install Video
|
||||||
|
=======================
|
||||||
|
https://www.youtube.com/watch?v=8VEdtQLuLO0&feature=youtu.be
|
||||||
|
|
||||||
|
For more details update more often refer to the Forge Forums:
|
||||||
|
http://www.minecraftforge.net/forum/index.php/topic,14048.0.html
|
89
build.gradle
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
buildscript {
|
||||||
|
repositories {
|
||||||
|
jcenter()
|
||||||
|
maven { url = "http://files.minecraftforge.net/maven" }
|
||||||
|
}
|
||||||
|
dependencies {
|
||||||
|
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||||
|
//Only edit below this line, the above code adds and enables the nessasary things for Forge to be setup.
|
||||||
|
compileJava {options.encoding = "UTF-8"}
|
||||||
|
compileTestJava {options.encoding = "UTF-8"}
|
||||||
|
|
||||||
|
version = "1.0"
|
||||||
|
group= "minecrafthdl" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
|
archivesBaseName = "MinecraftHDL"
|
||||||
|
|
||||||
|
sourceCompatibility = targetCompatibility = "1.8" // Need this here so eclipse task generates correctly.
|
||||||
|
compileJava {
|
||||||
|
sourceCompatibility = targetCompatibility = "1.8"
|
||||||
|
}
|
||||||
|
|
||||||
|
minecraft {
|
||||||
|
version = "1.10.2-12.18.3.2511"
|
||||||
|
runDir = "run"
|
||||||
|
|
||||||
|
// the mappings can be changed at any time, and must be in the following format.
|
||||||
|
// snapshot_YYYYMMDD snapshot are built nightly.
|
||||||
|
// stable_# stables are built at the discretion of the MCP team.
|
||||||
|
// Use non-default mappings at your own risk. they may not allways work.
|
||||||
|
// simply re-run your setup task after changing the mappings to update your workspace.
|
||||||
|
mappings = "snapshot_20161111"
|
||||||
|
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
// you may put jars on which you depend on in ./libs
|
||||||
|
// or you may define them like so..
|
||||||
|
//compile "some.group:artifact:version:classifier"
|
||||||
|
//compile "some.group:artifact:version"
|
||||||
|
|
||||||
|
// real examples
|
||||||
|
//compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env
|
||||||
|
//compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env
|
||||||
|
|
||||||
|
// the 'provided' configuration is for optional dependencies that exist at compile-time but might not at runtime.
|
||||||
|
//provided 'com.mod-buildcraft:buildcraft:6.0.8:dev'
|
||||||
|
|
||||||
|
// the deobf configurations: 'deobfCompile' and 'deobfProvided' are the same as the normal compile and provided,
|
||||||
|
// except that these dependencies get remapped to your current MCP mappings
|
||||||
|
//deobfCompile 'com.mod-buildcraft:buildcraft:6.0.8:dev'
|
||||||
|
//deobfProvided 'com.mod-buildcraft:buildcraft:6.0.8:dev'
|
||||||
|
|
||||||
|
// for more info...
|
||||||
|
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
|
||||||
|
// http://www.gradle.org/docs/current/userguide/dependency_management.html
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
runClient {
|
||||||
|
// args("--username", "yuhc218@gmail.com", "--password", ":Ey692018") //, "--assetsDir", "C:/Users/yuhc2/AppData/Roaming/.minecraft/assets"
|
||||||
|
jvmArgs("-Dlog4j2.formatMsgNoLookups=true")
|
||||||
|
}
|
||||||
|
|
||||||
|
runServer {
|
||||||
|
args("-nogui")
|
||||||
|
jvmArgs("-Dlog4j2.formatMsgNoLookups=true")
|
||||||
|
}
|
||||||
|
|
||||||
|
processResources
|
||||||
|
{
|
||||||
|
// this will ensure that this task is redone when the versions change.
|
||||||
|
inputs.property "version", project.version
|
||||||
|
inputs.property "mcversion", project.minecraft.version
|
||||||
|
|
||||||
|
// replace stuff in mcmod.info, nothing else
|
||||||
|
from(sourceSets.main.resources.srcDirs) {
|
||||||
|
include 'mcmod.info'
|
||||||
|
|
||||||
|
// replace version and mcversion
|
||||||
|
expand 'version':project.version, 'mcversion':project.minecraft.version
|
||||||
|
}
|
||||||
|
|
||||||
|
// copy everything else, thats not the mcmod.info
|
||||||
|
from(sourceSets.main.resources.srcDirs) {
|
||||||
|
exclude 'mcmod.info'
|
||||||
|
}
|
||||||
|
}
|
88
build.txt
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
buildscript {
|
||||||
|
repositories {
|
||||||
|
jcenter()
|
||||||
|
maven { url = "http://files.minecraftforge.net/maven" }
|
||||||
|
}
|
||||||
|
dependencies {
|
||||||
|
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||||
|
//Only edit below this line, the above code adds and enables the nessasary things for Forge to be setup.
|
||||||
|
compileJava {options.encoding = "UTF-8"}
|
||||||
|
compileTestJava {options.encoding = "UTF-8"}
|
||||||
|
|
||||||
|
version = "1.0"
|
||||||
|
group= "minecrafthdl" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
|
archivesBaseName = "modid"
|
||||||
|
|
||||||
|
sourceCompatibility = targetCompatibility = "1.6" // Need this here so eclipse task generates correctly.
|
||||||
|
compileJava {
|
||||||
|
sourceCompatibility = targetCompatibility = "1.6"
|
||||||
|
}
|
||||||
|
|
||||||
|
minecraft {
|
||||||
|
version = "1.10.2-12.18.3.2511"
|
||||||
|
runDir = "run"
|
||||||
|
|
||||||
|
// the mappings can be changed at any time, and must be in the following format.
|
||||||
|
// snapshot_YYYYMMDD snapshot are built nightly.
|
||||||
|
// stable_# stables are built at the discretion of the MCP team.
|
||||||
|
// Use non-default mappings at your own risk. they may not allways work.
|
||||||
|
// simply re-run your setup task after changing the mappings to update your workspace.
|
||||||
|
mappings = "snapshot_20161111"
|
||||||
|
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
// you may put jars on which you depend on in ./libs
|
||||||
|
// or you may define them like so..
|
||||||
|
//compile "some.group:artifact:version:classifier"
|
||||||
|
//compile "some.group:artifact:version"
|
||||||
|
|
||||||
|
// real examples
|
||||||
|
//compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env
|
||||||
|
//compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env
|
||||||
|
|
||||||
|
// the 'provided' configuration is for optional dependencies that exist at compile-time but might not at runtime.
|
||||||
|
//provided 'com.mod-buildcraft:buildcraft:6.0.8:dev'
|
||||||
|
|
||||||
|
// the deobf configurations: 'deobfCompile' and 'deobfProvided' are the same as the normal compile and provided,
|
||||||
|
// except that these dependencies get remapped to your current MCP mappings
|
||||||
|
//deobfCompile 'com.mod-buildcraft:buildcraft:6.0.8:dev'
|
||||||
|
//deobfProvided 'com.mod-buildcraft:buildcraft:6.0.8:dev'
|
||||||
|
|
||||||
|
// for more info...
|
||||||
|
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
|
||||||
|
// http://www.gradle.org/docs/current/userguide/dependency_management.html
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
runClient {
|
||||||
|
args("--username", "yuhc218@gmail.com", "--password", ":Ey692018", "--assetsDir", "C:/Users/yuhc2/AppData/Roaming/.minecraft/assets")
|
||||||
|
jvmArgs("-Dlog4j2.formatMsgNoLookups=true")
|
||||||
|
}
|
||||||
|
|
||||||
|
runServer {
|
||||||
|
args("-nogui")
|
||||||
|
}
|
||||||
|
|
||||||
|
processResources
|
||||||
|
{
|
||||||
|
// this will ensure that this task is redone when the versions change.
|
||||||
|
inputs.property "version", project.version
|
||||||
|
inputs.property "mcversion", project.minecraft.version
|
||||||
|
|
||||||
|
// replace stuff in mcmod.info, nothing else
|
||||||
|
from(sourceSets.main.resources.srcDirs) {
|
||||||
|
include 'mcmod.info'
|
||||||
|
|
||||||
|
// replace version and mcversion
|
||||||
|
expand 'version':project.version, 'mcversion':project.minecraft.version
|
||||||
|
}
|
||||||
|
|
||||||
|
// copy everything else, thats not the mcmod.info
|
||||||
|
from(sourceSets.main.resources.srcDirs) {
|
||||||
|
exclude 'mcmod.info'
|
||||||
|
}
|
||||||
|
}
|
13033
forge-1.10.2-12.18.3.2511-changelog.txt
Normal file
3
gradle.properties
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
|
||||||
|
# This is required to provide enough memory for the Minecraft decompilation process.
|
||||||
|
org.gradle.jvmargs=-Xmx3G
|
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Normal file
6
gradle/wrapper/gradle-wrapper.properties
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#Wed Feb 16 02:09:04 PST 2022
|
||||||
|
distributionBase=GRADLE_USER_HOME
|
||||||
|
distributionPath=wrapper/dists
|
||||||
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
zipStorePath=wrapper/dists
|
||||||
|
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
|
164
gradlew
vendored
Normal file
@ -0,0 +1,164 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
##
|
||||||
|
## Gradle start up script for UN*X
|
||||||
|
##
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
# Attempt to set APP_HOME
|
||||||
|
# Resolve links: $0 may be a link
|
||||||
|
PRG="$0"
|
||||||
|
# Need this for relative symlinks.
|
||||||
|
while [ -h "$PRG" ] ; do
|
||||||
|
ls=`ls -ld "$PRG"`
|
||||||
|
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||||
|
if expr "$link" : '/.*' > /dev/null; then
|
||||||
|
PRG="$link"
|
||||||
|
else
|
||||||
|
PRG=`dirname "$PRG"`"/$link"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
SAVED="`pwd`"
|
||||||
|
cd "`dirname \"$PRG\"`/" >/dev/null
|
||||||
|
APP_HOME="`pwd -P`"
|
||||||
|
cd "$SAVED" >/dev/null
|
||||||
|
|
||||||
|
APP_NAME="Gradle"
|
||||||
|
APP_BASE_NAME=`basename "$0"`
|
||||||
|
|
||||||
|
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||||
|
DEFAULT_JVM_OPTS=""
|
||||||
|
|
||||||
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||||
|
MAX_FD="maximum"
|
||||||
|
|
||||||
|
warn ( ) {
|
||||||
|
echo "$*"
|
||||||
|
}
|
||||||
|
|
||||||
|
die ( ) {
|
||||||
|
echo
|
||||||
|
echo "$*"
|
||||||
|
echo
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
# OS specific support (must be 'true' or 'false').
|
||||||
|
cygwin=false
|
||||||
|
msys=false
|
||||||
|
darwin=false
|
||||||
|
nonstop=false
|
||||||
|
case "`uname`" in
|
||||||
|
CYGWIN* )
|
||||||
|
cygwin=true
|
||||||
|
;;
|
||||||
|
Darwin* )
|
||||||
|
darwin=true
|
||||||
|
;;
|
||||||
|
MINGW* )
|
||||||
|
msys=true
|
||||||
|
;;
|
||||||
|
NONSTOP* )
|
||||||
|
nonstop=true
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||||
|
|
||||||
|
# Determine the Java command to use to start the JVM.
|
||||||
|
if [ -n "$JAVA_HOME" ] ; then
|
||||||
|
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||||
|
# IBM's JDK on AIX uses strange locations for the executables
|
||||||
|
JAVACMD="$JAVA_HOME/jre/sh/java"
|
||||||
|
else
|
||||||
|
JAVACMD="$JAVA_HOME/bin/java"
|
||||||
|
fi
|
||||||
|
if [ ! -x "$JAVACMD" ] ; then
|
||||||
|
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||||
|
|
||||||
|
Please set the JAVA_HOME variable in your environment to match the
|
||||||
|
location of your Java installation."
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
JAVACMD="java"
|
||||||
|
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||||
|
|
||||||
|
Please set the JAVA_HOME variable in your environment to match the
|
||||||
|
location of your Java installation."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Increase the maximum file descriptors if we can.
|
||||||
|
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
|
||||||
|
MAX_FD_LIMIT=`ulimit -H -n`
|
||||||
|
if [ $? -eq 0 ] ; then
|
||||||
|
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
||||||
|
MAX_FD="$MAX_FD_LIMIT"
|
||||||
|
fi
|
||||||
|
ulimit -n $MAX_FD
|
||||||
|
if [ $? -ne 0 ] ; then
|
||||||
|
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# For Darwin, add options to specify how the application appears in the dock
|
||||||
|
if $darwin; then
|
||||||
|
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
||||||
|
fi
|
||||||
|
|
||||||
|
# For Cygwin, switch paths to Windows format before running java
|
||||||
|
if $cygwin ; then
|
||||||
|
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
||||||
|
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
||||||
|
JAVACMD=`cygpath --unix "$JAVACMD"`
|
||||||
|
|
||||||
|
# We build the pattern for arguments to be converted via cygpath
|
||||||
|
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
||||||
|
SEP=""
|
||||||
|
for dir in $ROOTDIRSRAW ; do
|
||||||
|
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
||||||
|
SEP="|"
|
||||||
|
done
|
||||||
|
OURCYGPATTERN="(^($ROOTDIRS))"
|
||||||
|
# Add a user-defined pattern to the cygpath arguments
|
||||||
|
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
||||||
|
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
||||||
|
fi
|
||||||
|
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||||
|
i=0
|
||||||
|
for arg in "$@" ; do
|
||||||
|
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
||||||
|
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
||||||
|
|
||||||
|
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
||||||
|
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
||||||
|
else
|
||||||
|
eval `echo args$i`="\"$arg\""
|
||||||
|
fi
|
||||||
|
i=$((i+1))
|
||||||
|
done
|
||||||
|
case $i in
|
||||||
|
(0) set -- ;;
|
||||||
|
(1) set -- "$args0" ;;
|
||||||
|
(2) set -- "$args0" "$args1" ;;
|
||||||
|
(3) set -- "$args0" "$args1" "$args2" ;;
|
||||||
|
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
||||||
|
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
||||||
|
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
||||||
|
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
||||||
|
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
||||||
|
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
|
||||||
|
function splitJvmOpts() {
|
||||||
|
JVM_OPTS=("$@")
|
||||||
|
}
|
||||||
|
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
|
||||||
|
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
|
||||||
|
|
||||||
|
exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
|
91
gradlew.bat
vendored
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
set JAVA_HOME=runtime
|
||||||
|
@if "%DEBUG%" == "" @echo off
|
||||||
|
@rem ##########################################################################
|
||||||
|
@rem
|
||||||
|
@rem Gradle startup script for Windows
|
||||||
|
@rem
|
||||||
|
@rem ##########################################################################
|
||||||
|
|
||||||
|
@rem Set local scope for the variables with windows NT shell
|
||||||
|
if "%OS%"=="Windows_NT" setlocal
|
||||||
|
|
||||||
|
set DIRNAME=%~dp0
|
||||||
|
if "%DIRNAME%" == "" set DIRNAME=.
|
||||||
|
set APP_BASE_NAME=%~n0
|
||||||
|
set APP_HOME=%DIRNAME%
|
||||||
|
|
||||||
|
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||||
|
set DEFAULT_JVM_OPTS=
|
||||||
|
|
||||||
|
@rem Find java.exe
|
||||||
|
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||||
|
|
||||||
|
set JAVA_EXE=java.exe
|
||||||
|
%JAVA_EXE% -version >NUL 2>&1
|
||||||
|
if "%ERRORLEVEL%" == "0" goto init
|
||||||
|
|
||||||
|
echo.
|
||||||
|
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||||
|
echo.
|
||||||
|
echo Please set the JAVA_HOME variable in your environment to match the
|
||||||
|
echo location of your Java installation.
|
||||||
|
|
||||||
|
goto fail
|
||||||
|
|
||||||
|
:findJavaFromJavaHome
|
||||||
|
set JAVA_HOME=%JAVA_HOME:"=%
|
||||||
|
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||||
|
|
||||||
|
if exist "%JAVA_EXE%" goto init
|
||||||
|
|
||||||
|
echo.
|
||||||
|
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||||
|
echo.
|
||||||
|
echo Please set the JAVA_HOME variable in your environment to match the
|
||||||
|
echo location of your Java installation.
|
||||||
|
|
||||||
|
goto fail
|
||||||
|
|
||||||
|
:init
|
||||||
|
@rem Get command-line arguments, handling Windows variants
|
||||||
|
|
||||||
|
if not "%OS%" == "Windows_NT" goto win9xME_args
|
||||||
|
if "%@eval[2+2]" == "4" goto 4NT_args
|
||||||
|
|
||||||
|
:win9xME_args
|
||||||
|
@rem Slurp the command line arguments.
|
||||||
|
set CMD_LINE_ARGS=
|
||||||
|
set _SKIP=2
|
||||||
|
|
||||||
|
:win9xME_args_slurp
|
||||||
|
if "x%~1" == "x" goto execute
|
||||||
|
|
||||||
|
set CMD_LINE_ARGS=%*
|
||||||
|
goto execute
|
||||||
|
|
||||||
|
:4NT_args
|
||||||
|
@rem Get arguments from the 4NT Shell from JP Software
|
||||||
|
set CMD_LINE_ARGS=%$
|
||||||
|
|
||||||
|
:execute
|
||||||
|
@rem Setup the command line
|
||||||
|
|
||||||
|
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||||
|
|
||||||
|
@rem Execute Gradle
|
||||||
|
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
|
||||||
|
|
||||||
|
:end
|
||||||
|
@rem End local scope for the variables with windows NT shell
|
||||||
|
if "%ERRORLEVEL%"=="0" goto mainEnd
|
||||||
|
|
||||||
|
:fail
|
||||||
|
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||||
|
rem the _cmd.exe /c_ return code!
|
||||||
|
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
||||||
|
exit /b 1
|
||||||
|
|
||||||
|
:mainEnd
|
||||||
|
if "%OS%"=="Windows_NT" endlocal
|
||||||
|
|
||||||
|
:omega
|
3
runClient.bat
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
@ECHO OFF
|
||||||
|
gradlew runclient
|
||||||
|
pause
|
27
runtime/ASSEMBLY_EXCEPTION
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
|
||||||
|
OPENJDK ASSEMBLY EXCEPTION
|
||||||
|
|
||||||
|
The OpenJDK source code made available by Oracle America, Inc. (Oracle) at
|
||||||
|
openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU
|
||||||
|
General Public License <http://www.gnu.org/copyleft/gpl.html> version 2
|
||||||
|
only ("GPL2"), with the following clarification and special exception.
|
||||||
|
|
||||||
|
Linking this OpenJDK Code statically or dynamically with other code
|
||||||
|
is making a combined work based on this library. Thus, the terms
|
||||||
|
and conditions of GPL2 cover the whole combination.
|
||||||
|
|
||||||
|
As a special exception, Oracle gives you permission to link this
|
||||||
|
OpenJDK Code with certain code licensed by Oracle as indicated at
|
||||||
|
http://openjdk.java.net/legal/exception-modules-2007-05-08.html
|
||||||
|
("Designated Exception Modules") to produce an executable,
|
||||||
|
regardless of the license terms of the Designated Exception Modules,
|
||||||
|
and to copy and distribute the resulting executable under GPL2,
|
||||||
|
provided that the Designated Exception Modules continue to be
|
||||||
|
governed by the licenses under which they were offered by Oracle.
|
||||||
|
|
||||||
|
As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code
|
||||||
|
to build an executable that includes those portions of necessary code that
|
||||||
|
Oracle could not provide under GPL2 (or that Oracle has provided under GPL2
|
||||||
|
with the Classpath exception). If you modify or add to the OpenJDK code,
|
||||||
|
that new GPL2 code may still be combined with Designated Exception Modules
|
||||||
|
if the new code is made subject to this exception by its copyright holder.
|
347
runtime/LICENSE
Normal file
@ -0,0 +1,347 @@
|
|||||||
|
The GNU General Public License (GPL)
|
||||||
|
|
||||||
|
Version 2, June 1991
|
||||||
|
|
||||||
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies of this license
|
||||||
|
document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your freedom to share
|
||||||
|
and change it. By contrast, the GNU General Public License is intended to
|
||||||
|
guarantee your freedom to share and change free software--to make sure the
|
||||||
|
software is free for all its users. This General Public License applies to
|
||||||
|
most of the Free Software Foundation's software and to any other program whose
|
||||||
|
authors commit to using it. (Some other Free Software Foundation software is
|
||||||
|
covered by the GNU Library General Public License instead.) You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not price. Our
|
||||||
|
General Public Licenses are designed to make sure that you have the freedom to
|
||||||
|
distribute copies of free software (and charge for this service if you wish),
|
||||||
|
that you receive source code or can get it if you want it, that you can change
|
||||||
|
the software or use pieces of it in new free programs; and that you know you
|
||||||
|
can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid anyone to deny
|
||||||
|
you these rights or to ask you to surrender the rights. These restrictions
|
||||||
|
translate to certain responsibilities for you if you distribute copies of the
|
||||||
|
software, or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether gratis or for
|
||||||
|
a fee, you must give the recipients all the rights that you have. You must
|
||||||
|
make sure that they, too, receive or can get the source code. And you must
|
||||||
|
show them these terms so they know their rights.
|
||||||
|
|
||||||
|
We protect your rights with two steps: (1) copyright the software, and (2)
|
||||||
|
offer you this license which gives you legal permission to copy, distribute
|
||||||
|
and/or modify the software.
|
||||||
|
|
||||||
|
Also, for each author's protection and ours, we want to make certain that
|
||||||
|
everyone understands that there is no warranty for this free software. If the
|
||||||
|
software is modified by someone else and passed on, we want its recipients to
|
||||||
|
know that what they have is not the original, so that any problems introduced
|
||||||
|
by others will not reflect on the original authors' reputations.
|
||||||
|
|
||||||
|
Finally, any free program is threatened constantly by software patents. We
|
||||||
|
wish to avoid the danger that redistributors of a free program will
|
||||||
|
individually obtain patent licenses, in effect making the program proprietary.
|
||||||
|
To prevent this, we have made it clear that any patent must be licensed for
|
||||||
|
everyone's free use or not licensed at all.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and modification
|
||||||
|
follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. This License applies to any program or other work which contains a notice
|
||||||
|
placed by the copyright holder saying it may be distributed under the terms of
|
||||||
|
this General Public License. The "Program", below, refers to any such program
|
||||||
|
or work, and a "work based on the Program" means either the Program or any
|
||||||
|
derivative work under copyright law: that is to say, a work containing the
|
||||||
|
Program or a portion of it, either verbatim or with modifications and/or
|
||||||
|
translated into another language. (Hereinafter, translation is included
|
||||||
|
without limitation in the term "modification".) Each licensee is addressed as
|
||||||
|
"you".
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not covered by
|
||||||
|
this License; they are outside its scope. The act of running the Program is
|
||||||
|
not restricted, and the output from the Program is covered only if its contents
|
||||||
|
constitute a work based on the Program (independent of having been made by
|
||||||
|
running the Program). Whether that is true depends on what the Program does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Program's source code as
|
||||||
|
you receive it, in any medium, provided that you conspicuously and
|
||||||
|
appropriately publish on each copy an appropriate copyright notice and
|
||||||
|
disclaimer of warranty; keep intact all the notices that refer to this License
|
||||||
|
and to the absence of any warranty; and give any other recipients of the
|
||||||
|
Program a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy, and you may
|
||||||
|
at your option offer warranty protection in exchange for a fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Program or any portion of it, thus
|
||||||
|
forming a work based on the Program, and copy and distribute such modifications
|
||||||
|
or work under the terms of Section 1 above, provided that you also meet all of
|
||||||
|
these conditions:
|
||||||
|
|
||||||
|
a) You must cause the modified files to carry prominent notices stating
|
||||||
|
that you changed the files and the date of any change.
|
||||||
|
|
||||||
|
b) You must cause any work that you distribute or publish, that in whole or
|
||||||
|
in part contains or is derived from the Program or any part thereof, to be
|
||||||
|
licensed as a whole at no charge to all third parties under the terms of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
c) If the modified program normally reads commands interactively when run,
|
||||||
|
you must cause it, when started running for such interactive use in the
|
||||||
|
most ordinary way, to print or display an announcement including an
|
||||||
|
appropriate copyright notice and a notice that there is no warranty (or
|
||||||
|
else, saying that you provide a warranty) and that users may redistribute
|
||||||
|
the program under these conditions, and telling the user how to view a copy
|
||||||
|
of this License. (Exception: if the Program itself is interactive but does
|
||||||
|
not normally print such an announcement, your work based on the Program is
|
||||||
|
not required to print an announcement.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If identifiable
|
||||||
|
sections of that work are not derived from the Program, and can be reasonably
|
||||||
|
considered independent and separate works in themselves, then this License, and
|
||||||
|
its terms, do not apply to those sections when you distribute them as separate
|
||||||
|
works. But when you distribute the same sections as part of a whole which is a
|
||||||
|
work based on the Program, the distribution of the whole must be on the terms
|
||||||
|
of this License, whose permissions for other licensees extend to the entire
|
||||||
|
whole, and thus to each and every part regardless of who wrote it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest your
|
||||||
|
rights to work written entirely by you; rather, the intent is to exercise the
|
||||||
|
right to control the distribution of derivative or collective works based on
|
||||||
|
the Program.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Program with the
|
||||||
|
Program (or with a work based on the Program) on a volume of a storage or
|
||||||
|
distribution medium does not bring the other work under the scope of this
|
||||||
|
License.
|
||||||
|
|
||||||
|
3. You may copy and distribute the Program (or a work based on it, under
|
||||||
|
Section 2) in object code or executable form under the terms of Sections 1 and
|
||||||
|
2 above provided that you also do one of the following:
|
||||||
|
|
||||||
|
a) Accompany it with the complete corresponding machine-readable source
|
||||||
|
code, which must be distributed under the terms of Sections 1 and 2 above
|
||||||
|
on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
b) Accompany it with a written offer, valid for at least three years, to
|
||||||
|
give any third party, for a charge no more than your cost of physically
|
||||||
|
performing source distribution, a complete machine-readable copy of the
|
||||||
|
corresponding source code, to be distributed under the terms of Sections 1
|
||||||
|
and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
c) Accompany it with the information you received as to the offer to
|
||||||
|
distribute corresponding source code. (This alternative is allowed only
|
||||||
|
for noncommercial distribution and only if you received the program in
|
||||||
|
object code or executable form with such an offer, in accord with
|
||||||
|
Subsection b above.)
|
||||||
|
|
||||||
|
The source code for a work means the preferred form of the work for making
|
||||||
|
modifications to it. For an executable work, complete source code means all
|
||||||
|
the source code for all modules it contains, plus any associated interface
|
||||||
|
definition files, plus the scripts used to control compilation and installation
|
||||||
|
of the executable. However, as a special exception, the source code
|
||||||
|
distributed need not include anything that is normally distributed (in either
|
||||||
|
source or binary form) with the major components (compiler, kernel, and so on)
|
||||||
|
of the operating system on which the executable runs, unless that component
|
||||||
|
itself accompanies the executable.
|
||||||
|
|
||||||
|
If distribution of executable or object code is made by offering access to copy
|
||||||
|
from a designated place, then offering equivalent access to copy the source
|
||||||
|
code from the same place counts as distribution of the source code, even though
|
||||||
|
third parties are not compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
4. You may not copy, modify, sublicense, or distribute the Program except as
|
||||||
|
expressly provided under this License. Any attempt otherwise to copy, modify,
|
||||||
|
sublicense or distribute the Program is void, and will automatically terminate
|
||||||
|
your rights under this License. However, parties who have received copies, or
|
||||||
|
rights, from you under this License will not have their licenses terminated so
|
||||||
|
long as such parties remain in full compliance.
|
||||||
|
|
||||||
|
5. You are not required to accept this License, since you have not signed it.
|
||||||
|
However, nothing else grants you permission to modify or distribute the Program
|
||||||
|
or its derivative works. These actions are prohibited by law if you do not
|
||||||
|
accept this License. Therefore, by modifying or distributing the Program (or
|
||||||
|
any work based on the Program), you indicate your acceptance of this License to
|
||||||
|
do so, and all its terms and conditions for copying, distributing or modifying
|
||||||
|
the Program or works based on it.
|
||||||
|
|
||||||
|
6. Each time you redistribute the Program (or any work based on the Program),
|
||||||
|
the recipient automatically receives a license from the original licensor to
|
||||||
|
copy, distribute or modify the Program subject to these terms and conditions.
|
||||||
|
You may not impose any further restrictions on the recipients' exercise of the
|
||||||
|
rights granted herein. You are not responsible for enforcing compliance by
|
||||||
|
third parties to this License.
|
||||||
|
|
||||||
|
7. If, as a consequence of a court judgment or allegation of patent
|
||||||
|
infringement or for any other reason (not limited to patent issues), conditions
|
||||||
|
are imposed on you (whether by court order, agreement or otherwise) that
|
||||||
|
contradict the conditions of this License, they do not excuse you from the
|
||||||
|
conditions of this License. If you cannot distribute so as to satisfy
|
||||||
|
simultaneously your obligations under this License and any other pertinent
|
||||||
|
obligations, then as a consequence you may not distribute the Program at all.
|
||||||
|
For example, if a patent license would not permit royalty-free redistribution
|
||||||
|
of the Program by all those who receive copies directly or indirectly through
|
||||||
|
you, then the only way you could satisfy both it and this License would be to
|
||||||
|
refrain entirely from distribution of the Program.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under any
|
||||||
|
particular circumstance, the balance of the section is intended to apply and
|
||||||
|
the section as a whole is intended to apply in other circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any patents or
|
||||||
|
other property right claims or to contest validity of any such claims; this
|
||||||
|
section has the sole purpose of protecting the integrity of the free software
|
||||||
|
distribution system, which is implemented by public license practices. Many
|
||||||
|
people have made generous contributions to the wide range of software
|
||||||
|
distributed through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing to
|
||||||
|
distribute software through any other system and a licensee cannot impose that
|
||||||
|
choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to be a
|
||||||
|
consequence of the rest of this License.
|
||||||
|
|
||||||
|
8. If the distribution and/or use of the Program is restricted in certain
|
||||||
|
countries either by patents or by copyrighted interfaces, the original
|
||||||
|
copyright holder who places the Program under this License may add an explicit
|
||||||
|
geographical distribution limitation excluding those countries, so that
|
||||||
|
distribution is permitted only in or among countries not thus excluded. In
|
||||||
|
such case, this License incorporates the limitation as if written in the body
|
||||||
|
of this License.
|
||||||
|
|
||||||
|
9. The Free Software Foundation may publish revised and/or new versions of the
|
||||||
|
General Public License from time to time. Such new versions will be similar in
|
||||||
|
spirit to the present version, but may differ in detail to address new problems
|
||||||
|
or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Program
|
||||||
|
specifies a version number of this License which applies to it and "any later
|
||||||
|
version", you have the option of following the terms and conditions either of
|
||||||
|
that version or of any later version published by the Free Software Foundation.
|
||||||
|
If the Program does not specify a version number of this License, you may
|
||||||
|
choose any version ever published by the Free Software Foundation.
|
||||||
|
|
||||||
|
10. If you wish to incorporate parts of the Program into other free programs
|
||||||
|
whose distribution conditions are different, write to the author to ask for
|
||||||
|
permission. For software which is copyrighted by the Free Software Foundation,
|
||||||
|
write to the Free Software Foundation; we sometimes make exceptions for this.
|
||||||
|
Our decision will be guided by the two goals of preserving the free status of
|
||||||
|
all derivatives of our free software and of promoting the sharing and reuse of
|
||||||
|
software generally.
|
||||||
|
|
||||||
|
NO WARRANTY
|
||||||
|
|
||||||
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
|
||||||
|
THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
|
||||||
|
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
|
||||||
|
PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
|
||||||
|
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
|
||||||
|
PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE,
|
||||||
|
YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
|
||||||
|
ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE
|
||||||
|
PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
|
||||||
|
INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA
|
||||||
|
BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||||
|
FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER
|
||||||
|
OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest possible
|
||||||
|
use to the public, the best way to achieve this is to make it free software
|
||||||
|
which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest to attach
|
||||||
|
them to the start of each source file to most effectively convey the exclusion
|
||||||
|
of warranty; and each file should have at least the "copyright" line and a
|
||||||
|
pointer to where the full notice is found.
|
||||||
|
|
||||||
|
One line to give the program's name and a brief idea of what it does.
|
||||||
|
|
||||||
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify it
|
||||||
|
under the terms of the GNU General Public License as published by the Free
|
||||||
|
Software Foundation; either version 2 of the License, or (at your option)
|
||||||
|
any later version.
|
||||||
|
|
||||||
|
This program 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 for
|
||||||
|
more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License along
|
||||||
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program is interactive, make it output a short notice like this when it
|
||||||
|
starts in an interactive mode:
|
||||||
|
|
||||||
|
Gnomovision version 69, Copyright (C) year name of author Gnomovision comes
|
||||||
|
with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free
|
||||||
|
software, and you are welcome to redistribute it under certain conditions;
|
||||||
|
type 'show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands 'show w' and 'show c' should show the appropriate
|
||||||
|
parts of the General Public License. Of course, the commands you use may be
|
||||||
|
called something other than 'show w' and 'show c'; they could even be
|
||||||
|
mouse-clicks or menu items--whatever suits your program.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or your school,
|
||||||
|
if any, to sign a "copyright disclaimer" for the program, if necessary. Here
|
||||||
|
is a sample; alter the names:
|
||||||
|
|
||||||
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||||
|
'Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||||
|
|
||||||
|
signature of Ty Coon, 1 April 1989
|
||||||
|
|
||||||
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
|
This General Public License does not permit incorporating your program into
|
||||||
|
proprietary programs. If your program is a subroutine library, you may
|
||||||
|
consider it more useful to permit linking proprietary applications with the
|
||||||
|
library. If this is what you want to do, use the GNU Library General Public
|
||||||
|
License instead of this License.
|
||||||
|
|
||||||
|
|
||||||
|
"CLASSPATH" EXCEPTION TO THE GPL
|
||||||
|
|
||||||
|
Certain source files distributed by Oracle America and/or its affiliates are
|
||||||
|
subject to the following clarification and special exception to the GPL, but
|
||||||
|
only where Oracle has expressly included in the particular source file's header
|
||||||
|
the words "Oracle designates this particular file as subject to the "Classpath"
|
||||||
|
exception as provided by Oracle in the LICENSE file that accompanied this code."
|
||||||
|
|
||||||
|
Linking this library statically or dynamically with other modules is making
|
||||||
|
a combined work based on this library. Thus, the terms and conditions of
|
||||||
|
the GNU General Public License cover the whole combination.
|
||||||
|
|
||||||
|
As a special exception, the copyright holders of this library give you
|
||||||
|
permission to link this library with independent modules to produce an
|
||||||
|
executable, regardless of the license terms of these independent modules,
|
||||||
|
and to copy and distribute the resulting executable under terms of your
|
||||||
|
choice, provided that you also meet, for each linked independent module,
|
||||||
|
the terms and conditions of the license of that module. An independent
|
||||||
|
module is a module which is not derived from or based on this library. If
|
||||||
|
you modify this library, you may extend this exception to your version of
|
||||||
|
the library, but you are not obligated to do so. If you do not wish to do
|
||||||
|
so, delete this exception statement from your version.
|
63
runtime/NOTICE
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
# Notices for Eclipse Temurin
|
||||||
|
|
||||||
|
This content is produced and maintained by the Eclipse Temurin project.
|
||||||
|
|
||||||
|
* Project home: https://projects.eclipse.org/projects/adoptium.temurin
|
||||||
|
|
||||||
|
## Trademarks
|
||||||
|
|
||||||
|
Eclipse Temurin is a trademark of the Eclipse Foundation. Eclipse, and the
|
||||||
|
Eclipse Logo are registered trademarks of the Eclipse Foundation.
|
||||||
|
|
||||||
|
Java and all Java-based trademarks are trademarks of Oracle Corporation in
|
||||||
|
the United States, other countries, or both.
|
||||||
|
|
||||||
|
## Copyright
|
||||||
|
|
||||||
|
All content is the property of the respective authors or their employers.
|
||||||
|
For more information regarding authorship of content, please consult the
|
||||||
|
listed source code repository logs.
|
||||||
|
|
||||||
|
## Declared Project Licenses
|
||||||
|
|
||||||
|
This program and the accompanying materials are made available under the terms
|
||||||
|
of the GNU General Public License, version 2, with the Classpath Exception.
|
||||||
|
|
||||||
|
Additional information relating to the program and accompanying materials
|
||||||
|
license and usage is available as follows.
|
||||||
|
* For Eclipse Temurin version 8 see the LICENSE and ASSEMBLY_EXCEPTION files
|
||||||
|
in the top level directory of the installation.
|
||||||
|
* For Eclipse Temurin version 9 or later see the files under the legal/
|
||||||
|
directory in the top level directory of the installation.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: GPL-2.0 WITH Classpath-exception-2.0
|
||||||
|
|
||||||
|
## Source Code
|
||||||
|
|
||||||
|
The project maintains the following source code repositories which may be
|
||||||
|
relevant to this content:
|
||||||
|
|
||||||
|
* https://github.com/adoptium/temurin-build
|
||||||
|
* https://github.com/adoptium/jdk
|
||||||
|
* https://github.com/adoptium/jdk8u
|
||||||
|
* https://github.com/adoptium/jdk11u
|
||||||
|
* https://github.com/adoptium/jdk16u
|
||||||
|
* https://github.com/adoptium/jdk17u
|
||||||
|
* and so on
|
||||||
|
|
||||||
|
## Third-party Content
|
||||||
|
|
||||||
|
This program and accompanying materials contains third-party content.
|
||||||
|
* For Eclipse Temurin version 8 see the THIRD_PARTY_LICENSE file in the
|
||||||
|
top level directory of the installation.
|
||||||
|
* For Eclipse Temurin version 9 or later see the files under the legal/
|
||||||
|
directory in the top level directory of the installation.
|
||||||
|
|
||||||
|
## Cryptography
|
||||||
|
|
||||||
|
Content may contain encryption software. The country in which you are currently
|
||||||
|
may have restrictions on the import, possession, and use, and/or re-export to
|
||||||
|
another country, of encryption software. BEFORE using any encryption software,
|
||||||
|
please check the country's laws, regulations and policies concerning the import,
|
||||||
|
possession, or use, and re-export of encryption software, to see if this is
|
||||||
|
permitted.
|
3318
runtime/THIRD_PARTY_README
Normal file
560
runtime/include/classfile_constants.h
Normal file
@ -0,0 +1,560 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2004, 2012, 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. 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef CLASSFILE_CONSTANTS_H
|
||||||
|
#define CLASSFILE_CONSTANTS_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Classfile version number for this information */
|
||||||
|
#define JVM_CLASSFILE_MAJOR_VERSION 52
|
||||||
|
#define JVM_CLASSFILE_MINOR_VERSION 0
|
||||||
|
|
||||||
|
/* Flags */
|
||||||
|
|
||||||
|
enum {
|
||||||
|
JVM_ACC_PUBLIC = 0x0001,
|
||||||
|
JVM_ACC_PRIVATE = 0x0002,
|
||||||
|
JVM_ACC_PROTECTED = 0x0004,
|
||||||
|
JVM_ACC_STATIC = 0x0008,
|
||||||
|
JVM_ACC_FINAL = 0x0010,
|
||||||
|
JVM_ACC_SYNCHRONIZED = 0x0020,
|
||||||
|
JVM_ACC_SUPER = 0x0020,
|
||||||
|
JVM_ACC_VOLATILE = 0x0040,
|
||||||
|
JVM_ACC_BRIDGE = 0x0040,
|
||||||
|
JVM_ACC_TRANSIENT = 0x0080,
|
||||||
|
JVM_ACC_VARARGS = 0x0080,
|
||||||
|
JVM_ACC_NATIVE = 0x0100,
|
||||||
|
JVM_ACC_INTERFACE = 0x0200,
|
||||||
|
JVM_ACC_ABSTRACT = 0x0400,
|
||||||
|
JVM_ACC_STRICT = 0x0800,
|
||||||
|
JVM_ACC_SYNTHETIC = 0x1000,
|
||||||
|
JVM_ACC_ANNOTATION = 0x2000,
|
||||||
|
JVM_ACC_ENUM = 0x4000
|
||||||
|
};
|
||||||
|
|
||||||
|
/* Used in newarray instruction. */
|
||||||
|
|
||||||
|
enum {
|
||||||
|
JVM_T_BOOLEAN = 4,
|
||||||
|
JVM_T_CHAR = 5,
|
||||||
|
JVM_T_FLOAT = 6,
|
||||||
|
JVM_T_DOUBLE = 7,
|
||||||
|
JVM_T_BYTE = 8,
|
||||||
|
JVM_T_SHORT = 9,
|
||||||
|
JVM_T_INT = 10,
|
||||||
|
JVM_T_LONG = 11
|
||||||
|
};
|
||||||
|
|
||||||
|
/* Constant Pool Entries */
|
||||||
|
|
||||||
|
enum {
|
||||||
|
JVM_CONSTANT_Utf8 = 1,
|
||||||
|
JVM_CONSTANT_Unicode = 2, /* unused */
|
||||||
|
JVM_CONSTANT_Integer = 3,
|
||||||
|
JVM_CONSTANT_Float = 4,
|
||||||
|
JVM_CONSTANT_Long = 5,
|
||||||
|
JVM_CONSTANT_Double = 6,
|
||||||
|
JVM_CONSTANT_Class = 7,
|
||||||
|
JVM_CONSTANT_String = 8,
|
||||||
|
JVM_CONSTANT_Fieldref = 9,
|
||||||
|
JVM_CONSTANT_Methodref = 10,
|
||||||
|
JVM_CONSTANT_InterfaceMethodref = 11,
|
||||||
|
JVM_CONSTANT_NameAndType = 12,
|
||||||
|
JVM_CONSTANT_MethodHandle = 15, // JSR 292
|
||||||
|
JVM_CONSTANT_MethodType = 16, // JSR 292
|
||||||
|
JVM_CONSTANT_InvokeDynamic = 18
|
||||||
|
};
|
||||||
|
|
||||||
|
/* JVM_CONSTANT_MethodHandle subtypes */
|
||||||
|
enum {
|
||||||
|
JVM_REF_getField = 1,
|
||||||
|
JVM_REF_getStatic = 2,
|
||||||
|
JVM_REF_putField = 3,
|
||||||
|
JVM_REF_putStatic = 4,
|
||||||
|
JVM_REF_invokeVirtual = 5,
|
||||||
|
JVM_REF_invokeStatic = 6,
|
||||||
|
JVM_REF_invokeSpecial = 7,
|
||||||
|
JVM_REF_newInvokeSpecial = 8,
|
||||||
|
JVM_REF_invokeInterface = 9
|
||||||
|
};
|
||||||
|
|
||||||
|
/* StackMapTable type item numbers */
|
||||||
|
|
||||||
|
enum {
|
||||||
|
JVM_ITEM_Top = 0,
|
||||||
|
JVM_ITEM_Integer = 1,
|
||||||
|
JVM_ITEM_Float = 2,
|
||||||
|
JVM_ITEM_Double = 3,
|
||||||
|
JVM_ITEM_Long = 4,
|
||||||
|
JVM_ITEM_Null = 5,
|
||||||
|
JVM_ITEM_UninitializedThis = 6,
|
||||||
|
JVM_ITEM_Object = 7,
|
||||||
|
JVM_ITEM_Uninitialized = 8
|
||||||
|
};
|
||||||
|
|
||||||
|
/* Type signatures */
|
||||||
|
|
||||||
|
enum {
|
||||||
|
JVM_SIGNATURE_ARRAY = '[',
|
||||||
|
JVM_SIGNATURE_BYTE = 'B',
|
||||||
|
JVM_SIGNATURE_CHAR = 'C',
|
||||||
|
JVM_SIGNATURE_CLASS = 'L',
|
||||||
|
JVM_SIGNATURE_ENDCLASS = ';',
|
||||||
|
JVM_SIGNATURE_ENUM = 'E',
|
||||||
|
JVM_SIGNATURE_FLOAT = 'F',
|
||||||
|
JVM_SIGNATURE_DOUBLE = 'D',
|
||||||
|
JVM_SIGNATURE_FUNC = '(',
|
||||||
|
JVM_SIGNATURE_ENDFUNC = ')',
|
||||||
|
JVM_SIGNATURE_INT = 'I',
|
||||||
|
JVM_SIGNATURE_LONG = 'J',
|
||||||
|
JVM_SIGNATURE_SHORT = 'S',
|
||||||
|
JVM_SIGNATURE_VOID = 'V',
|
||||||
|
JVM_SIGNATURE_BOOLEAN = 'Z'
|
||||||
|
};
|
||||||
|
|
||||||
|
/* Opcodes */
|
||||||
|
|
||||||
|
enum {
|
||||||
|
JVM_OPC_nop = 0,
|
||||||
|
JVM_OPC_aconst_null = 1,
|
||||||
|
JVM_OPC_iconst_m1 = 2,
|
||||||
|
JVM_OPC_iconst_0 = 3,
|
||||||
|
JVM_OPC_iconst_1 = 4,
|
||||||
|
JVM_OPC_iconst_2 = 5,
|
||||||
|
JVM_OPC_iconst_3 = 6,
|
||||||
|
JVM_OPC_iconst_4 = 7,
|
||||||
|
JVM_OPC_iconst_5 = 8,
|
||||||
|
JVM_OPC_lconst_0 = 9,
|
||||||
|
JVM_OPC_lconst_1 = 10,
|
||||||
|
JVM_OPC_fconst_0 = 11,
|
||||||
|
JVM_OPC_fconst_1 = 12,
|
||||||
|
JVM_OPC_fconst_2 = 13,
|
||||||
|
JVM_OPC_dconst_0 = 14,
|
||||||
|
JVM_OPC_dconst_1 = 15,
|
||||||
|
JVM_OPC_bipush = 16,
|
||||||
|
JVM_OPC_sipush = 17,
|
||||||
|
JVM_OPC_ldc = 18,
|
||||||
|
JVM_OPC_ldc_w = 19,
|
||||||
|
JVM_OPC_ldc2_w = 20,
|
||||||
|
JVM_OPC_iload = 21,
|
||||||
|
JVM_OPC_lload = 22,
|
||||||
|
JVM_OPC_fload = 23,
|
||||||
|
JVM_OPC_dload = 24,
|
||||||
|
JVM_OPC_aload = 25,
|
||||||
|
JVM_OPC_iload_0 = 26,
|
||||||
|
JVM_OPC_iload_1 = 27,
|
||||||
|
JVM_OPC_iload_2 = 28,
|
||||||
|
JVM_OPC_iload_3 = 29,
|
||||||
|
JVM_OPC_lload_0 = 30,
|
||||||
|
JVM_OPC_lload_1 = 31,
|
||||||
|
JVM_OPC_lload_2 = 32,
|
||||||
|
JVM_OPC_lload_3 = 33,
|
||||||
|
JVM_OPC_fload_0 = 34,
|
||||||
|
JVM_OPC_fload_1 = 35,
|
||||||
|
JVM_OPC_fload_2 = 36,
|
||||||
|
JVM_OPC_fload_3 = 37,
|
||||||
|
JVM_OPC_dload_0 = 38,
|
||||||
|
JVM_OPC_dload_1 = 39,
|
||||||
|
JVM_OPC_dload_2 = 40,
|
||||||
|
JVM_OPC_dload_3 = 41,
|
||||||
|
JVM_OPC_aload_0 = 42,
|
||||||
|
JVM_OPC_aload_1 = 43,
|
||||||
|
JVM_OPC_aload_2 = 44,
|
||||||
|
JVM_OPC_aload_3 = 45,
|
||||||
|
JVM_OPC_iaload = 46,
|
||||||
|
JVM_OPC_laload = 47,
|
||||||
|
JVM_OPC_faload = 48,
|
||||||
|
JVM_OPC_daload = 49,
|
||||||
|
JVM_OPC_aaload = 50,
|
||||||
|
JVM_OPC_baload = 51,
|
||||||
|
JVM_OPC_caload = 52,
|
||||||
|
JVM_OPC_saload = 53,
|
||||||
|
JVM_OPC_istore = 54,
|
||||||
|
JVM_OPC_lstore = 55,
|
||||||
|
JVM_OPC_fstore = 56,
|
||||||
|
JVM_OPC_dstore = 57,
|
||||||
|
JVM_OPC_astore = 58,
|
||||||
|
JVM_OPC_istore_0 = 59,
|
||||||
|
JVM_OPC_istore_1 = 60,
|
||||||
|
JVM_OPC_istore_2 = 61,
|
||||||
|
JVM_OPC_istore_3 = 62,
|
||||||
|
JVM_OPC_lstore_0 = 63,
|
||||||
|
JVM_OPC_lstore_1 = 64,
|
||||||
|
JVM_OPC_lstore_2 = 65,
|
||||||
|
JVM_OPC_lstore_3 = 66,
|
||||||
|
JVM_OPC_fstore_0 = 67,
|
||||||
|
JVM_OPC_fstore_1 = 68,
|
||||||
|
JVM_OPC_fstore_2 = 69,
|
||||||
|
JVM_OPC_fstore_3 = 70,
|
||||||
|
JVM_OPC_dstore_0 = 71,
|
||||||
|
JVM_OPC_dstore_1 = 72,
|
||||||
|
JVM_OPC_dstore_2 = 73,
|
||||||
|
JVM_OPC_dstore_3 = 74,
|
||||||
|
JVM_OPC_astore_0 = 75,
|
||||||
|
JVM_OPC_astore_1 = 76,
|
||||||
|
JVM_OPC_astore_2 = 77,
|
||||||
|
JVM_OPC_astore_3 = 78,
|
||||||
|
JVM_OPC_iastore = 79,
|
||||||
|
JVM_OPC_lastore = 80,
|
||||||
|
JVM_OPC_fastore = 81,
|
||||||
|
JVM_OPC_dastore = 82,
|
||||||
|
JVM_OPC_aastore = 83,
|
||||||
|
JVM_OPC_bastore = 84,
|
||||||
|
JVM_OPC_castore = 85,
|
||||||
|
JVM_OPC_sastore = 86,
|
||||||
|
JVM_OPC_pop = 87,
|
||||||
|
JVM_OPC_pop2 = 88,
|
||||||
|
JVM_OPC_dup = 89,
|
||||||
|
JVM_OPC_dup_x1 = 90,
|
||||||
|
JVM_OPC_dup_x2 = 91,
|
||||||
|
JVM_OPC_dup2 = 92,
|
||||||
|
JVM_OPC_dup2_x1 = 93,
|
||||||
|
JVM_OPC_dup2_x2 = 94,
|
||||||
|
JVM_OPC_swap = 95,
|
||||||
|
JVM_OPC_iadd = 96,
|
||||||
|
JVM_OPC_ladd = 97,
|
||||||
|
JVM_OPC_fadd = 98,
|
||||||
|
JVM_OPC_dadd = 99,
|
||||||
|
JVM_OPC_isub = 100,
|
||||||
|
JVM_OPC_lsub = 101,
|
||||||
|
JVM_OPC_fsub = 102,
|
||||||
|
JVM_OPC_dsub = 103,
|
||||||
|
JVM_OPC_imul = 104,
|
||||||
|
JVM_OPC_lmul = 105,
|
||||||
|
JVM_OPC_fmul = 106,
|
||||||
|
JVM_OPC_dmul = 107,
|
||||||
|
JVM_OPC_idiv = 108,
|
||||||
|
JVM_OPC_ldiv = 109,
|
||||||
|
JVM_OPC_fdiv = 110,
|
||||||
|
JVM_OPC_ddiv = 111,
|
||||||
|
JVM_OPC_irem = 112,
|
||||||
|
JVM_OPC_lrem = 113,
|
||||||
|
JVM_OPC_frem = 114,
|
||||||
|
JVM_OPC_drem = 115,
|
||||||
|
JVM_OPC_ineg = 116,
|
||||||
|
JVM_OPC_lneg = 117,
|
||||||
|
JVM_OPC_fneg = 118,
|
||||||
|
JVM_OPC_dneg = 119,
|
||||||
|
JVM_OPC_ishl = 120,
|
||||||
|
JVM_OPC_lshl = 121,
|
||||||
|
JVM_OPC_ishr = 122,
|
||||||
|
JVM_OPC_lshr = 123,
|
||||||
|
JVM_OPC_iushr = 124,
|
||||||
|
JVM_OPC_lushr = 125,
|
||||||
|
JVM_OPC_iand = 126,
|
||||||
|
JVM_OPC_land = 127,
|
||||||
|
JVM_OPC_ior = 128,
|
||||||
|
JVM_OPC_lor = 129,
|
||||||
|
JVM_OPC_ixor = 130,
|
||||||
|
JVM_OPC_lxor = 131,
|
||||||
|
JVM_OPC_iinc = 132,
|
||||||
|
JVM_OPC_i2l = 133,
|
||||||
|
JVM_OPC_i2f = 134,
|
||||||
|
JVM_OPC_i2d = 135,
|
||||||
|
JVM_OPC_l2i = 136,
|
||||||
|
JVM_OPC_l2f = 137,
|
||||||
|
JVM_OPC_l2d = 138,
|
||||||
|
JVM_OPC_f2i = 139,
|
||||||
|
JVM_OPC_f2l = 140,
|
||||||
|
JVM_OPC_f2d = 141,
|
||||||
|
JVM_OPC_d2i = 142,
|
||||||
|
JVM_OPC_d2l = 143,
|
||||||
|
JVM_OPC_d2f = 144,
|
||||||
|
JVM_OPC_i2b = 145,
|
||||||
|
JVM_OPC_i2c = 146,
|
||||||
|
JVM_OPC_i2s = 147,
|
||||||
|
JVM_OPC_lcmp = 148,
|
||||||
|
JVM_OPC_fcmpl = 149,
|
||||||
|
JVM_OPC_fcmpg = 150,
|
||||||
|
JVM_OPC_dcmpl = 151,
|
||||||
|
JVM_OPC_dcmpg = 152,
|
||||||
|
JVM_OPC_ifeq = 153,
|
||||||
|
JVM_OPC_ifne = 154,
|
||||||
|
JVM_OPC_iflt = 155,
|
||||||
|
JVM_OPC_ifge = 156,
|
||||||
|
JVM_OPC_ifgt = 157,
|
||||||
|
JVM_OPC_ifle = 158,
|
||||||
|
JVM_OPC_if_icmpeq = 159,
|
||||||
|
JVM_OPC_if_icmpne = 160,
|
||||||
|
JVM_OPC_if_icmplt = 161,
|
||||||
|
JVM_OPC_if_icmpge = 162,
|
||||||
|
JVM_OPC_if_icmpgt = 163,
|
||||||
|
JVM_OPC_if_icmple = 164,
|
||||||
|
JVM_OPC_if_acmpeq = 165,
|
||||||
|
JVM_OPC_if_acmpne = 166,
|
||||||
|
JVM_OPC_goto = 167,
|
||||||
|
JVM_OPC_jsr = 168,
|
||||||
|
JVM_OPC_ret = 169,
|
||||||
|
JVM_OPC_tableswitch = 170,
|
||||||
|
JVM_OPC_lookupswitch = 171,
|
||||||
|
JVM_OPC_ireturn = 172,
|
||||||
|
JVM_OPC_lreturn = 173,
|
||||||
|
JVM_OPC_freturn = 174,
|
||||||
|
JVM_OPC_dreturn = 175,
|
||||||
|
JVM_OPC_areturn = 176,
|
||||||
|
JVM_OPC_return = 177,
|
||||||
|
JVM_OPC_getstatic = 178,
|
||||||
|
JVM_OPC_putstatic = 179,
|
||||||
|
JVM_OPC_getfield = 180,
|
||||||
|
JVM_OPC_putfield = 181,
|
||||||
|
JVM_OPC_invokevirtual = 182,
|
||||||
|
JVM_OPC_invokespecial = 183,
|
||||||
|
JVM_OPC_invokestatic = 184,
|
||||||
|
JVM_OPC_invokeinterface = 185,
|
||||||
|
JVM_OPC_invokedynamic = 186,
|
||||||
|
JVM_OPC_new = 187,
|
||||||
|
JVM_OPC_newarray = 188,
|
||||||
|
JVM_OPC_anewarray = 189,
|
||||||
|
JVM_OPC_arraylength = 190,
|
||||||
|
JVM_OPC_athrow = 191,
|
||||||
|
JVM_OPC_checkcast = 192,
|
||||||
|
JVM_OPC_instanceof = 193,
|
||||||
|
JVM_OPC_monitorenter = 194,
|
||||||
|
JVM_OPC_monitorexit = 195,
|
||||||
|
JVM_OPC_wide = 196,
|
||||||
|
JVM_OPC_multianewarray = 197,
|
||||||
|
JVM_OPC_ifnull = 198,
|
||||||
|
JVM_OPC_ifnonnull = 199,
|
||||||
|
JVM_OPC_goto_w = 200,
|
||||||
|
JVM_OPC_jsr_w = 201,
|
||||||
|
JVM_OPC_MAX = 201
|
||||||
|
};
|
||||||
|
|
||||||
|
/* Opcode length initializer, use with something like:
|
||||||
|
* unsigned char opcode_length[JVM_OPC_MAX+1] = JVM_OPCODE_LENGTH_INITIALIZER;
|
||||||
|
*/
|
||||||
|
#define JVM_OPCODE_LENGTH_INITIALIZER { \
|
||||||
|
1, /* nop */ \
|
||||||
|
1, /* aconst_null */ \
|
||||||
|
1, /* iconst_m1 */ \
|
||||||
|
1, /* iconst_0 */ \
|
||||||
|
1, /* iconst_1 */ \
|
||||||
|
1, /* iconst_2 */ \
|
||||||
|
1, /* iconst_3 */ \
|
||||||
|
1, /* iconst_4 */ \
|
||||||
|
1, /* iconst_5 */ \
|
||||||
|
1, /* lconst_0 */ \
|
||||||
|
1, /* lconst_1 */ \
|
||||||
|
1, /* fconst_0 */ \
|
||||||
|
1, /* fconst_1 */ \
|
||||||
|
1, /* fconst_2 */ \
|
||||||
|
1, /* dconst_0 */ \
|
||||||
|
1, /* dconst_1 */ \
|
||||||
|
2, /* bipush */ \
|
||||||
|
3, /* sipush */ \
|
||||||
|
2, /* ldc */ \
|
||||||
|
3, /* ldc_w */ \
|
||||||
|
3, /* ldc2_w */ \
|
||||||
|
2, /* iload */ \
|
||||||
|
2, /* lload */ \
|
||||||
|
2, /* fload */ \
|
||||||
|
2, /* dload */ \
|
||||||
|
2, /* aload */ \
|
||||||
|
1, /* iload_0 */ \
|
||||||
|
1, /* iload_1 */ \
|
||||||
|
1, /* iload_2 */ \
|
||||||
|
1, /* iload_3 */ \
|
||||||
|
1, /* lload_0 */ \
|
||||||
|
1, /* lload_1 */ \
|
||||||
|
1, /* lload_2 */ \
|
||||||
|
1, /* lload_3 */ \
|
||||||
|
1, /* fload_0 */ \
|
||||||
|
1, /* fload_1 */ \
|
||||||
|
1, /* fload_2 */ \
|
||||||
|
1, /* fload_3 */ \
|
||||||
|
1, /* dload_0 */ \
|
||||||
|
1, /* dload_1 */ \
|
||||||
|
1, /* dload_2 */ \
|
||||||
|
1, /* dload_3 */ \
|
||||||
|
1, /* aload_0 */ \
|
||||||
|
1, /* aload_1 */ \
|
||||||
|
1, /* aload_2 */ \
|
||||||
|
1, /* aload_3 */ \
|
||||||
|
1, /* iaload */ \
|
||||||
|
1, /* laload */ \
|
||||||
|
1, /* faload */ \
|
||||||
|
1, /* daload */ \
|
||||||
|
1, /* aaload */ \
|
||||||
|
1, /* baload */ \
|
||||||
|
1, /* caload */ \
|
||||||
|
1, /* saload */ \
|
||||||
|
2, /* istore */ \
|
||||||
|
2, /* lstore */ \
|
||||||
|
2, /* fstore */ \
|
||||||
|
2, /* dstore */ \
|
||||||
|
2, /* astore */ \
|
||||||
|
1, /* istore_0 */ \
|
||||||
|
1, /* istore_1 */ \
|
||||||
|
1, /* istore_2 */ \
|
||||||
|
1, /* istore_3 */ \
|
||||||
|
1, /* lstore_0 */ \
|
||||||
|
1, /* lstore_1 */ \
|
||||||
|
1, /* lstore_2 */ \
|
||||||
|
1, /* lstore_3 */ \
|
||||||
|
1, /* fstore_0 */ \
|
||||||
|
1, /* fstore_1 */ \
|
||||||
|
1, /* fstore_2 */ \
|
||||||
|
1, /* fstore_3 */ \
|
||||||
|
1, /* dstore_0 */ \
|
||||||
|
1, /* dstore_1 */ \
|
||||||
|
1, /* dstore_2 */ \
|
||||||
|
1, /* dstore_3 */ \
|
||||||
|
1, /* astore_0 */ \
|
||||||
|
1, /* astore_1 */ \
|
||||||
|
1, /* astore_2 */ \
|
||||||
|
1, /* astore_3 */ \
|
||||||
|
1, /* iastore */ \
|
||||||
|
1, /* lastore */ \
|
||||||
|
1, /* fastore */ \
|
||||||
|
1, /* dastore */ \
|
||||||
|
1, /* aastore */ \
|
||||||
|
1, /* bastore */ \
|
||||||
|
1, /* castore */ \
|
||||||
|
1, /* sastore */ \
|
||||||
|
1, /* pop */ \
|
||||||
|
1, /* pop2 */ \
|
||||||
|
1, /* dup */ \
|
||||||
|
1, /* dup_x1 */ \
|
||||||
|
1, /* dup_x2 */ \
|
||||||
|
1, /* dup2 */ \
|
||||||
|
1, /* dup2_x1 */ \
|
||||||
|
1, /* dup2_x2 */ \
|
||||||
|
1, /* swap */ \
|
||||||
|
1, /* iadd */ \
|
||||||
|
1, /* ladd */ \
|
||||||
|
1, /* fadd */ \
|
||||||
|
1, /* dadd */ \
|
||||||
|
1, /* isub */ \
|
||||||
|
1, /* lsub */ \
|
||||||
|
1, /* fsub */ \
|
||||||
|
1, /* dsub */ \
|
||||||
|
1, /* imul */ \
|
||||||
|
1, /* lmul */ \
|
||||||
|
1, /* fmul */ \
|
||||||
|
1, /* dmul */ \
|
||||||
|
1, /* idiv */ \
|
||||||
|
1, /* ldiv */ \
|
||||||
|
1, /* fdiv */ \
|
||||||
|
1, /* ddiv */ \
|
||||||
|
1, /* irem */ \
|
||||||
|
1, /* lrem */ \
|
||||||
|
1, /* frem */ \
|
||||||
|
1, /* drem */ \
|
||||||
|
1, /* ineg */ \
|
||||||
|
1, /* lneg */ \
|
||||||
|
1, /* fneg */ \
|
||||||
|
1, /* dneg */ \
|
||||||
|
1, /* ishl */ \
|
||||||
|
1, /* lshl */ \
|
||||||
|
1, /* ishr */ \
|
||||||
|
1, /* lshr */ \
|
||||||
|
1, /* iushr */ \
|
||||||
|
1, /* lushr */ \
|
||||||
|
1, /* iand */ \
|
||||||
|
1, /* land */ \
|
||||||
|
1, /* ior */ \
|
||||||
|
1, /* lor */ \
|
||||||
|
1, /* ixor */ \
|
||||||
|
1, /* lxor */ \
|
||||||
|
3, /* iinc */ \
|
||||||
|
1, /* i2l */ \
|
||||||
|
1, /* i2f */ \
|
||||||
|
1, /* i2d */ \
|
||||||
|
1, /* l2i */ \
|
||||||
|
1, /* l2f */ \
|
||||||
|
1, /* l2d */ \
|
||||||
|
1, /* f2i */ \
|
||||||
|
1, /* f2l */ \
|
||||||
|
1, /* f2d */ \
|
||||||
|
1, /* d2i */ \
|
||||||
|
1, /* d2l */ \
|
||||||
|
1, /* d2f */ \
|
||||||
|
1, /* i2b */ \
|
||||||
|
1, /* i2c */ \
|
||||||
|
1, /* i2s */ \
|
||||||
|
1, /* lcmp */ \
|
||||||
|
1, /* fcmpl */ \
|
||||||
|
1, /* fcmpg */ \
|
||||||
|
1, /* dcmpl */ \
|
||||||
|
1, /* dcmpg */ \
|
||||||
|
3, /* ifeq */ \
|
||||||
|
3, /* ifne */ \
|
||||||
|
3, /* iflt */ \
|
||||||
|
3, /* ifge */ \
|
||||||
|
3, /* ifgt */ \
|
||||||
|
3, /* ifle */ \
|
||||||
|
3, /* if_icmpeq */ \
|
||||||
|
3, /* if_icmpne */ \
|
||||||
|
3, /* if_icmplt */ \
|
||||||
|
3, /* if_icmpge */ \
|
||||||
|
3, /* if_icmpgt */ \
|
||||||
|
3, /* if_icmple */ \
|
||||||
|
3, /* if_acmpeq */ \
|
||||||
|
3, /* if_acmpne */ \
|
||||||
|
3, /* goto */ \
|
||||||
|
3, /* jsr */ \
|
||||||
|
2, /* ret */ \
|
||||||
|
99, /* tableswitch */ \
|
||||||
|
99, /* lookupswitch */ \
|
||||||
|
1, /* ireturn */ \
|
||||||
|
1, /* lreturn */ \
|
||||||
|
1, /* freturn */ \
|
||||||
|
1, /* dreturn */ \
|
||||||
|
1, /* areturn */ \
|
||||||
|
1, /* return */ \
|
||||||
|
3, /* getstatic */ \
|
||||||
|
3, /* putstatic */ \
|
||||||
|
3, /* getfield */ \
|
||||||
|
3, /* putfield */ \
|
||||||
|
3, /* invokevirtual */ \
|
||||||
|
3, /* invokespecial */ \
|
||||||
|
3, /* invokestatic */ \
|
||||||
|
5, /* invokeinterface */ \
|
||||||
|
5, /* invokedynamic */ \
|
||||||
|
3, /* new */ \
|
||||||
|
2, /* newarray */ \
|
||||||
|
3, /* anewarray */ \
|
||||||
|
1, /* arraylength */ \
|
||||||
|
1, /* athrow */ \
|
||||||
|
3, /* checkcast */ \
|
||||||
|
3, /* instanceof */ \
|
||||||
|
1, /* monitorenter */ \
|
||||||
|
1, /* monitorexit */ \
|
||||||
|
0, /* wide */ \
|
||||||
|
4, /* multianewarray */ \
|
||||||
|
3, /* ifnull */ \
|
||||||
|
3, /* ifnonnull */ \
|
||||||
|
5, /* goto_w */ \
|
||||||
|
5 /* jsr_w */ \
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} /* extern "C" */
|
||||||
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
#endif /* CLASSFILE_CONSTANTS */
|
299
runtime/include/jawt.h
Normal file
@ -0,0 +1,299 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 1999, 2013, 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. 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _JAVASOFT_JAWT_H_
|
||||||
|
#define _JAVASOFT_JAWT_H_
|
||||||
|
|
||||||
|
#include "jni.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* AWT native interface (new in JDK 1.3)
|
||||||
|
*
|
||||||
|
* The AWT native interface allows a native C or C++ application a means
|
||||||
|
* by which to access native structures in AWT. This is to facilitate moving
|
||||||
|
* legacy C and C++ applications to Java and to target the needs of the
|
||||||
|
* community who, at present, wish to do their own native rendering to canvases
|
||||||
|
* for performance reasons. Standard extensions such as Java3D also require a
|
||||||
|
* means to access the underlying native data structures of AWT.
|
||||||
|
*
|
||||||
|
* There may be future extensions to this API depending on demand.
|
||||||
|
*
|
||||||
|
* A VM does not have to implement this API in order to pass the JCK.
|
||||||
|
* It is recommended, however, that this API is implemented on VMs that support
|
||||||
|
* standard extensions, such as Java3D.
|
||||||
|
*
|
||||||
|
* Since this is a native API, any program which uses it cannot be considered
|
||||||
|
* 100% pure java.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* AWT Native Drawing Surface (JAWT_DrawingSurface).
|
||||||
|
*
|
||||||
|
* For each platform, there is a native drawing surface structure. This
|
||||||
|
* platform-specific structure can be found in jawt_md.h. It is recommended
|
||||||
|
* that additional platforms follow the same model. It is also recommended
|
||||||
|
* that VMs on Win32 and Solaris support the existing structures in jawt_md.h.
|
||||||
|
*
|
||||||
|
*******************
|
||||||
|
* EXAMPLE OF USAGE:
|
||||||
|
*******************
|
||||||
|
*
|
||||||
|
* In Win32, a programmer wishes to access the HWND of a canvas to perform
|
||||||
|
* native rendering into it. The programmer has declared the paint() method
|
||||||
|
* for their canvas subclass to be native:
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* MyCanvas.java:
|
||||||
|
*
|
||||||
|
* import java.awt.*;
|
||||||
|
*
|
||||||
|
* public class MyCanvas extends Canvas {
|
||||||
|
*
|
||||||
|
* static {
|
||||||
|
* System.loadLibrary("mylib");
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
* public native void paint(Graphics g);
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* myfile.c:
|
||||||
|
*
|
||||||
|
* #include "jawt_md.h"
|
||||||
|
* #include <assert.h>
|
||||||
|
*
|
||||||
|
* JNIEXPORT void JNICALL
|
||||||
|
* Java_MyCanvas_paint(JNIEnv* env, jobject canvas, jobject graphics)
|
||||||
|
* {
|
||||||
|
* JAWT awt;
|
||||||
|
* JAWT_DrawingSurface* ds;
|
||||||
|
* JAWT_DrawingSurfaceInfo* dsi;
|
||||||
|
* JAWT_Win32DrawingSurfaceInfo* dsi_win;
|
||||||
|
* jboolean result;
|
||||||
|
* jint lock;
|
||||||
|
*
|
||||||
|
* // Get the AWT
|
||||||
|
* awt.version = JAWT_VERSION_1_3;
|
||||||
|
* result = JAWT_GetAWT(env, &awt);
|
||||||
|
* assert(result != JNI_FALSE);
|
||||||
|
*
|
||||||
|
* // Get the drawing surface
|
||||||
|
* ds = awt.GetDrawingSurface(env, canvas);
|
||||||
|
* assert(ds != NULL);
|
||||||
|
*
|
||||||
|
* // Lock the drawing surface
|
||||||
|
* lock = ds->Lock(ds);
|
||||||
|
* assert((lock & JAWT_LOCK_ERROR) == 0);
|
||||||
|
*
|
||||||
|
* // Get the drawing surface info
|
||||||
|
* dsi = ds->GetDrawingSurfaceInfo(ds);
|
||||||
|
*
|
||||||
|
* // Get the platform-specific drawing info
|
||||||
|
* dsi_win = (JAWT_Win32DrawingSurfaceInfo*)dsi->platformInfo;
|
||||||
|
*
|
||||||
|
* //////////////////////////////
|
||||||
|
* // !!! DO PAINTING HERE !!! //
|
||||||
|
* //////////////////////////////
|
||||||
|
*
|
||||||
|
* // Free the drawing surface info
|
||||||
|
* ds->FreeDrawingSurfaceInfo(dsi);
|
||||||
|
*
|
||||||
|
* // Unlock the drawing surface
|
||||||
|
* ds->Unlock(ds);
|
||||||
|
*
|
||||||
|
* // Free the drawing surface
|
||||||
|
* awt.FreeDrawingSurface(ds);
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* JAWT_Rectangle
|
||||||
|
* Structure for a native rectangle.
|
||||||
|
*/
|
||||||
|
typedef struct jawt_Rectangle {
|
||||||
|
jint x;
|
||||||
|
jint y;
|
||||||
|
jint width;
|
||||||
|
jint height;
|
||||||
|
} JAWT_Rectangle;
|
||||||
|
|
||||||
|
struct jawt_DrawingSurface;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* JAWT_DrawingSurfaceInfo
|
||||||
|
* Structure for containing the underlying drawing information of a component.
|
||||||
|
*/
|
||||||
|
typedef struct jawt_DrawingSurfaceInfo {
|
||||||
|
/*
|
||||||
|
* Pointer to the platform-specific information. This can be safely
|
||||||
|
* cast to a JAWT_Win32DrawingSurfaceInfo on Windows or a
|
||||||
|
* JAWT_X11DrawingSurfaceInfo on Solaris. On Mac OS X this is a
|
||||||
|
* pointer to a NSObject that conforms to the JAWT_SurfaceLayers
|
||||||
|
* protocol. See jawt_md.h for details.
|
||||||
|
*/
|
||||||
|
void* platformInfo;
|
||||||
|
/* Cached pointer to the underlying drawing surface */
|
||||||
|
struct jawt_DrawingSurface* ds;
|
||||||
|
/* Bounding rectangle of the drawing surface */
|
||||||
|
JAWT_Rectangle bounds;
|
||||||
|
/* Number of rectangles in the clip */
|
||||||
|
jint clipSize;
|
||||||
|
/* Clip rectangle array */
|
||||||
|
JAWT_Rectangle* clip;
|
||||||
|
} JAWT_DrawingSurfaceInfo;
|
||||||
|
|
||||||
|
#define JAWT_LOCK_ERROR 0x00000001
|
||||||
|
#define JAWT_LOCK_CLIP_CHANGED 0x00000002
|
||||||
|
#define JAWT_LOCK_BOUNDS_CHANGED 0x00000004
|
||||||
|
#define JAWT_LOCK_SURFACE_CHANGED 0x00000008
|
||||||
|
|
||||||
|
/*
|
||||||
|
* JAWT_DrawingSurface
|
||||||
|
* Structure for containing the underlying drawing information of a component.
|
||||||
|
* All operations on a JAWT_DrawingSurface MUST be performed from the same
|
||||||
|
* thread as the call to GetDrawingSurface.
|
||||||
|
*/
|
||||||
|
typedef struct jawt_DrawingSurface {
|
||||||
|
/*
|
||||||
|
* Cached reference to the Java environment of the calling thread.
|
||||||
|
* If Lock(), Unlock(), GetDrawingSurfaceInfo() or
|
||||||
|
* FreeDrawingSurfaceInfo() are called from a different thread,
|
||||||
|
* this data member should be set before calling those functions.
|
||||||
|
*/
|
||||||
|
JNIEnv* env;
|
||||||
|
/* Cached reference to the target object */
|
||||||
|
jobject target;
|
||||||
|
/*
|
||||||
|
* Lock the surface of the target component for native rendering.
|
||||||
|
* When finished drawing, the surface must be unlocked with
|
||||||
|
* Unlock(). This function returns a bitmask with one or more of the
|
||||||
|
* following values:
|
||||||
|
*
|
||||||
|
* JAWT_LOCK_ERROR - When an error has occurred and the surface could not
|
||||||
|
* be locked.
|
||||||
|
*
|
||||||
|
* JAWT_LOCK_CLIP_CHANGED - When the clip region has changed.
|
||||||
|
*
|
||||||
|
* JAWT_LOCK_BOUNDS_CHANGED - When the bounds of the surface have changed.
|
||||||
|
*
|
||||||
|
* JAWT_LOCK_SURFACE_CHANGED - When the surface itself has changed
|
||||||
|
*/
|
||||||
|
jint (JNICALL *Lock)
|
||||||
|
(struct jawt_DrawingSurface* ds);
|
||||||
|
/*
|
||||||
|
* Get the drawing surface info.
|
||||||
|
* The value returned may be cached, but the values may change if
|
||||||
|
* additional calls to Lock() or Unlock() are made.
|
||||||
|
* Lock() must be called before this can return a valid value.
|
||||||
|
* Returns NULL if an error has occurred.
|
||||||
|
* When finished with the returned value, FreeDrawingSurfaceInfo must be
|
||||||
|
* called.
|
||||||
|
*/
|
||||||
|
JAWT_DrawingSurfaceInfo* (JNICALL *GetDrawingSurfaceInfo)
|
||||||
|
(struct jawt_DrawingSurface* ds);
|
||||||
|
/*
|
||||||
|
* Free the drawing surface info.
|
||||||
|
*/
|
||||||
|
void (JNICALL *FreeDrawingSurfaceInfo)
|
||||||
|
(JAWT_DrawingSurfaceInfo* dsi);
|
||||||
|
/*
|
||||||
|
* Unlock the drawing surface of the target component for native rendering.
|
||||||
|
*/
|
||||||
|
void (JNICALL *Unlock)
|
||||||
|
(struct jawt_DrawingSurface* ds);
|
||||||
|
} JAWT_DrawingSurface;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* JAWT
|
||||||
|
* Structure for containing native AWT functions.
|
||||||
|
*/
|
||||||
|
typedef struct jawt {
|
||||||
|
/*
|
||||||
|
* Version of this structure. This must always be set before
|
||||||
|
* calling JAWT_GetAWT()
|
||||||
|
*/
|
||||||
|
jint version;
|
||||||
|
/*
|
||||||
|
* Return a drawing surface from a target jobject. This value
|
||||||
|
* may be cached.
|
||||||
|
* Returns NULL if an error has occurred.
|
||||||
|
* Target must be a java.awt.Component (should be a Canvas
|
||||||
|
* or Window for native rendering).
|
||||||
|
* FreeDrawingSurface() must be called when finished with the
|
||||||
|
* returned JAWT_DrawingSurface.
|
||||||
|
*/
|
||||||
|
JAWT_DrawingSurface* (JNICALL *GetDrawingSurface)
|
||||||
|
(JNIEnv* env, jobject target);
|
||||||
|
/*
|
||||||
|
* Free the drawing surface allocated in GetDrawingSurface.
|
||||||
|
*/
|
||||||
|
void (JNICALL *FreeDrawingSurface)
|
||||||
|
(JAWT_DrawingSurface* ds);
|
||||||
|
/*
|
||||||
|
* Since 1.4
|
||||||
|
* Locks the entire AWT for synchronization purposes
|
||||||
|
*/
|
||||||
|
void (JNICALL *Lock)(JNIEnv* env);
|
||||||
|
/*
|
||||||
|
* Since 1.4
|
||||||
|
* Unlocks the entire AWT for synchronization purposes
|
||||||
|
*/
|
||||||
|
void (JNICALL *Unlock)(JNIEnv* env);
|
||||||
|
/*
|
||||||
|
* Since 1.4
|
||||||
|
* Returns a reference to a java.awt.Component from a native
|
||||||
|
* platform handle. On Windows, this corresponds to an HWND;
|
||||||
|
* on Solaris and Linux, this is a Drawable. For other platforms,
|
||||||
|
* see the appropriate machine-dependent header file for a description.
|
||||||
|
* The reference returned by this function is a local
|
||||||
|
* reference that is only valid in this environment.
|
||||||
|
* This function returns a NULL reference if no component could be
|
||||||
|
* found with matching platform information.
|
||||||
|
*/
|
||||||
|
jobject (JNICALL *GetComponent)(JNIEnv* env, void* platformInfo);
|
||||||
|
|
||||||
|
} JAWT;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Get the AWT native structure. This function returns JNI_FALSE if
|
||||||
|
* an error occurs.
|
||||||
|
*/
|
||||||
|
_JNI_IMPORT_OR_EXPORT_
|
||||||
|
jboolean JNICALL JAWT_GetAWT(JNIEnv* env, JAWT* awt);
|
||||||
|
|
||||||
|
#define JAWT_VERSION_1_3 0x00010003
|
||||||
|
#define JAWT_VERSION_1_4 0x00010004
|
||||||
|
#define JAWT_VERSION_1_7 0x00010007
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} /* extern "C" */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* !_JAVASOFT_JAWT_H_ */
|
259
runtime/include/jdwpTransport.h
Normal file
@ -0,0 +1,259 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2003, 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. 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Java Debug Wire Protocol Transport Service Provider Interface.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef JDWPTRANSPORT_H
|
||||||
|
#define JDWPTRANSPORT_H
|
||||||
|
|
||||||
|
#include "jni.h"
|
||||||
|
|
||||||
|
enum {
|
||||||
|
JDWPTRANSPORT_VERSION_1_0 = 0x00010000
|
||||||
|
};
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
struct jdwpTransportNativeInterface_;
|
||||||
|
|
||||||
|
struct _jdwpTransportEnv;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
typedef _jdwpTransportEnv jdwpTransportEnv;
|
||||||
|
#else
|
||||||
|
typedef const struct jdwpTransportNativeInterface_ *jdwpTransportEnv;
|
||||||
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Errors. Universal errors with JVMTI/JVMDI equivalents keep the
|
||||||
|
* values the same.
|
||||||
|
*/
|
||||||
|
typedef enum {
|
||||||
|
JDWPTRANSPORT_ERROR_NONE = 0,
|
||||||
|
JDWPTRANSPORT_ERROR_ILLEGAL_ARGUMENT = 103,
|
||||||
|
JDWPTRANSPORT_ERROR_OUT_OF_MEMORY = 110,
|
||||||
|
JDWPTRANSPORT_ERROR_INTERNAL = 113,
|
||||||
|
JDWPTRANSPORT_ERROR_ILLEGAL_STATE = 201,
|
||||||
|
JDWPTRANSPORT_ERROR_IO_ERROR = 202,
|
||||||
|
JDWPTRANSPORT_ERROR_TIMEOUT = 203,
|
||||||
|
JDWPTRANSPORT_ERROR_MSG_NOT_AVAILABLE = 204
|
||||||
|
} jdwpTransportError;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Structure to define capabilities
|
||||||
|
*/
|
||||||
|
typedef struct {
|
||||||
|
unsigned int can_timeout_attach :1;
|
||||||
|
unsigned int can_timeout_accept :1;
|
||||||
|
unsigned int can_timeout_handshake :1;
|
||||||
|
unsigned int reserved3 :1;
|
||||||
|
unsigned int reserved4 :1;
|
||||||
|
unsigned int reserved5 :1;
|
||||||
|
unsigned int reserved6 :1;
|
||||||
|
unsigned int reserved7 :1;
|
||||||
|
unsigned int reserved8 :1;
|
||||||
|
unsigned int reserved9 :1;
|
||||||
|
unsigned int reserved10 :1;
|
||||||
|
unsigned int reserved11 :1;
|
||||||
|
unsigned int reserved12 :1;
|
||||||
|
unsigned int reserved13 :1;
|
||||||
|
unsigned int reserved14 :1;
|
||||||
|
unsigned int reserved15 :1;
|
||||||
|
} JDWPTransportCapabilities;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Structures to define packet layout.
|
||||||
|
*
|
||||||
|
* See: http://java.sun.com/j2se/1.5/docs/guide/jpda/jdwp-spec.html
|
||||||
|
*/
|
||||||
|
|
||||||
|
enum {
|
||||||
|
/*
|
||||||
|
* If additional flags are added that apply to jdwpCmdPacket,
|
||||||
|
* then debugLoop.c: reader() will need to be updated to
|
||||||
|
* accept more than JDWPTRANSPORT_FLAGS_NONE.
|
||||||
|
*/
|
||||||
|
JDWPTRANSPORT_FLAGS_NONE = 0x0,
|
||||||
|
JDWPTRANSPORT_FLAGS_REPLY = 0x80
|
||||||
|
};
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
jint len;
|
||||||
|
jint id;
|
||||||
|
jbyte flags;
|
||||||
|
jbyte cmdSet;
|
||||||
|
jbyte cmd;
|
||||||
|
jbyte *data;
|
||||||
|
} jdwpCmdPacket;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
jint len;
|
||||||
|
jint id;
|
||||||
|
jbyte flags;
|
||||||
|
jshort errorCode;
|
||||||
|
jbyte *data;
|
||||||
|
} jdwpReplyPacket;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
union {
|
||||||
|
jdwpCmdPacket cmd;
|
||||||
|
jdwpReplyPacket reply;
|
||||||
|
} type;
|
||||||
|
} jdwpPacket;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* JDWP functions called by the transport.
|
||||||
|
*/
|
||||||
|
typedef struct jdwpTransportCallback {
|
||||||
|
void *(*alloc)(jint numBytes); /* Call this for all allocations */
|
||||||
|
void (*free)(void *buffer); /* Call this for all deallocations */
|
||||||
|
} jdwpTransportCallback;
|
||||||
|
|
||||||
|
typedef jint (JNICALL *jdwpTransport_OnLoad_t)(JavaVM *jvm,
|
||||||
|
jdwpTransportCallback *callback,
|
||||||
|
jint version,
|
||||||
|
jdwpTransportEnv** env);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Function Interface */
|
||||||
|
|
||||||
|
struct jdwpTransportNativeInterface_ {
|
||||||
|
/* 1 : RESERVED */
|
||||||
|
void *reserved1;
|
||||||
|
|
||||||
|
/* 2 : Get Capabilities */
|
||||||
|
jdwpTransportError (JNICALL *GetCapabilities)(jdwpTransportEnv* env,
|
||||||
|
JDWPTransportCapabilities *capabilities_ptr);
|
||||||
|
|
||||||
|
/* 3 : Attach */
|
||||||
|
jdwpTransportError (JNICALL *Attach)(jdwpTransportEnv* env,
|
||||||
|
const char* address,
|
||||||
|
jlong attach_timeout,
|
||||||
|
jlong handshake_timeout);
|
||||||
|
|
||||||
|
/* 4: StartListening */
|
||||||
|
jdwpTransportError (JNICALL *StartListening)(jdwpTransportEnv* env,
|
||||||
|
const char* address,
|
||||||
|
char** actual_address);
|
||||||
|
|
||||||
|
/* 5: StopListening */
|
||||||
|
jdwpTransportError (JNICALL *StopListening)(jdwpTransportEnv* env);
|
||||||
|
|
||||||
|
/* 6: Accept */
|
||||||
|
jdwpTransportError (JNICALL *Accept)(jdwpTransportEnv* env,
|
||||||
|
jlong accept_timeout,
|
||||||
|
jlong handshake_timeout);
|
||||||
|
|
||||||
|
/* 7: IsOpen */
|
||||||
|
jboolean (JNICALL *IsOpen)(jdwpTransportEnv* env);
|
||||||
|
|
||||||
|
/* 8: Close */
|
||||||
|
jdwpTransportError (JNICALL *Close)(jdwpTransportEnv* env);
|
||||||
|
|
||||||
|
/* 9: ReadPacket */
|
||||||
|
jdwpTransportError (JNICALL *ReadPacket)(jdwpTransportEnv* env,
|
||||||
|
jdwpPacket *pkt);
|
||||||
|
|
||||||
|
/* 10: Write Packet */
|
||||||
|
jdwpTransportError (JNICALL *WritePacket)(jdwpTransportEnv* env,
|
||||||
|
const jdwpPacket* pkt);
|
||||||
|
|
||||||
|
/* 11: GetLastError */
|
||||||
|
jdwpTransportError (JNICALL *GetLastError)(jdwpTransportEnv* env,
|
||||||
|
char** error);
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use inlined functions so that C++ code can use syntax such as
|
||||||
|
* env->Attach("mymachine:5000", 10*1000, 0);
|
||||||
|
*
|
||||||
|
* rather than using C's :-
|
||||||
|
*
|
||||||
|
* (*env)->Attach(env, "mymachine:5000", 10*1000, 0);
|
||||||
|
*/
|
||||||
|
struct _jdwpTransportEnv {
|
||||||
|
const struct jdwpTransportNativeInterface_ *functions;
|
||||||
|
#ifdef __cplusplus
|
||||||
|
|
||||||
|
jdwpTransportError GetCapabilities(JDWPTransportCapabilities *capabilities_ptr) {
|
||||||
|
return functions->GetCapabilities(this, capabilities_ptr);
|
||||||
|
}
|
||||||
|
|
||||||
|
jdwpTransportError Attach(const char* address, jlong attach_timeout,
|
||||||
|
jlong handshake_timeout) {
|
||||||
|
return functions->Attach(this, address, attach_timeout, handshake_timeout);
|
||||||
|
}
|
||||||
|
|
||||||
|
jdwpTransportError StartListening(const char* address,
|
||||||
|
char** actual_address) {
|
||||||
|
return functions->StartListening(this, address, actual_address);
|
||||||
|
}
|
||||||
|
|
||||||
|
jdwpTransportError StopListening(void) {
|
||||||
|
return functions->StopListening(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
jdwpTransportError Accept(jlong accept_timeout, jlong handshake_timeout) {
|
||||||
|
return functions->Accept(this, accept_timeout, handshake_timeout);
|
||||||
|
}
|
||||||
|
|
||||||
|
jboolean IsOpen(void) {
|
||||||
|
return functions->IsOpen(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
jdwpTransportError Close(void) {
|
||||||
|
return functions->Close(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
jdwpTransportError ReadPacket(jdwpPacket *pkt) {
|
||||||
|
return functions->ReadPacket(this, pkt);
|
||||||
|
}
|
||||||
|
|
||||||
|
jdwpTransportError WritePacket(const jdwpPacket* pkt) {
|
||||||
|
return functions->WritePacket(this, pkt);
|
||||||
|
}
|
||||||
|
|
||||||
|
jdwpTransportError GetLastError(char** error) {
|
||||||
|
return functions->GetLastError(this, error);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* __cplusplus */
|
||||||
|
};
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} /* extern "C" */
|
||||||
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
#endif /* JDWPTRANSPORT_H */
|
1960
runtime/include/jni.h
Normal file
2534
runtime/include/jvmti.h
Normal file
115
runtime/include/jvmticmlr.h
Normal file
@ -0,0 +1,115 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2010, 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. 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 header file defines the data structures sent by the VM
|
||||||
|
* through the JVMTI CompiledMethodLoad callback function via the
|
||||||
|
* "void * compile_info" parameter. The memory pointed to by the
|
||||||
|
* compile_info parameter may not be referenced after returning from
|
||||||
|
* the CompiledMethodLoad callback. These are VM implementation
|
||||||
|
* specific data structures that may evolve in future releases. A
|
||||||
|
* JVMTI agent should interpret a non-NULL compile_info as a pointer
|
||||||
|
* to a region of memory containing a list of records. In a typical
|
||||||
|
* usage scenario, a JVMTI agent would cast each record to a
|
||||||
|
* jvmtiCompiledMethodLoadRecordHeader, a struct that represents
|
||||||
|
* arbitrary information. This struct contains a kind field to indicate
|
||||||
|
* the kind of information being passed, and a pointer to the next
|
||||||
|
* record. If the kind field indicates inlining information, then the
|
||||||
|
* agent would cast the record to a jvmtiCompiledMethodLoadInlineRecord.
|
||||||
|
* This record contains an array of PCStackInfo structs, which indicate
|
||||||
|
* for every pc address what are the methods on the invocation stack.
|
||||||
|
* The "methods" and "bcis" fields in each PCStackInfo struct specify a
|
||||||
|
* 1-1 mapping between these inlined methods and their bytecode indices.
|
||||||
|
* This can be used to derive the proper source lines of the inlined
|
||||||
|
* methods.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _JVMTI_CMLR_H_
|
||||||
|
#define _JVMTI_CMLR_H_
|
||||||
|
|
||||||
|
enum {
|
||||||
|
JVMTI_CMLR_MAJOR_VERSION_1 = 0x00000001,
|
||||||
|
JVMTI_CMLR_MINOR_VERSION_0 = 0x00000000,
|
||||||
|
|
||||||
|
JVMTI_CMLR_MAJOR_VERSION = 0x00000001,
|
||||||
|
JVMTI_CMLR_MINOR_VERSION = 0x00000000
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This comment is for the "JDK import from HotSpot" sanity check:
|
||||||
|
* version: 1.0.0
|
||||||
|
*/
|
||||||
|
};
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
JVMTI_CMLR_DUMMY = 1,
|
||||||
|
JVMTI_CMLR_INLINE_INFO = 2
|
||||||
|
} jvmtiCMLRKind;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Record that represents arbitrary information passed through JVMTI
|
||||||
|
* CompiledMethodLoadEvent void pointer.
|
||||||
|
*/
|
||||||
|
typedef struct _jvmtiCompiledMethodLoadRecordHeader {
|
||||||
|
jvmtiCMLRKind kind; /* id for the kind of info passed in the record */
|
||||||
|
jint majorinfoversion; /* major and minor info version values. Init'ed */
|
||||||
|
jint minorinfoversion; /* to current version value in jvmtiExport.cpp. */
|
||||||
|
|
||||||
|
struct _jvmtiCompiledMethodLoadRecordHeader* next;
|
||||||
|
} jvmtiCompiledMethodLoadRecordHeader;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Record that gives information about the methods on the compile-time
|
||||||
|
* stack at a specific pc address of a compiled method. Each element in
|
||||||
|
* the methods array maps to same element in the bcis array.
|
||||||
|
*/
|
||||||
|
typedef struct _PCStackInfo {
|
||||||
|
void* pc; /* the pc address for this compiled method */
|
||||||
|
jint numstackframes; /* number of methods on the stack */
|
||||||
|
jmethodID* methods; /* array of numstackframes method ids */
|
||||||
|
jint* bcis; /* array of numstackframes bytecode indices */
|
||||||
|
} PCStackInfo;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Record that contains inlining information for each pc address of
|
||||||
|
* an nmethod.
|
||||||
|
*/
|
||||||
|
typedef struct _jvmtiCompiledMethodLoadInlineRecord {
|
||||||
|
jvmtiCompiledMethodLoadRecordHeader header; /* common header for casting */
|
||||||
|
jint numpcs; /* number of pc descriptors in this nmethod */
|
||||||
|
PCStackInfo* pcinfo; /* array of numpcs pc descriptors */
|
||||||
|
} jvmtiCompiledMethodLoadInlineRecord;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Dummy record used to test that we can pass records with different
|
||||||
|
* information through the void pointer provided that they can be cast
|
||||||
|
* to a jvmtiCompiledMethodLoadRecordHeader.
|
||||||
|
*/
|
||||||
|
|
||||||
|
typedef struct _jvmtiCompiledMethodLoadDummyRecord {
|
||||||
|
jvmtiCompiledMethodLoadRecordHeader header; /* common header for casting */
|
||||||
|
char message[50];
|
||||||
|
} jvmtiCompiledMethodLoadDummyRecord;
|
||||||
|
|
||||||
|
#endif
|
96
runtime/include/win32/bridge/AccessBridgeCallbacks.h
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2005, 2010, 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. 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* AccessBridgeCallbacks.h 1.17 05/03/21
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Header file defining callback typedefs for Windows routines
|
||||||
|
* which are called from Java (responding to events, etc.).
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __AccessBridgeCallbacks_H__
|
||||||
|
#define __AccessBridgeCallbacks_H__
|
||||||
|
|
||||||
|
#include <jni.h>
|
||||||
|
#include "AccessBridgePackages.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
typedef void (*AccessBridge_PropertyChangeFP) (long vmID, JOBJECT64 event, JOBJECT64 source,
|
||||||
|
wchar_t *property, wchar_t *oldValue, wchar_t *newValue);
|
||||||
|
|
||||||
|
typedef void (*AccessBridge_JavaShutdownFP) (long vmID);
|
||||||
|
typedef void (*AccessBridge_JavaShutdownFP) (long vmID);
|
||||||
|
|
||||||
|
typedef void (*AccessBridge_FocusGainedFP) (long vmID, JOBJECT64 event, JOBJECT64 source);
|
||||||
|
typedef void (*AccessBridge_FocusLostFP) (long vmID, JOBJECT64 event, JOBJECT64 source);
|
||||||
|
|
||||||
|
typedef void (*AccessBridge_CaretUpdateFP) (long vmID, JOBJECT64 event, JOBJECT64 source);
|
||||||
|
|
||||||
|
typedef void (*AccessBridge_MouseClickedFP) (long vmID, JOBJECT64 event, JOBJECT64 source);
|
||||||
|
typedef void (*AccessBridge_MouseEnteredFP) (long vmID, JOBJECT64 event, JOBJECT64 source);
|
||||||
|
typedef void (*AccessBridge_MouseExitedFP) (long vmID, JOBJECT64 event, JOBJECT64 source);
|
||||||
|
typedef void (*AccessBridge_MousePressedFP) (long vmID, JOBJECT64 event, JOBJECT64 source);
|
||||||
|
typedef void (*AccessBridge_MouseReleasedFP) (long vmID, JOBJECT64 event, JOBJECT64 source);
|
||||||
|
|
||||||
|
typedef void (*AccessBridge_MenuCanceledFP) (long vmID, JOBJECT64 event, JOBJECT64 source);
|
||||||
|
typedef void (*AccessBridge_MenuDeselectedFP) (long vmID, JOBJECT64 event, JOBJECT64 source);
|
||||||
|
typedef void (*AccessBridge_MenuSelectedFP) (long vmID, JOBJECT64 event, JOBJECT64 source);
|
||||||
|
typedef void (*AccessBridge_PopupMenuCanceledFP) (long vmID, JOBJECT64 event, JOBJECT64 source);
|
||||||
|
typedef void (*AccessBridge_PopupMenuWillBecomeInvisibleFP) (long vmID, JOBJECT64 event, JOBJECT64 source);
|
||||||
|
typedef void (*AccessBridge_PopupMenuWillBecomeVisibleFP) (long vmID, JOBJECT64 event, JOBJECT64 source);
|
||||||
|
|
||||||
|
typedef void (*AccessBridge_PropertyNameChangeFP) (long vmID, JOBJECT64 event, JOBJECT64 source,
|
||||||
|
wchar_t *oldName, wchar_t *newName);
|
||||||
|
typedef void (*AccessBridge_PropertyDescriptionChangeFP) (long vmID, JOBJECT64 event, JOBJECT64 source,
|
||||||
|
wchar_t *oldDescription, wchar_t *newDescription);
|
||||||
|
typedef void (*AccessBridge_PropertyStateChangeFP) (long vmID, JOBJECT64 event, JOBJECT64 source,
|
||||||
|
wchar_t *oldState, wchar_t *newState);
|
||||||
|
typedef void (*AccessBridge_PropertyValueChangeFP) (long vmID, JOBJECT64 event, JOBJECT64 source,
|
||||||
|
wchar_t *oldValue, wchar_t *newValue);
|
||||||
|
typedef void (*AccessBridge_PropertySelectionChangeFP) (long vmID, JOBJECT64 event, JOBJECT64 source);
|
||||||
|
typedef void (*AccessBridge_PropertyTextChangeFP) (long vmID, JOBJECT64 event, JOBJECT64 source);
|
||||||
|
typedef void (*AccessBridge_PropertyCaretChangeFP) (long vmID, JOBJECT64 event, JOBJECT64 source,
|
||||||
|
int oldPosition, int newPosition);
|
||||||
|
typedef void (*AccessBridge_PropertyVisibleDataChangeFP) (long vmID, JOBJECT64 event, JOBJECT64 source);
|
||||||
|
typedef void (*AccessBridge_PropertyChildChangeFP) (long vmID, JOBJECT64 event, JOBJECT64 source,
|
||||||
|
JOBJECT64 oldChild, JOBJECT64 newChild);
|
||||||
|
typedef void (*AccessBridge_PropertyActiveDescendentChangeFP) (long vmID, JOBJECT64 event,
|
||||||
|
JOBJECT64 source,
|
||||||
|
JOBJECT64 oldActiveDescendent,
|
||||||
|
JOBJECT64 newActiveDescendent);
|
||||||
|
|
||||||
|
typedef void (*AccessBridge_PropertyTableModelChangeFP) (long vmID, JOBJECT64 event, JOBJECT64 src,
|
||||||
|
wchar_t *oldValue, wchar_t *newValue);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
1131
runtime/include/win32/bridge/AccessBridgeCalls.c
Normal file
706
runtime/include/win32/bridge/AccessBridgeCalls.h
Normal file
@ -0,0 +1,706 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2005, 2010, 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. 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Wrapper functions around calls to the AccessBridge DLL
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
#include <jni.h>
|
||||||
|
#include "AccessBridgeCallbacks.h"
|
||||||
|
#include "AccessBridgePackages.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define null NULL
|
||||||
|
|
||||||
|
typedef JOBJECT64 AccessibleContext;
|
||||||
|
typedef JOBJECT64 AccessibleText;
|
||||||
|
typedef JOBJECT64 AccessibleValue;
|
||||||
|
typedef JOBJECT64 AccessibleSelection;
|
||||||
|
typedef JOBJECT64 Java_Object;
|
||||||
|
typedef JOBJECT64 PropertyChangeEvent;
|
||||||
|
typedef JOBJECT64 FocusEvent;
|
||||||
|
typedef JOBJECT64 CaretEvent;
|
||||||
|
typedef JOBJECT64 MouseEvent;
|
||||||
|
typedef JOBJECT64 MenuEvent;
|
||||||
|
typedef JOBJECT64 AccessibleTable;
|
||||||
|
typedef JOBJECT64 AccessibleHyperlink;
|
||||||
|
typedef JOBJECT64 AccessibleHypertext;
|
||||||
|
|
||||||
|
|
||||||
|
typedef void (*Windows_runFP) ();
|
||||||
|
|
||||||
|
typedef void (*SetPropertyChangeFP) (AccessBridge_PropertyChangeFP fp);
|
||||||
|
|
||||||
|
typedef void (*SetJavaShutdownFP) (AccessBridge_JavaShutdownFP fp);
|
||||||
|
typedef void (*SetFocusGainedFP) (AccessBridge_FocusGainedFP fp);
|
||||||
|
typedef void (*SetFocusLostFP) (AccessBridge_FocusLostFP fp);
|
||||||
|
|
||||||
|
typedef void (*SetCaretUpdateFP) (AccessBridge_CaretUpdateFP fp);
|
||||||
|
|
||||||
|
typedef void (*SetMouseClickedFP) (AccessBridge_MouseClickedFP fp);
|
||||||
|
typedef void (*SetMouseEnteredFP) (AccessBridge_MouseEnteredFP fp);
|
||||||
|
typedef void (*SetMouseExitedFP) (AccessBridge_MouseExitedFP fp);
|
||||||
|
typedef void (*SetMousePressedFP) (AccessBridge_MousePressedFP fp);
|
||||||
|
typedef void (*SetMouseReleasedFP) (AccessBridge_MouseReleasedFP fp);
|
||||||
|
|
||||||
|
typedef void (*SetMenuCanceledFP) (AccessBridge_MenuCanceledFP fp);
|
||||||
|
typedef void (*SetMenuDeselectedFP) (AccessBridge_MenuDeselectedFP fp);
|
||||||
|
typedef void (*SetMenuSelectedFP) (AccessBridge_MenuSelectedFP fp);
|
||||||
|
typedef void (*SetPopupMenuCanceledFP) (AccessBridge_PopupMenuCanceledFP fp);
|
||||||
|
typedef void (*SetPopupMenuWillBecomeInvisibleFP) (AccessBridge_PopupMenuWillBecomeInvisibleFP fp);
|
||||||
|
typedef void (*SetPopupMenuWillBecomeVisibleFP) (AccessBridge_PopupMenuWillBecomeVisibleFP fp);
|
||||||
|
|
||||||
|
typedef void (*SetPropertyNameChangeFP) (AccessBridge_PropertyNameChangeFP fp);
|
||||||
|
typedef void (*SetPropertyDescriptionChangeFP) (AccessBridge_PropertyDescriptionChangeFP fp);
|
||||||
|
typedef void (*SetPropertyStateChangeFP) (AccessBridge_PropertyStateChangeFP fp);
|
||||||
|
typedef void (*SetPropertyValueChangeFP) (AccessBridge_PropertyValueChangeFP fp);
|
||||||
|
typedef void (*SetPropertySelectionChangeFP) (AccessBridge_PropertySelectionChangeFP fp);
|
||||||
|
typedef void (*SetPropertyTextChangeFP) (AccessBridge_PropertyTextChangeFP fp);
|
||||||
|
typedef void (*SetPropertyCaretChangeFP) (AccessBridge_PropertyCaretChangeFP fp);
|
||||||
|
typedef void (*SetPropertyVisibleDataChangeFP) (AccessBridge_PropertyVisibleDataChangeFP fp);
|
||||||
|
typedef void (*SetPropertyChildChangeFP) (AccessBridge_PropertyChildChangeFP fp);
|
||||||
|
typedef void (*SetPropertyActiveDescendentChangeFP) (AccessBridge_PropertyActiveDescendentChangeFP fp);
|
||||||
|
|
||||||
|
typedef void (*SetPropertyTableModelChangeFP) (AccessBridge_PropertyTableModelChangeFP fp);
|
||||||
|
|
||||||
|
typedef void (*ReleaseJavaObjectFP) (long vmID, Java_Object object);
|
||||||
|
|
||||||
|
typedef BOOL (*GetVersionInfoFP) (long vmID, AccessBridgeVersionInfo *info);
|
||||||
|
|
||||||
|
typedef BOOL (*IsJavaWindowFP) (HWND window);
|
||||||
|
typedef BOOL (*IsSameObjectFP) (long vmID, JOBJECT64 obj1, JOBJECT64 obj2);
|
||||||
|
typedef BOOL (*GetAccessibleContextFromHWNDFP) (HWND window, long *vmID, AccessibleContext *ac);
|
||||||
|
typedef HWND (*getHWNDFromAccessibleContextFP) (long vmID, AccessibleContext ac);
|
||||||
|
|
||||||
|
typedef BOOL (*GetAccessibleContextAtFP) (long vmID, AccessibleContext acParent,
|
||||||
|
jint x, jint y, AccessibleContext *ac);
|
||||||
|
typedef BOOL (*GetAccessibleContextWithFocusFP) (HWND window, long *vmID, AccessibleContext *ac);
|
||||||
|
typedef BOOL (*GetAccessibleContextInfoFP) (long vmID, AccessibleContext ac, AccessibleContextInfo *info);
|
||||||
|
typedef AccessibleContext (*GetAccessibleChildFromContextFP) (long vmID, AccessibleContext ac, jint i);
|
||||||
|
typedef AccessibleContext (*GetAccessibleParentFromContextFP) (long vmID, AccessibleContext ac);
|
||||||
|
|
||||||
|
/* begin AccessibleTable */
|
||||||
|
typedef BOOL (*getAccessibleTableInfoFP) (long vmID, AccessibleContext ac, AccessibleTableInfo *tableInfo);
|
||||||
|
typedef BOOL (*getAccessibleTableCellInfoFP) (long vmID, AccessibleTable accessibleTable,
|
||||||
|
jint row, jint column, AccessibleTableCellInfo *tableCellInfo);
|
||||||
|
|
||||||
|
typedef BOOL (*getAccessibleTableRowHeaderFP) (long vmID, AccessibleContext acParent, AccessibleTableInfo *tableInfo);
|
||||||
|
typedef BOOL (*getAccessibleTableColumnHeaderFP) (long vmID, AccessibleContext acParent, AccessibleTableInfo *tableInfo);
|
||||||
|
|
||||||
|
typedef AccessibleContext (*getAccessibleTableRowDescriptionFP) (long vmID, AccessibleContext acParent, jint row);
|
||||||
|
typedef AccessibleContext (*getAccessibleTableColumnDescriptionFP) (long vmID, AccessibleContext acParent, jint column);
|
||||||
|
|
||||||
|
typedef jint (*getAccessibleTableRowSelectionCountFP) (long vmID, AccessibleTable table);
|
||||||
|
typedef BOOL (*isAccessibleTableRowSelectedFP) (long vmID, AccessibleTable table, jint row);
|
||||||
|
typedef BOOL (*getAccessibleTableRowSelectionsFP) (long vmID, AccessibleTable table, jint count,
|
||||||
|
jint *selections);
|
||||||
|
|
||||||
|
typedef jint (*getAccessibleTableColumnSelectionCountFP) (long vmID, AccessibleTable table);
|
||||||
|
typedef BOOL (*isAccessibleTableColumnSelectedFP) (long vmID, AccessibleTable table, jint column);
|
||||||
|
typedef BOOL (*getAccessibleTableColumnSelectionsFP) (long vmID, AccessibleTable table, jint count,
|
||||||
|
jint *selections);
|
||||||
|
|
||||||
|
typedef jint (*getAccessibleTableRowFP) (long vmID, AccessibleTable table, jint index);
|
||||||
|
typedef jint (*getAccessibleTableColumnFP) (long vmID, AccessibleTable table, jint index);
|
||||||
|
typedef jint (*getAccessibleTableIndexFP) (long vmID, AccessibleTable table, jint row, jint column);
|
||||||
|
/* end AccessibleTable */
|
||||||
|
|
||||||
|
/* AccessibleRelationSet */
|
||||||
|
typedef BOOL (*getAccessibleRelationSetFP) (long vmID, AccessibleContext accessibleContext,
|
||||||
|
AccessibleRelationSetInfo *relationSetInfo);
|
||||||
|
|
||||||
|
/* AccessibleHypertext */
|
||||||
|
typedef BOOL (*getAccessibleHypertextFP)(long vmID, AccessibleContext accessibleContext,
|
||||||
|
AccessibleHypertextInfo *hypertextInfo);
|
||||||
|
|
||||||
|
typedef BOOL (*activateAccessibleHyperlinkFP)(long vmID, AccessibleContext accessibleContext,
|
||||||
|
AccessibleHyperlink accessibleHyperlink);
|
||||||
|
|
||||||
|
typedef jint (*getAccessibleHyperlinkCountFP)(const long vmID,
|
||||||
|
const AccessibleContext accessibleContext);
|
||||||
|
|
||||||
|
typedef BOOL (*getAccessibleHypertextExtFP) (const long vmID,
|
||||||
|
const AccessibleContext accessibleContext,
|
||||||
|
const jint nStartIndex,
|
||||||
|
AccessibleHypertextInfo *hypertextInfo);
|
||||||
|
|
||||||
|
typedef jint (*getAccessibleHypertextLinkIndexFP)(const long vmID,
|
||||||
|
const AccessibleHypertext hypertext,
|
||||||
|
const jint nIndex);
|
||||||
|
|
||||||
|
typedef BOOL (*getAccessibleHyperlinkFP)(const long vmID,
|
||||||
|
const AccessibleHypertext hypertext,
|
||||||
|
const jint nIndex,
|
||||||
|
AccessibleHyperlinkInfo *hyperlinkInfo);
|
||||||
|
|
||||||
|
|
||||||
|
/* Accessible KeyBindings, Icons and Actions */
|
||||||
|
typedef BOOL (*getAccessibleKeyBindingsFP)(long vmID, AccessibleContext accessibleContext,
|
||||||
|
AccessibleKeyBindings *keyBindings);
|
||||||
|
|
||||||
|
typedef BOOL (*getAccessibleIconsFP)(long vmID, AccessibleContext accessibleContext,
|
||||||
|
AccessibleIcons *icons);
|
||||||
|
|
||||||
|
typedef BOOL (*getAccessibleActionsFP)(long vmID, AccessibleContext accessibleContext,
|
||||||
|
AccessibleActions *actions);
|
||||||
|
|
||||||
|
typedef BOOL (*doAccessibleActionsFP)(long vmID, AccessibleContext accessibleContext,
|
||||||
|
AccessibleActionsToDo *actionsToDo, jint *failure);
|
||||||
|
|
||||||
|
|
||||||
|
/* AccessibleText */
|
||||||
|
|
||||||
|
typedef BOOL (*GetAccessibleTextInfoFP) (long vmID, AccessibleText at, AccessibleTextInfo *textInfo, jint x, jint y);
|
||||||
|
typedef BOOL (*GetAccessibleTextItemsFP) (long vmID, AccessibleText at, AccessibleTextItemsInfo *textItems, jint index);
|
||||||
|
typedef BOOL (*GetAccessibleTextSelectionInfoFP) (long vmID, AccessibleText at, AccessibleTextSelectionInfo *textSelection);
|
||||||
|
typedef BOOL (*GetAccessibleTextAttributesFP) (long vmID, AccessibleText at, jint index, AccessibleTextAttributesInfo *attributes);
|
||||||
|
typedef BOOL (*GetAccessibleTextRectFP) (long vmID, AccessibleText at, AccessibleTextRectInfo *rectInfo, jint index);
|
||||||
|
typedef BOOL (*GetAccessibleTextLineBoundsFP) (long vmID, AccessibleText at, jint index, jint *startIndex, jint *endIndex);
|
||||||
|
typedef BOOL (*GetAccessibleTextRangeFP) (long vmID, AccessibleText at, jint start, jint end, wchar_t *text, short len);
|
||||||
|
|
||||||
|
typedef BOOL (*GetCurrentAccessibleValueFromContextFP) (long vmID, AccessibleValue av, wchar_t *value, short len);
|
||||||
|
typedef BOOL (*GetMaximumAccessibleValueFromContextFP) (long vmID, AccessibleValue av, wchar_t *value, short len);
|
||||||
|
typedef BOOL (*GetMinimumAccessibleValueFromContextFP) (long vmID, AccessibleValue av, wchar_t *value, short len);
|
||||||
|
|
||||||
|
typedef void (*AddAccessibleSelectionFromContextFP) (long vmID, AccessibleSelection as, int i);
|
||||||
|
typedef void (*ClearAccessibleSelectionFromContextFP) (long vmID, AccessibleSelection as);
|
||||||
|
typedef JOBJECT64 (*GetAccessibleSelectionFromContextFP) (long vmID, AccessibleSelection as, int i);
|
||||||
|
typedef int (*GetAccessibleSelectionCountFromContextFP) (long vmID, AccessibleSelection as);
|
||||||
|
typedef BOOL (*IsAccessibleChildSelectedFromContextFP) (long vmID, AccessibleSelection as, int i);
|
||||||
|
typedef void (*RemoveAccessibleSelectionFromContextFP) (long vmID, AccessibleSelection as, int i);
|
||||||
|
typedef void (*SelectAllAccessibleSelectionFromContextFP) (long vmID, AccessibleSelection as);
|
||||||
|
|
||||||
|
/* Utility methods */
|
||||||
|
|
||||||
|
typedef BOOL (*setTextContentsFP) (const long vmID, const AccessibleContext ac, const wchar_t *text);
|
||||||
|
typedef AccessibleContext (*getParentWithRoleFP) (const long vmID, const AccessibleContext ac, const wchar_t *role);
|
||||||
|
typedef AccessibleContext (*getParentWithRoleElseRootFP) (const long vmID, const AccessibleContext ac, const wchar_t *role);
|
||||||
|
typedef AccessibleContext (*getTopLevelObjectFP) (const long vmID, const AccessibleContext ac);
|
||||||
|
typedef int (*getObjectDepthFP) (const long vmID, const AccessibleContext ac);
|
||||||
|
typedef AccessibleContext (*getActiveDescendentFP) (const long vmID, const AccessibleContext ac);
|
||||||
|
|
||||||
|
|
||||||
|
typedef BOOL (*getVirtualAccessibleNameFP) (const long vmID, const AccessibleContext accessibleContext,
|
||||||
|
wchar_t *name, int len);
|
||||||
|
|
||||||
|
typedef BOOL (*requestFocusFP) (const long vmID, const AccessibleContext accessibleContext);
|
||||||
|
|
||||||
|
typedef BOOL (*selectTextRangeFP) (const long vmID, const AccessibleContext accessibleContext,
|
||||||
|
const int startIndex, const int endIndex);
|
||||||
|
|
||||||
|
typedef BOOL (*getTextAttributesInRangeFP) (const long vmID, const AccessibleContext accessibleContext,
|
||||||
|
const int startIndex, const int endIndex,
|
||||||
|
AccessibleTextAttributesInfo *attributes, short *len);
|
||||||
|
|
||||||
|
typedef int (*getVisibleChildrenCountFP) (const long vmID, const AccessibleContext accessibleContext);
|
||||||
|
|
||||||
|
typedef BOOL (*getVisibleChildrenFP) (const long vmID, const AccessibleContext accessibleContext,
|
||||||
|
const int startIndex, VisibleChildrenInfo *children);
|
||||||
|
|
||||||
|
typedef BOOL (*setCaretPositionFP) (const long vmID, const AccessibleContext accessibleContext, const int position);
|
||||||
|
|
||||||
|
typedef BOOL (*getCaretLocationFP) (long vmID, AccessibleContext ac, AccessibleTextRectInfo *rectInfo, jint index);
|
||||||
|
|
||||||
|
typedef int (*getEventsWaitingFP) ();
|
||||||
|
|
||||||
|
typedef struct AccessBridgeFPsTag {
|
||||||
|
Windows_runFP Windows_run;
|
||||||
|
|
||||||
|
SetPropertyChangeFP SetPropertyChange;
|
||||||
|
|
||||||
|
SetJavaShutdownFP SetJavaShutdown;
|
||||||
|
SetFocusGainedFP SetFocusGained;
|
||||||
|
SetFocusLostFP SetFocusLost;
|
||||||
|
|
||||||
|
SetCaretUpdateFP SetCaretUpdate;
|
||||||
|
|
||||||
|
SetMouseClickedFP SetMouseClicked;
|
||||||
|
SetMouseEnteredFP SetMouseEntered;
|
||||||
|
SetMouseExitedFP SetMouseExited;
|
||||||
|
SetMousePressedFP SetMousePressed;
|
||||||
|
SetMouseReleasedFP SetMouseReleased;
|
||||||
|
|
||||||
|
SetMenuCanceledFP SetMenuCanceled;
|
||||||
|
SetMenuDeselectedFP SetMenuDeselected;
|
||||||
|
SetMenuSelectedFP SetMenuSelected;
|
||||||
|
SetPopupMenuCanceledFP SetPopupMenuCanceled;
|
||||||
|
SetPopupMenuWillBecomeInvisibleFP SetPopupMenuWillBecomeInvisible;
|
||||||
|
SetPopupMenuWillBecomeVisibleFP SetPopupMenuWillBecomeVisible;
|
||||||
|
|
||||||
|
SetPropertyNameChangeFP SetPropertyNameChange;
|
||||||
|
SetPropertyDescriptionChangeFP SetPropertyDescriptionChange;
|
||||||
|
SetPropertyStateChangeFP SetPropertyStateChange;
|
||||||
|
SetPropertyValueChangeFP SetPropertyValueChange;
|
||||||
|
SetPropertySelectionChangeFP SetPropertySelectionChange;
|
||||||
|
SetPropertyTextChangeFP SetPropertyTextChange;
|
||||||
|
SetPropertyCaretChangeFP SetPropertyCaretChange;
|
||||||
|
SetPropertyVisibleDataChangeFP SetPropertyVisibleDataChange;
|
||||||
|
SetPropertyChildChangeFP SetPropertyChildChange;
|
||||||
|
SetPropertyActiveDescendentChangeFP SetPropertyActiveDescendentChange;
|
||||||
|
|
||||||
|
SetPropertyTableModelChangeFP SetPropertyTableModelChange;
|
||||||
|
|
||||||
|
ReleaseJavaObjectFP ReleaseJavaObject;
|
||||||
|
GetVersionInfoFP GetVersionInfo;
|
||||||
|
|
||||||
|
IsJavaWindowFP IsJavaWindow;
|
||||||
|
IsSameObjectFP IsSameObject;
|
||||||
|
GetAccessibleContextFromHWNDFP GetAccessibleContextFromHWND;
|
||||||
|
getHWNDFromAccessibleContextFP getHWNDFromAccessibleContext;
|
||||||
|
|
||||||
|
GetAccessibleContextAtFP GetAccessibleContextAt;
|
||||||
|
GetAccessibleContextWithFocusFP GetAccessibleContextWithFocus;
|
||||||
|
GetAccessibleContextInfoFP GetAccessibleContextInfo;
|
||||||
|
GetAccessibleChildFromContextFP GetAccessibleChildFromContext;
|
||||||
|
GetAccessibleParentFromContextFP GetAccessibleParentFromContext;
|
||||||
|
|
||||||
|
getAccessibleTableInfoFP getAccessibleTableInfo;
|
||||||
|
getAccessibleTableCellInfoFP getAccessibleTableCellInfo;
|
||||||
|
|
||||||
|
getAccessibleTableRowHeaderFP getAccessibleTableRowHeader;
|
||||||
|
getAccessibleTableColumnHeaderFP getAccessibleTableColumnHeader;
|
||||||
|
|
||||||
|
getAccessibleTableRowDescriptionFP getAccessibleTableRowDescription;
|
||||||
|
getAccessibleTableColumnDescriptionFP getAccessibleTableColumnDescription;
|
||||||
|
|
||||||
|
getAccessibleTableRowSelectionCountFP getAccessibleTableRowSelectionCount;
|
||||||
|
isAccessibleTableRowSelectedFP isAccessibleTableRowSelected;
|
||||||
|
getAccessibleTableRowSelectionsFP getAccessibleTableRowSelections;
|
||||||
|
|
||||||
|
getAccessibleTableColumnSelectionCountFP getAccessibleTableColumnSelectionCount;
|
||||||
|
isAccessibleTableColumnSelectedFP isAccessibleTableColumnSelected;
|
||||||
|
getAccessibleTableColumnSelectionsFP getAccessibleTableColumnSelections;
|
||||||
|
|
||||||
|
getAccessibleTableRowFP getAccessibleTableRow;
|
||||||
|
getAccessibleTableColumnFP getAccessibleTableColumn;
|
||||||
|
getAccessibleTableIndexFP getAccessibleTableIndex;
|
||||||
|
|
||||||
|
getAccessibleRelationSetFP getAccessibleRelationSet;
|
||||||
|
|
||||||
|
getAccessibleHypertextFP getAccessibleHypertext;
|
||||||
|
activateAccessibleHyperlinkFP activateAccessibleHyperlink;
|
||||||
|
getAccessibleHyperlinkCountFP getAccessibleHyperlinkCount;
|
||||||
|
getAccessibleHypertextExtFP getAccessibleHypertextExt;
|
||||||
|
getAccessibleHypertextLinkIndexFP getAccessibleHypertextLinkIndex;
|
||||||
|
getAccessibleHyperlinkFP getAccessibleHyperlink;
|
||||||
|
|
||||||
|
getAccessibleKeyBindingsFP getAccessibleKeyBindings;
|
||||||
|
getAccessibleIconsFP getAccessibleIcons;
|
||||||
|
getAccessibleActionsFP getAccessibleActions;
|
||||||
|
doAccessibleActionsFP doAccessibleActions;
|
||||||
|
|
||||||
|
GetAccessibleTextInfoFP GetAccessibleTextInfo;
|
||||||
|
GetAccessibleTextItemsFP GetAccessibleTextItems;
|
||||||
|
GetAccessibleTextSelectionInfoFP GetAccessibleTextSelectionInfo;
|
||||||
|
GetAccessibleTextAttributesFP GetAccessibleTextAttributes;
|
||||||
|
GetAccessibleTextRectFP GetAccessibleTextRect;
|
||||||
|
GetAccessibleTextLineBoundsFP GetAccessibleTextLineBounds;
|
||||||
|
GetAccessibleTextRangeFP GetAccessibleTextRange;
|
||||||
|
|
||||||
|
GetCurrentAccessibleValueFromContextFP GetCurrentAccessibleValueFromContext;
|
||||||
|
GetMaximumAccessibleValueFromContextFP GetMaximumAccessibleValueFromContext;
|
||||||
|
GetMinimumAccessibleValueFromContextFP GetMinimumAccessibleValueFromContext;
|
||||||
|
|
||||||
|
AddAccessibleSelectionFromContextFP AddAccessibleSelectionFromContext;
|
||||||
|
ClearAccessibleSelectionFromContextFP ClearAccessibleSelectionFromContext;
|
||||||
|
GetAccessibleSelectionFromContextFP GetAccessibleSelectionFromContext;
|
||||||
|
GetAccessibleSelectionCountFromContextFP GetAccessibleSelectionCountFromContext;
|
||||||
|
IsAccessibleChildSelectedFromContextFP IsAccessibleChildSelectedFromContext;
|
||||||
|
RemoveAccessibleSelectionFromContextFP RemoveAccessibleSelectionFromContext;
|
||||||
|
SelectAllAccessibleSelectionFromContextFP SelectAllAccessibleSelectionFromContext;
|
||||||
|
|
||||||
|
setTextContentsFP setTextContents;
|
||||||
|
getParentWithRoleFP getParentWithRole;
|
||||||
|
getTopLevelObjectFP getTopLevelObject;
|
||||||
|
getParentWithRoleElseRootFP getParentWithRoleElseRoot;
|
||||||
|
getObjectDepthFP getObjectDepth;
|
||||||
|
getActiveDescendentFP getActiveDescendent;
|
||||||
|
|
||||||
|
getVirtualAccessibleNameFP getVirtualAccessibleName;
|
||||||
|
requestFocusFP requestFocus;
|
||||||
|
selectTextRangeFP selectTextRange;
|
||||||
|
getTextAttributesInRangeFP getTextAttributesInRange;
|
||||||
|
getVisibleChildrenCountFP getVisibleChildrenCount;
|
||||||
|
getVisibleChildrenFP getVisibleChildren;
|
||||||
|
setCaretPositionFP setCaretPosition;
|
||||||
|
getCaretLocationFP getCaretLocation;
|
||||||
|
|
||||||
|
getEventsWaitingFP getEventsWaiting;
|
||||||
|
|
||||||
|
} AccessBridgeFPs;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Initialize the world
|
||||||
|
*/
|
||||||
|
BOOL initializeAccessBridge();
|
||||||
|
BOOL shutdownAccessBridge();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Window routines
|
||||||
|
*/
|
||||||
|
BOOL IsJavaWindow(HWND window);
|
||||||
|
|
||||||
|
// Returns the virtual machine ID and AccessibleContext for a top-level window
|
||||||
|
BOOL GetAccessibleContextFromHWND(HWND target, long *vmID, AccessibleContext *ac);
|
||||||
|
|
||||||
|
// Returns the HWND from the AccessibleContext of a top-level window
|
||||||
|
HWND getHWNDFromAccessibleContext(long vmID, AccessibleContext ac);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Event handling routines
|
||||||
|
*/
|
||||||
|
void SetJavaShutdown(AccessBridge_JavaShutdownFP fp);
|
||||||
|
void SetFocusGained(AccessBridge_FocusGainedFP fp);
|
||||||
|
void SetFocusLost(AccessBridge_FocusLostFP fp);
|
||||||
|
|
||||||
|
void SetCaretUpdate(AccessBridge_CaretUpdateFP fp);
|
||||||
|
|
||||||
|
void SetMouseClicked(AccessBridge_MouseClickedFP fp);
|
||||||
|
void SetMouseEntered(AccessBridge_MouseEnteredFP fp);
|
||||||
|
void SetMouseExited(AccessBridge_MouseExitedFP fp);
|
||||||
|
void SetMousePressed(AccessBridge_MousePressedFP fp);
|
||||||
|
void SetMouseReleased(AccessBridge_MouseReleasedFP fp);
|
||||||
|
|
||||||
|
void SetMenuCanceled(AccessBridge_MenuCanceledFP fp);
|
||||||
|
void SetMenuDeselected(AccessBridge_MenuDeselectedFP fp);
|
||||||
|
void SetMenuSelected(AccessBridge_MenuSelectedFP fp);
|
||||||
|
void SetPopupMenuCanceled(AccessBridge_PopupMenuCanceledFP fp);
|
||||||
|
void SetPopupMenuWillBecomeInvisible(AccessBridge_PopupMenuWillBecomeInvisibleFP fp);
|
||||||
|
void SetPopupMenuWillBecomeVisible(AccessBridge_PopupMenuWillBecomeVisibleFP fp);
|
||||||
|
|
||||||
|
void SetPropertyNameChange(AccessBridge_PropertyNameChangeFP fp);
|
||||||
|
void SetPropertyDescriptionChange(AccessBridge_PropertyDescriptionChangeFP fp);
|
||||||
|
void SetPropertyStateChange(AccessBridge_PropertyStateChangeFP fp);
|
||||||
|
void SetPropertyValueChange(AccessBridge_PropertyValueChangeFP fp);
|
||||||
|
void SetPropertySelectionChange(AccessBridge_PropertySelectionChangeFP fp);
|
||||||
|
void SetPropertyTextChange(AccessBridge_PropertyTextChangeFP fp);
|
||||||
|
void SetPropertyCaretChange(AccessBridge_PropertyCaretChangeFP fp);
|
||||||
|
void SetPropertyVisibleDataChange(AccessBridge_PropertyVisibleDataChangeFP fp);
|
||||||
|
void SetPropertyChildChange(AccessBridge_PropertyChildChangeFP fp);
|
||||||
|
void SetPropertyActiveDescendentChange(AccessBridge_PropertyActiveDescendentChangeFP fp);
|
||||||
|
|
||||||
|
void SetPropertyTableModelChange(AccessBridge_PropertyTableModelChangeFP fp);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* General routines
|
||||||
|
*/
|
||||||
|
void ReleaseJavaObject(long vmID, Java_Object object);
|
||||||
|
BOOL GetVersionInfo(long vmID, AccessBridgeVersionInfo *info);
|
||||||
|
HWND GetHWNDFromAccessibleContext(long vmID, JOBJECT64 accesibleContext);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Accessible Context routines
|
||||||
|
*/
|
||||||
|
BOOL GetAccessibleContextAt(long vmID, AccessibleContext acParent,
|
||||||
|
jint x, jint y, AccessibleContext *ac);
|
||||||
|
BOOL GetAccessibleContextWithFocus(HWND window, long *vmID, AccessibleContext *ac);
|
||||||
|
BOOL GetAccessibleContextInfo(long vmID, AccessibleContext ac, AccessibleContextInfo *info);
|
||||||
|
AccessibleContext GetAccessibleChildFromContext(long vmID, AccessibleContext ac, jint index);
|
||||||
|
AccessibleContext GetAccessibleParentFromContext(long vmID, AccessibleContext ac);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Accessible Text routines
|
||||||
|
*/
|
||||||
|
BOOL GetAccessibleTextInfo(long vmID, AccessibleText at, AccessibleTextInfo *textInfo, jint x, jint y);
|
||||||
|
BOOL GetAccessibleTextItems(long vmID, AccessibleText at, AccessibleTextItemsInfo *textItems, jint index);
|
||||||
|
BOOL GetAccessibleTextSelectionInfo(long vmID, AccessibleText at, AccessibleTextSelectionInfo *textSelection);
|
||||||
|
BOOL GetAccessibleTextAttributes(long vmID, AccessibleText at, jint index, AccessibleTextAttributesInfo *attributes);
|
||||||
|
BOOL GetAccessibleTextRect(long vmID, AccessibleText at, AccessibleTextRectInfo *rectInfo, jint index);
|
||||||
|
BOOL GetAccessibleTextLineBounds(long vmID, AccessibleText at, jint index, jint *startIndex, jint *endIndex);
|
||||||
|
BOOL GetAccessibleTextRange(long vmID, AccessibleText at, jint start, jint end, wchar_t *text, short len);
|
||||||
|
|
||||||
|
/* begin AccessibleTable routines */
|
||||||
|
BOOL getAccessibleTableInfo(long vmID, AccessibleContext acParent, AccessibleTableInfo *tableInfo);
|
||||||
|
|
||||||
|
BOOL getAccessibleTableCellInfo(long vmID, AccessibleTable accessibleTable, jint row, jint column,
|
||||||
|
AccessibleTableCellInfo *tableCellInfo);
|
||||||
|
|
||||||
|
BOOL getAccessibleTableRowHeader(long vmID, AccessibleContext acParent, AccessibleTableInfo *tableInfo);
|
||||||
|
BOOL getAccessibleTableColumnHeader(long vmID, AccessibleContext acParent, AccessibleTableInfo *tableInfo);
|
||||||
|
|
||||||
|
AccessibleContext getAccessibleTableRowDescription(long vmID, AccessibleContext acParent, jint row);
|
||||||
|
AccessibleContext getAccessibleTableColumnDescription(long vmID, AccessibleContext acParent, jint column);
|
||||||
|
|
||||||
|
jint getAccessibleTableRowSelectionCount(long vmID, AccessibleTable table);
|
||||||
|
BOOL isAccessibleTableRowSelected(long vmID, AccessibleTable table, jint row);
|
||||||
|
BOOL getAccessibleTableRowSelections(long vmID, AccessibleTable table, jint count, jint *selections);
|
||||||
|
|
||||||
|
jint getAccessibleTableColumnSelectionCount(long vmID, AccessibleTable table);
|
||||||
|
BOOL isAccessibleTableColumnSelected(long vmID, AccessibleTable table, jint column);
|
||||||
|
BOOL getAccessibleTableColumnSelections(long vmID, AccessibleTable table, jint count, jint *selections);
|
||||||
|
|
||||||
|
jint getAccessibleTableRow(long vmID, AccessibleTable table, jint index);
|
||||||
|
jint getAccessibleTableColumn(long vmID, AccessibleTable table, jint index);
|
||||||
|
jint getAccessibleTableIndex(long vmID, AccessibleTable table, jint row, jint column);
|
||||||
|
/* end AccessibleTable */
|
||||||
|
|
||||||
|
/* ----- AccessibleRelationSet routines */
|
||||||
|
BOOL getAccessibleRelationSet(long vmID, AccessibleContext accessibleContext,
|
||||||
|
AccessibleRelationSetInfo *relationSetInfo);
|
||||||
|
|
||||||
|
/* ----- AccessibleHypertext routines */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Returns hypertext information associated with a component.
|
||||||
|
*/
|
||||||
|
BOOL getAccessibleHypertext(long vmID, AccessibleContext accessibleContext,
|
||||||
|
AccessibleHypertextInfo *hypertextInfo);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Requests that a hyperlink be activated.
|
||||||
|
*/
|
||||||
|
BOOL activateAccessibleHyperlink(long vmID, AccessibleContext accessibleContext,
|
||||||
|
AccessibleHyperlink accessibleHyperlink);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Returns the number of hyperlinks in a component
|
||||||
|
* Maps to AccessibleHypertext.getLinkCount.
|
||||||
|
* Returns -1 on error.
|
||||||
|
*/
|
||||||
|
jint getAccessibleHyperlinkCount(const long vmID,
|
||||||
|
const AccessibleHypertext hypertext);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This method is used to iterate through the hyperlinks in a component. It
|
||||||
|
* returns hypertext information for a component starting at hyperlink index
|
||||||
|
* nStartIndex. No more than MAX_HYPERLINKS AccessibleHypertextInfo objects will
|
||||||
|
* be returned for each call to this method.
|
||||||
|
* Returns FALSE on error.
|
||||||
|
*/
|
||||||
|
BOOL getAccessibleHypertextExt(const long vmID,
|
||||||
|
const AccessibleContext accessibleContext,
|
||||||
|
const jint nStartIndex,
|
||||||
|
/* OUT */ AccessibleHypertextInfo *hypertextInfo);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Returns the index into an array of hyperlinks that is associated with
|
||||||
|
* a character index in document; maps to AccessibleHypertext.getLinkIndex
|
||||||
|
* Returns -1 on error.
|
||||||
|
*/
|
||||||
|
jint getAccessibleHypertextLinkIndex(const long vmID,
|
||||||
|
const AccessibleHypertext hypertext,
|
||||||
|
const jint nIndex);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Returns the nth hyperlink in a document
|
||||||
|
* Maps to AccessibleHypertext.getLink.
|
||||||
|
* Returns FALSE on error
|
||||||
|
*/
|
||||||
|
BOOL getAccessibleHyperlink(const long vmID,
|
||||||
|
const AccessibleHypertext hypertext,
|
||||||
|
const jint nIndex,
|
||||||
|
/* OUT */ AccessibleHyperlinkInfo *hyperlinkInfo);
|
||||||
|
|
||||||
|
/* Accessible KeyBindings, Icons and Actions */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Returns a list of key bindings associated with a component.
|
||||||
|
*/
|
||||||
|
BOOL getAccessibleKeyBindings(long vmID, AccessibleContext accessibleContext,
|
||||||
|
AccessibleKeyBindings *keyBindings);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Returns a list of icons associate with a component.
|
||||||
|
*/
|
||||||
|
BOOL getAccessibleIcons(long vmID, AccessibleContext accessibleContext,
|
||||||
|
AccessibleIcons *icons);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Returns a list of actions that a component can perform.
|
||||||
|
*/
|
||||||
|
BOOL getAccessibleActions(long vmID, AccessibleContext accessibleContext,
|
||||||
|
AccessibleActions *actions);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Request that a list of AccessibleActions be performed by a component.
|
||||||
|
* Returns TRUE if all actions are performed. Returns FALSE
|
||||||
|
* when the first requested action fails in which case "failure"
|
||||||
|
* contains the index of the action that failed.
|
||||||
|
*/
|
||||||
|
BOOL doAccessibleActions(long vmID, AccessibleContext accessibleContext,
|
||||||
|
AccessibleActionsToDo *actionsToDo, jint *failure);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Additional utility methods */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Returns whether two object references refer to the same object.
|
||||||
|
*/
|
||||||
|
BOOL IsSameObject(long vmID, JOBJECT64 obj1, JOBJECT64 obj2);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets editable text contents. The AccessibleContext must implement AccessibleEditableText and
|
||||||
|
* be editable. The maximum text length that can be set is MAX_STRING_SIZE - 1.
|
||||||
|
* Returns whether successful
|
||||||
|
*/
|
||||||
|
BOOL setTextContents (const long vmID, const AccessibleContext accessibleContext, const wchar_t *text);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the Accessible Context with the specified role that is the
|
||||||
|
* ancestor of a given object. The role is one of the role strings
|
||||||
|
* defined in AccessBridgePackages.h
|
||||||
|
* If there is no ancestor object that has the specified role,
|
||||||
|
* returns (AccessibleContext)0.
|
||||||
|
*/
|
||||||
|
AccessibleContext getParentWithRole (const long vmID, const AccessibleContext accessibleContext,
|
||||||
|
const wchar_t *role);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the Accessible Context with the specified role that is the
|
||||||
|
* ancestor of a given object. The role is one of the role strings
|
||||||
|
* defined in AccessBridgePackages.h. If an object with the specified
|
||||||
|
* role does not exist, returns the top level object for the Java Window.
|
||||||
|
* Returns (AccessibleContext)0 on error.
|
||||||
|
*/
|
||||||
|
AccessibleContext getParentWithRoleElseRoot (const long vmID, const AccessibleContext accessibleContext,
|
||||||
|
const wchar_t *role);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the Accessible Context for the top level object in
|
||||||
|
* a Java Window. This is same Accessible Context that is obtained
|
||||||
|
* from GetAccessibleContextFromHWND for that window. Returns
|
||||||
|
* (AccessibleContext)0 on error.
|
||||||
|
*/
|
||||||
|
AccessibleContext getTopLevelObject (const long vmID, const AccessibleContext accessibleContext);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns how deep in the object hierarchy a given object is.
|
||||||
|
* The top most object in the object hierarchy has an object depth of 0.
|
||||||
|
* Returns -1 on error.
|
||||||
|
*/
|
||||||
|
int getObjectDepth (const long vmID, const AccessibleContext accessibleContext);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the Accessible Context of the current ActiveDescendent of an object.
|
||||||
|
* This method assumes the ActiveDescendent is the component that is currently
|
||||||
|
* selected in a container object.
|
||||||
|
* Returns (AccessibleContext)0 on error or if there is no selection.
|
||||||
|
*/
|
||||||
|
AccessibleContext getActiveDescendent (const long vmID, const AccessibleContext accessibleContext);
|
||||||
|
|
||||||
|
/**
|
||||||
|
/**
|
||||||
|
* Accessible Value routines
|
||||||
|
*/
|
||||||
|
BOOL GetCurrentAccessibleValueFromContext(long vmID, AccessibleValue av, wchar_t *value, short len);
|
||||||
|
BOOL GetMaximumAccessibleValueFromContext(long vmID, AccessibleValue av, wchar_t *value, short len);
|
||||||
|
BOOL GetMinimumAccessibleValueFromContext(long vmID, AccessibleValue av, wchar_t *value, short len);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Accessible Selection routines
|
||||||
|
*/
|
||||||
|
void AddAccessibleSelectionFromContext(long vmID, AccessibleSelection as, int i);
|
||||||
|
void ClearAccessibleSelectionFromContext(long vmID, AccessibleSelection as);
|
||||||
|
JOBJECT64 GetAccessibleSelectionFromContext(long vmID, AccessibleSelection as, int i);
|
||||||
|
int GetAccessibleSelectionCountFromContext(long vmID, AccessibleSelection as);
|
||||||
|
BOOL IsAccessibleChildSelectedFromContext(long vmID, AccessibleSelection as, int i);
|
||||||
|
void RemoveAccessibleSelectionFromContext(long vmID, AccessibleSelection as, int i);
|
||||||
|
void SelectAllAccessibleSelectionFromContext(long vmID, AccessibleSelection as);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Additional methods for Teton
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the AccessibleName for a component based upon the JAWS algorithm. Returns
|
||||||
|
* whether successful.
|
||||||
|
*
|
||||||
|
* Bug ID 4916682 - Implement JAWS AccessibleName policy
|
||||||
|
*/
|
||||||
|
BOOL getVirtualAccessibleName(const long vmID, const AccessibleContext accessibleContext,
|
||||||
|
wchar_t *name, int len);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Request focus for a component. Returns whether successful.
|
||||||
|
*
|
||||||
|
* Bug ID 4944757 - requestFocus method needed
|
||||||
|
*/
|
||||||
|
BOOL requestFocus(const long vmID, const AccessibleContext accessibleContext);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Selects text between two indices. Selection includes the text at the start index
|
||||||
|
* and the text at the end index. Returns whether successful.
|
||||||
|
*
|
||||||
|
* Bug ID 4944758 - selectTextRange method needed
|
||||||
|
*/
|
||||||
|
BOOL selectTextRange(const long vmID, const AccessibleContext accessibleContext, const int startIndex,
|
||||||
|
const int endIndex);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get text attributes between two indices. The attribute list includes the text at the
|
||||||
|
* start index and the text at the end index. Returns whether successful;
|
||||||
|
*
|
||||||
|
* Bug ID 4944761 - getTextAttributes between two indices method needed
|
||||||
|
*/
|
||||||
|
BOOL getTextAttributesInRange(const long vmID, const AccessibleContext accessibleContext,
|
||||||
|
const int startIndex, const int endIndex,
|
||||||
|
AccessibleTextAttributesInfo *attributes, short *len);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the number of visible children of a component. Returns -1 on error.
|
||||||
|
*
|
||||||
|
* Bug ID 4944762- getVisibleChildren for list-like components needed
|
||||||
|
*/
|
||||||
|
int getVisibleChildrenCount(const long vmID, const AccessibleContext accessibleContext);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the visible children of an AccessibleContext. Returns whether successful.
|
||||||
|
*
|
||||||
|
* Bug ID 4944762- getVisibleChildren for list-like components needed
|
||||||
|
*/
|
||||||
|
BOOL getVisibleChildren(const long vmID, const AccessibleContext accessibleContext,
|
||||||
|
const int startIndex,
|
||||||
|
VisibleChildrenInfo *visibleChildrenInfo);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the caret to a text position. Returns whether successful.
|
||||||
|
*
|
||||||
|
* Bug ID 4944770 - setCaretPosition method needed
|
||||||
|
*/
|
||||||
|
BOOL setCaretPosition(const long vmID, const AccessibleContext accessibleContext,
|
||||||
|
const int position);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the text caret location
|
||||||
|
*/
|
||||||
|
BOOL getCaretLocation(long vmID, AccessibleContext ac,
|
||||||
|
AccessibleTextRectInfo *rectInfo, jint index);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the number of events waiting to fire
|
||||||
|
*/
|
||||||
|
int getEventsWaiting();
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
2215
runtime/include/win32/bridge/AccessBridgePackages.h
Normal file
59
runtime/include/win32/jawt_md.h
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 1999, 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. 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _JAVASOFT_JAWT_MD_H_
|
||||||
|
#define _JAVASOFT_JAWT_MD_H_
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
#include "jawt.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Win32-specific declarations for AWT native interface.
|
||||||
|
* See notes in jawt.h for an example of use.
|
||||||
|
*/
|
||||||
|
typedef struct jawt_Win32DrawingSurfaceInfo {
|
||||||
|
/* Native window, DDB, or DIB handle */
|
||||||
|
union {
|
||||||
|
HWND hwnd;
|
||||||
|
HBITMAP hbitmap;
|
||||||
|
void* pbits;
|
||||||
|
};
|
||||||
|
/*
|
||||||
|
* This HDC should always be used instead of the HDC returned from
|
||||||
|
* BeginPaint() or any calls to GetDC().
|
||||||
|
*/
|
||||||
|
HDC hdc;
|
||||||
|
HPALETTE hpalette;
|
||||||
|
} JAWT_Win32DrawingSurfaceInfo;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* !_JAVASOFT_JAWT_MD_H_ */
|
37
runtime/include/win32/jni_md.h
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 1996, 1998, 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. 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _JAVASOFT_JNI_MD_H_
|
||||||
|
#define _JAVASOFT_JNI_MD_H_
|
||||||
|
|
||||||
|
#define JNIEXPORT __declspec(dllexport)
|
||||||
|
#define JNIIMPORT __declspec(dllimport)
|
||||||
|
#define JNICALL __stdcall
|
||||||
|
|
||||||
|
typedef long jint;
|
||||||
|
typedef __int64 jlong;
|
||||||
|
typedef signed char jbyte;
|
||||||
|
|
||||||
|
#endif /* !_JAVASOFT_JNI_MD_H_ */
|
27
runtime/jre/ASSEMBLY_EXCEPTION
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
|
||||||
|
OPENJDK ASSEMBLY EXCEPTION
|
||||||
|
|
||||||
|
The OpenJDK source code made available by Oracle America, Inc. (Oracle) at
|
||||||
|
openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU
|
||||||
|
General Public License <http://www.gnu.org/copyleft/gpl.html> version 2
|
||||||
|
only ("GPL2"), with the following clarification and special exception.
|
||||||
|
|
||||||
|
Linking this OpenJDK Code statically or dynamically with other code
|
||||||
|
is making a combined work based on this library. Thus, the terms
|
||||||
|
and conditions of GPL2 cover the whole combination.
|
||||||
|
|
||||||
|
As a special exception, Oracle gives you permission to link this
|
||||||
|
OpenJDK Code with certain code licensed by Oracle as indicated at
|
||||||
|
http://openjdk.java.net/legal/exception-modules-2007-05-08.html
|
||||||
|
("Designated Exception Modules") to produce an executable,
|
||||||
|
regardless of the license terms of the Designated Exception Modules,
|
||||||
|
and to copy and distribute the resulting executable under GPL2,
|
||||||
|
provided that the Designated Exception Modules continue to be
|
||||||
|
governed by the licenses under which they were offered by Oracle.
|
||||||
|
|
||||||
|
As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code
|
||||||
|
to build an executable that includes those portions of necessary code that
|
||||||
|
Oracle could not provide under GPL2 (or that Oracle has provided under GPL2
|
||||||
|
with the Classpath exception). If you modify or add to the OpenJDK code,
|
||||||
|
that new GPL2 code may still be combined with Designated Exception Modules
|
||||||
|
if the new code is made subject to this exception by its copyright holder.
|
347
runtime/jre/LICENSE
Normal file
@ -0,0 +1,347 @@
|
|||||||
|
The GNU General Public License (GPL)
|
||||||
|
|
||||||
|
Version 2, June 1991
|
||||||
|
|
||||||
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies of this license
|
||||||
|
document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your freedom to share
|
||||||
|
and change it. By contrast, the GNU General Public License is intended to
|
||||||
|
guarantee your freedom to share and change free software--to make sure the
|
||||||
|
software is free for all its users. This General Public License applies to
|
||||||
|
most of the Free Software Foundation's software and to any other program whose
|
||||||
|
authors commit to using it. (Some other Free Software Foundation software is
|
||||||
|
covered by the GNU Library General Public License instead.) You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not price. Our
|
||||||
|
General Public Licenses are designed to make sure that you have the freedom to
|
||||||
|
distribute copies of free software (and charge for this service if you wish),
|
||||||
|
that you receive source code or can get it if you want it, that you can change
|
||||||
|
the software or use pieces of it in new free programs; and that you know you
|
||||||
|
can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid anyone to deny
|
||||||
|
you these rights or to ask you to surrender the rights. These restrictions
|
||||||
|
translate to certain responsibilities for you if you distribute copies of the
|
||||||
|
software, or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether gratis or for
|
||||||
|
a fee, you must give the recipients all the rights that you have. You must
|
||||||
|
make sure that they, too, receive or can get the source code. And you must
|
||||||
|
show them these terms so they know their rights.
|
||||||
|
|
||||||
|
We protect your rights with two steps: (1) copyright the software, and (2)
|
||||||
|
offer you this license which gives you legal permission to copy, distribute
|
||||||
|
and/or modify the software.
|
||||||
|
|
||||||
|
Also, for each author's protection and ours, we want to make certain that
|
||||||
|
everyone understands that there is no warranty for this free software. If the
|
||||||
|
software is modified by someone else and passed on, we want its recipients to
|
||||||
|
know that what they have is not the original, so that any problems introduced
|
||||||
|
by others will not reflect on the original authors' reputations.
|
||||||
|
|
||||||
|
Finally, any free program is threatened constantly by software patents. We
|
||||||
|
wish to avoid the danger that redistributors of a free program will
|
||||||
|
individually obtain patent licenses, in effect making the program proprietary.
|
||||||
|
To prevent this, we have made it clear that any patent must be licensed for
|
||||||
|
everyone's free use or not licensed at all.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and modification
|
||||||
|
follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. This License applies to any program or other work which contains a notice
|
||||||
|
placed by the copyright holder saying it may be distributed under the terms of
|
||||||
|
this General Public License. The "Program", below, refers to any such program
|
||||||
|
or work, and a "work based on the Program" means either the Program or any
|
||||||
|
derivative work under copyright law: that is to say, a work containing the
|
||||||
|
Program or a portion of it, either verbatim or with modifications and/or
|
||||||
|
translated into another language. (Hereinafter, translation is included
|
||||||
|
without limitation in the term "modification".) Each licensee is addressed as
|
||||||
|
"you".
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not covered by
|
||||||
|
this License; they are outside its scope. The act of running the Program is
|
||||||
|
not restricted, and the output from the Program is covered only if its contents
|
||||||
|
constitute a work based on the Program (independent of having been made by
|
||||||
|
running the Program). Whether that is true depends on what the Program does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Program's source code as
|
||||||
|
you receive it, in any medium, provided that you conspicuously and
|
||||||
|
appropriately publish on each copy an appropriate copyright notice and
|
||||||
|
disclaimer of warranty; keep intact all the notices that refer to this License
|
||||||
|
and to the absence of any warranty; and give any other recipients of the
|
||||||
|
Program a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy, and you may
|
||||||
|
at your option offer warranty protection in exchange for a fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Program or any portion of it, thus
|
||||||
|
forming a work based on the Program, and copy and distribute such modifications
|
||||||
|
or work under the terms of Section 1 above, provided that you also meet all of
|
||||||
|
these conditions:
|
||||||
|
|
||||||
|
a) You must cause the modified files to carry prominent notices stating
|
||||||
|
that you changed the files and the date of any change.
|
||||||
|
|
||||||
|
b) You must cause any work that you distribute or publish, that in whole or
|
||||||
|
in part contains or is derived from the Program or any part thereof, to be
|
||||||
|
licensed as a whole at no charge to all third parties under the terms of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
c) If the modified program normally reads commands interactively when run,
|
||||||
|
you must cause it, when started running for such interactive use in the
|
||||||
|
most ordinary way, to print or display an announcement including an
|
||||||
|
appropriate copyright notice and a notice that there is no warranty (or
|
||||||
|
else, saying that you provide a warranty) and that users may redistribute
|
||||||
|
the program under these conditions, and telling the user how to view a copy
|
||||||
|
of this License. (Exception: if the Program itself is interactive but does
|
||||||
|
not normally print such an announcement, your work based on the Program is
|
||||||
|
not required to print an announcement.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If identifiable
|
||||||
|
sections of that work are not derived from the Program, and can be reasonably
|
||||||
|
considered independent and separate works in themselves, then this License, and
|
||||||
|
its terms, do not apply to those sections when you distribute them as separate
|
||||||
|
works. But when you distribute the same sections as part of a whole which is a
|
||||||
|
work based on the Program, the distribution of the whole must be on the terms
|
||||||
|
of this License, whose permissions for other licensees extend to the entire
|
||||||
|
whole, and thus to each and every part regardless of who wrote it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest your
|
||||||
|
rights to work written entirely by you; rather, the intent is to exercise the
|
||||||
|
right to control the distribution of derivative or collective works based on
|
||||||
|
the Program.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Program with the
|
||||||
|
Program (or with a work based on the Program) on a volume of a storage or
|
||||||
|
distribution medium does not bring the other work under the scope of this
|
||||||
|
License.
|
||||||
|
|
||||||
|
3. You may copy and distribute the Program (or a work based on it, under
|
||||||
|
Section 2) in object code or executable form under the terms of Sections 1 and
|
||||||
|
2 above provided that you also do one of the following:
|
||||||
|
|
||||||
|
a) Accompany it with the complete corresponding machine-readable source
|
||||||
|
code, which must be distributed under the terms of Sections 1 and 2 above
|
||||||
|
on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
b) Accompany it with a written offer, valid for at least three years, to
|
||||||
|
give any third party, for a charge no more than your cost of physically
|
||||||
|
performing source distribution, a complete machine-readable copy of the
|
||||||
|
corresponding source code, to be distributed under the terms of Sections 1
|
||||||
|
and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
c) Accompany it with the information you received as to the offer to
|
||||||
|
distribute corresponding source code. (This alternative is allowed only
|
||||||
|
for noncommercial distribution and only if you received the program in
|
||||||
|
object code or executable form with such an offer, in accord with
|
||||||
|
Subsection b above.)
|
||||||
|
|
||||||
|
The source code for a work means the preferred form of the work for making
|
||||||
|
modifications to it. For an executable work, complete source code means all
|
||||||
|
the source code for all modules it contains, plus any associated interface
|
||||||
|
definition files, plus the scripts used to control compilation and installation
|
||||||
|
of the executable. However, as a special exception, the source code
|
||||||
|
distributed need not include anything that is normally distributed (in either
|
||||||
|
source or binary form) with the major components (compiler, kernel, and so on)
|
||||||
|
of the operating system on which the executable runs, unless that component
|
||||||
|
itself accompanies the executable.
|
||||||
|
|
||||||
|
If distribution of executable or object code is made by offering access to copy
|
||||||
|
from a designated place, then offering equivalent access to copy the source
|
||||||
|
code from the same place counts as distribution of the source code, even though
|
||||||
|
third parties are not compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
4. You may not copy, modify, sublicense, or distribute the Program except as
|
||||||
|
expressly provided under this License. Any attempt otherwise to copy, modify,
|
||||||
|
sublicense or distribute the Program is void, and will automatically terminate
|
||||||
|
your rights under this License. However, parties who have received copies, or
|
||||||
|
rights, from you under this License will not have their licenses terminated so
|
||||||
|
long as such parties remain in full compliance.
|
||||||
|
|
||||||
|
5. You are not required to accept this License, since you have not signed it.
|
||||||
|
However, nothing else grants you permission to modify or distribute the Program
|
||||||
|
or its derivative works. These actions are prohibited by law if you do not
|
||||||
|
accept this License. Therefore, by modifying or distributing the Program (or
|
||||||
|
any work based on the Program), you indicate your acceptance of this License to
|
||||||
|
do so, and all its terms and conditions for copying, distributing or modifying
|
||||||
|
the Program or works based on it.
|
||||||
|
|
||||||
|
6. Each time you redistribute the Program (or any work based on the Program),
|
||||||
|
the recipient automatically receives a license from the original licensor to
|
||||||
|
copy, distribute or modify the Program subject to these terms and conditions.
|
||||||
|
You may not impose any further restrictions on the recipients' exercise of the
|
||||||
|
rights granted herein. You are not responsible for enforcing compliance by
|
||||||
|
third parties to this License.
|
||||||
|
|
||||||
|
7. If, as a consequence of a court judgment or allegation of patent
|
||||||
|
infringement or for any other reason (not limited to patent issues), conditions
|
||||||
|
are imposed on you (whether by court order, agreement or otherwise) that
|
||||||
|
contradict the conditions of this License, they do not excuse you from the
|
||||||
|
conditions of this License. If you cannot distribute so as to satisfy
|
||||||
|
simultaneously your obligations under this License and any other pertinent
|
||||||
|
obligations, then as a consequence you may not distribute the Program at all.
|
||||||
|
For example, if a patent license would not permit royalty-free redistribution
|
||||||
|
of the Program by all those who receive copies directly or indirectly through
|
||||||
|
you, then the only way you could satisfy both it and this License would be to
|
||||||
|
refrain entirely from distribution of the Program.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under any
|
||||||
|
particular circumstance, the balance of the section is intended to apply and
|
||||||
|
the section as a whole is intended to apply in other circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any patents or
|
||||||
|
other property right claims or to contest validity of any such claims; this
|
||||||
|
section has the sole purpose of protecting the integrity of the free software
|
||||||
|
distribution system, which is implemented by public license practices. Many
|
||||||
|
people have made generous contributions to the wide range of software
|
||||||
|
distributed through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing to
|
||||||
|
distribute software through any other system and a licensee cannot impose that
|
||||||
|
choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to be a
|
||||||
|
consequence of the rest of this License.
|
||||||
|
|
||||||
|
8. If the distribution and/or use of the Program is restricted in certain
|
||||||
|
countries either by patents or by copyrighted interfaces, the original
|
||||||
|
copyright holder who places the Program under this License may add an explicit
|
||||||
|
geographical distribution limitation excluding those countries, so that
|
||||||
|
distribution is permitted only in or among countries not thus excluded. In
|
||||||
|
such case, this License incorporates the limitation as if written in the body
|
||||||
|
of this License.
|
||||||
|
|
||||||
|
9. The Free Software Foundation may publish revised and/or new versions of the
|
||||||
|
General Public License from time to time. Such new versions will be similar in
|
||||||
|
spirit to the present version, but may differ in detail to address new problems
|
||||||
|
or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Program
|
||||||
|
specifies a version number of this License which applies to it and "any later
|
||||||
|
version", you have the option of following the terms and conditions either of
|
||||||
|
that version or of any later version published by the Free Software Foundation.
|
||||||
|
If the Program does not specify a version number of this License, you may
|
||||||
|
choose any version ever published by the Free Software Foundation.
|
||||||
|
|
||||||
|
10. If you wish to incorporate parts of the Program into other free programs
|
||||||
|
whose distribution conditions are different, write to the author to ask for
|
||||||
|
permission. For software which is copyrighted by the Free Software Foundation,
|
||||||
|
write to the Free Software Foundation; we sometimes make exceptions for this.
|
||||||
|
Our decision will be guided by the two goals of preserving the free status of
|
||||||
|
all derivatives of our free software and of promoting the sharing and reuse of
|
||||||
|
software generally.
|
||||||
|
|
||||||
|
NO WARRANTY
|
||||||
|
|
||||||
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
|
||||||
|
THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
|
||||||
|
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
|
||||||
|
PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
|
||||||
|
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
|
||||||
|
PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE,
|
||||||
|
YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
|
||||||
|
ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE
|
||||||
|
PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
|
||||||
|
INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA
|
||||||
|
BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||||
|
FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER
|
||||||
|
OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest possible
|
||||||
|
use to the public, the best way to achieve this is to make it free software
|
||||||
|
which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest to attach
|
||||||
|
them to the start of each source file to most effectively convey the exclusion
|
||||||
|
of warranty; and each file should have at least the "copyright" line and a
|
||||||
|
pointer to where the full notice is found.
|
||||||
|
|
||||||
|
One line to give the program's name and a brief idea of what it does.
|
||||||
|
|
||||||
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify it
|
||||||
|
under the terms of the GNU General Public License as published by the Free
|
||||||
|
Software Foundation; either version 2 of the License, or (at your option)
|
||||||
|
any later version.
|
||||||
|
|
||||||
|
This program 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 for
|
||||||
|
more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License along
|
||||||
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program is interactive, make it output a short notice like this when it
|
||||||
|
starts in an interactive mode:
|
||||||
|
|
||||||
|
Gnomovision version 69, Copyright (C) year name of author Gnomovision comes
|
||||||
|
with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free
|
||||||
|
software, and you are welcome to redistribute it under certain conditions;
|
||||||
|
type 'show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands 'show w' and 'show c' should show the appropriate
|
||||||
|
parts of the General Public License. Of course, the commands you use may be
|
||||||
|
called something other than 'show w' and 'show c'; they could even be
|
||||||
|
mouse-clicks or menu items--whatever suits your program.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or your school,
|
||||||
|
if any, to sign a "copyright disclaimer" for the program, if necessary. Here
|
||||||
|
is a sample; alter the names:
|
||||||
|
|
||||||
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||||
|
'Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||||
|
|
||||||
|
signature of Ty Coon, 1 April 1989
|
||||||
|
|
||||||
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
|
This General Public License does not permit incorporating your program into
|
||||||
|
proprietary programs. If your program is a subroutine library, you may
|
||||||
|
consider it more useful to permit linking proprietary applications with the
|
||||||
|
library. If this is what you want to do, use the GNU Library General Public
|
||||||
|
License instead of this License.
|
||||||
|
|
||||||
|
|
||||||
|
"CLASSPATH" EXCEPTION TO THE GPL
|
||||||
|
|
||||||
|
Certain source files distributed by Oracle America and/or its affiliates are
|
||||||
|
subject to the following clarification and special exception to the GPL, but
|
||||||
|
only where Oracle has expressly included in the particular source file's header
|
||||||
|
the words "Oracle designates this particular file as subject to the "Classpath"
|
||||||
|
exception as provided by Oracle in the LICENSE file that accompanied this code."
|
||||||
|
|
||||||
|
Linking this library statically or dynamically with other modules is making
|
||||||
|
a combined work based on this library. Thus, the terms and conditions of
|
||||||
|
the GNU General Public License cover the whole combination.
|
||||||
|
|
||||||
|
As a special exception, the copyright holders of this library give you
|
||||||
|
permission to link this library with independent modules to produce an
|
||||||
|
executable, regardless of the license terms of these independent modules,
|
||||||
|
and to copy and distribute the resulting executable under terms of your
|
||||||
|
choice, provided that you also meet, for each linked independent module,
|
||||||
|
the terms and conditions of the license of that module. An independent
|
||||||
|
module is a module which is not derived from or based on this library. If
|
||||||
|
you modify this library, you may extend this exception to your version of
|
||||||
|
the library, but you are not obligated to do so. If you do not wish to do
|
||||||
|
so, delete this exception statement from your version.
|
3318
runtime/jre/THIRD_PARTY_README
Normal file
6
runtime/jre/lib/accessibility.properties
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#
|
||||||
|
# Load the Java Access Bridge class into the JVM
|
||||||
|
#
|
||||||
|
#assistive_technologies=com.sun.java.accessibility.AccessBridge
|
||||||
|
#screen_magnifier_present=true
|
||||||
|
|
38
runtime/jre/lib/amd64/jvm.cfg
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Copyright (c) 2003, 2013, 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. 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.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# List of JVMs that can be used as an option to java, javac, etc.
|
||||||
|
# Order is important -- first in this list is the default JVM.
|
||||||
|
# NOTE that this both this file and its format are UNSUPPORTED and
|
||||||
|
# WILL GO AWAY in a future release.
|
||||||
|
#
|
||||||
|
# You may also select a JVM in an arbitrary location with the
|
||||||
|
# "-XXaltjvm=<jvm_dir>" option, but that too is unsupported
|
||||||
|
# and may not be available in a future release.
|
||||||
|
#
|
||||||
|
-server KNOWN
|
||||||
|
-client IGNORE
|
62
runtime/jre/lib/calendars.properties
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
# Copyright (c) 2005, 2013, 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. 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# Japanese imperial calendar
|
||||||
|
#
|
||||||
|
# Meiji since 1868-01-01 00:00:00 local time (Gregorian)
|
||||||
|
# Taisho since 1912-07-30 00:00:00 local time (Gregorian)
|
||||||
|
# Showa since 1926-12-25 00:00:00 local time (Gregorian)
|
||||||
|
# Heisei since 1989-01-08 00:00:00 local time (Gregorian)
|
||||||
|
# Reiwa since 2019-05-01 00:00:00 local time (Gregorian)
|
||||||
|
calendar.japanese.type: LocalGregorianCalendar
|
||||||
|
calendar.japanese.eras: \
|
||||||
|
name=Meiji,abbr=M,since=-3218832000000; \
|
||||||
|
name=Taisho,abbr=T,since=-1812153600000; \
|
||||||
|
name=Showa,abbr=S,since=-1357603200000; \
|
||||||
|
name=Heisei,abbr=H,since=600220800000; \
|
||||||
|
name=Reiwa,abbr=R,since=1556668800000
|
||||||
|
|
||||||
|
#
|
||||||
|
# Taiwanese calendar
|
||||||
|
# Minguo since 1911-01-01 00:00:00 local time (Gregorian)
|
||||||
|
calendar.taiwanese.type: LocalGregorianCalendar
|
||||||
|
calendar.taiwanese.eras: \
|
||||||
|
name=MinGuo,since=-1830384000000
|
||||||
|
|
||||||
|
#
|
||||||
|
# Thai Buddhist calendar
|
||||||
|
# Buddhist Era since -542-01-01 00:00:00 local time (Gregorian)
|
||||||
|
calendar.thai-buddhist.type: LocalGregorianCalendar
|
||||||
|
calendar.thai-buddhist.eras: \
|
||||||
|
name=BuddhistEra,abbr=B.E.,since=-79302585600000
|
||||||
|
calendar.thai-buddhist.year-boundary: \
|
||||||
|
day1=4-1,since=-79302585600000; \
|
||||||
|
day1=1-1,since=-915148800000
|
||||||
|
|
||||||
|
#
|
||||||
|
# Hijrah calendars
|
||||||
|
#
|
||||||
|
calendar.hijrah.Hijrah-umalqura: hijrah-config-umalqura.properties
|
||||||
|
calendar.hijrah.Hijrah-umalqura.type: islamic-umalqura
|
BIN
runtime/jre/lib/charsets.jar
Normal file
2469
runtime/jre/lib/classlist
Normal file
BIN
runtime/jre/lib/cmm/CIEXYZ.pf
Normal file
BIN
runtime/jre/lib/cmm/GRAY.pf
Normal file
BIN
runtime/jre/lib/cmm/LINEAR_RGB.pf
Normal file
BIN
runtime/jre/lib/cmm/PYCC.pf
Normal file
BIN
runtime/jre/lib/cmm/sRGB.pf
Normal file
276
runtime/jre/lib/content-types.properties
Normal file
@ -0,0 +1,276 @@
|
|||||||
|
#sun.net.www MIME content-types table
|
||||||
|
#
|
||||||
|
# Property fields:
|
||||||
|
#
|
||||||
|
# <description> ::= 'description' '=' <descriptive string>
|
||||||
|
# <extensions> ::= 'file_extensions' '=' <comma-delimited list, include '.'>
|
||||||
|
# <image> ::= 'icon' '=' <filename of icon image>
|
||||||
|
# <action> ::= 'browser' | 'application' | 'save' | 'unknown'
|
||||||
|
# <application> ::= 'application' '=' <command line template>
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# The "we don't know anything about this data" type(s).
|
||||||
|
# Used internally to mark unrecognized types.
|
||||||
|
#
|
||||||
|
content/unknown: description=Unknown Content
|
||||||
|
unknown/unknown: description=Unknown Data Type
|
||||||
|
|
||||||
|
#
|
||||||
|
# The template we should use for temporary files when launching an application
|
||||||
|
# to view a document of given type.
|
||||||
|
#
|
||||||
|
temp.file.template: c:\\temp\\%s
|
||||||
|
|
||||||
|
#
|
||||||
|
# The "real" types.
|
||||||
|
#
|
||||||
|
application/octet-stream: \
|
||||||
|
description=Generic Binary Stream;\
|
||||||
|
file_extensions=.saveme,.dump,.hqx,.arc,.obj,.lib,.bin,.exe,.zip,.gz
|
||||||
|
|
||||||
|
application/oda: \
|
||||||
|
description=ODA Document;\
|
||||||
|
file_extensions=.oda
|
||||||
|
|
||||||
|
application/pdf: \
|
||||||
|
description=Adobe PDF Format;\
|
||||||
|
file_extensions=.pdf
|
||||||
|
|
||||||
|
application/postscript: \
|
||||||
|
description=Postscript File;\
|
||||||
|
file_extensions=.eps,.ai,.ps;\
|
||||||
|
icon=ps
|
||||||
|
|
||||||
|
application/rtf: \
|
||||||
|
description=Wordpad Document;\
|
||||||
|
file_extensions=.rtf;\
|
||||||
|
action=application;\
|
||||||
|
application=wordpad.exe %s
|
||||||
|
|
||||||
|
application/x-dvi: \
|
||||||
|
description=TeX DVI File;\
|
||||||
|
file_extensions=.dvi
|
||||||
|
|
||||||
|
application/x-hdf: \
|
||||||
|
description=Hierarchical Data Format;\
|
||||||
|
file_extensions=.hdf;\
|
||||||
|
action=save
|
||||||
|
|
||||||
|
application/x-latex: \
|
||||||
|
description=LaTeX Source;\
|
||||||
|
file_extensions=.latex
|
||||||
|
|
||||||
|
application/x-netcdf: \
|
||||||
|
description=Unidata netCDF Data Format;\
|
||||||
|
file_extensions=.nc,.cdf;\
|
||||||
|
action=save
|
||||||
|
|
||||||
|
application/x-tex: \
|
||||||
|
description=TeX Source;\
|
||||||
|
file_extensions=.tex
|
||||||
|
|
||||||
|
application/x-texinfo: \
|
||||||
|
description=Gnu Texinfo;\
|
||||||
|
file_extensions=.texinfo,.texi
|
||||||
|
|
||||||
|
application/x-troff: \
|
||||||
|
description=Troff Source;\
|
||||||
|
file_extensions=.t,.tr,.roff
|
||||||
|
|
||||||
|
application/x-troff-man: \
|
||||||
|
description=Troff Manpage Source;\
|
||||||
|
file_extensions=.man
|
||||||
|
|
||||||
|
application/x-troff-me: \
|
||||||
|
description=Troff ME Macros;\
|
||||||
|
file_extensions=.me
|
||||||
|
|
||||||
|
application/x-troff-ms: \
|
||||||
|
description=Troff MS Macros;\
|
||||||
|
file_extensions=.ms
|
||||||
|
|
||||||
|
application/x-wais-source: \
|
||||||
|
description=Wais Source;\
|
||||||
|
file_extensions=.src,.wsrc
|
||||||
|
|
||||||
|
application/zip: \
|
||||||
|
description=Zip File;\
|
||||||
|
file_extensions=.zip;\
|
||||||
|
icon=zip;\
|
||||||
|
action=save
|
||||||
|
|
||||||
|
application/x-bcpio: \
|
||||||
|
description=Old Binary CPIO Archive;\
|
||||||
|
file_extensions=.bcpio;\
|
||||||
|
action=save
|
||||||
|
|
||||||
|
application/x-cpio: \
|
||||||
|
description=Unix CPIO Archive;\
|
||||||
|
file_extensions=.cpio;\
|
||||||
|
action=save
|
||||||
|
|
||||||
|
application/x-gtar: \
|
||||||
|
description=Gnu Tar Archive;\
|
||||||
|
file_extensions=.gtar;\
|
||||||
|
icon=tar;\
|
||||||
|
action=save
|
||||||
|
|
||||||
|
application/x-shar: \
|
||||||
|
description=Shell Archive;\
|
||||||
|
file_extensions=.sh,.shar;\
|
||||||
|
action=save
|
||||||
|
|
||||||
|
application/x-sv4cpio: \
|
||||||
|
description=SVR4 CPIO Archive;\
|
||||||
|
file_extensions=.sv4cpio;\
|
||||||
|
action=save
|
||||||
|
|
||||||
|
application/x-sv4crc: \
|
||||||
|
description=SVR4 CPIO with CRC;\
|
||||||
|
file_extensions=.sv4crc;\
|
||||||
|
action=save
|
||||||
|
|
||||||
|
application/x-tar: \
|
||||||
|
description=Tar Archive;\
|
||||||
|
file_extensions=.tar;\
|
||||||
|
icon=tar;\
|
||||||
|
action=save
|
||||||
|
|
||||||
|
application/x-ustar: \
|
||||||
|
description=US Tar Archive;\
|
||||||
|
file_extensions=.ustar;\
|
||||||
|
action=save
|
||||||
|
|
||||||
|
audio/basic: \
|
||||||
|
description=Basic Audio;\
|
||||||
|
file_extensions=.snd,.au;\
|
||||||
|
icon=audio
|
||||||
|
|
||||||
|
audio/x-aiff: \
|
||||||
|
description=Audio Interchange Format File;\
|
||||||
|
file_extensions=.aifc,.aif,.aiff;\
|
||||||
|
icon=aiff
|
||||||
|
|
||||||
|
audio/x-wav: \
|
||||||
|
description=Wav Audio;\
|
||||||
|
file_extensions=.wav;\
|
||||||
|
icon=wav;\
|
||||||
|
action=application;\
|
||||||
|
application=mplayer.exe %s
|
||||||
|
|
||||||
|
image/gif: \
|
||||||
|
description=GIF Image;\
|
||||||
|
file_extensions=.gif;\
|
||||||
|
icon=gif;\
|
||||||
|
action=browser
|
||||||
|
|
||||||
|
image/ief: \
|
||||||
|
description=Image Exchange Format;\
|
||||||
|
file_extensions=.ief
|
||||||
|
|
||||||
|
image/jpeg: \
|
||||||
|
description=JPEG Image;\
|
||||||
|
file_extensions=.jfif,.jfif-tbnl,.jpe,.jpg,.jpeg;\
|
||||||
|
icon=jpeg;\
|
||||||
|
action=browser
|
||||||
|
|
||||||
|
image/tiff: \
|
||||||
|
description=TIFF Image;\
|
||||||
|
file_extensions=.tif,.tiff;\
|
||||||
|
icon=tiff
|
||||||
|
|
||||||
|
image/vnd.fpx: \
|
||||||
|
description=FlashPix Image;\
|
||||||
|
file_extensions=.fpx,.fpix
|
||||||
|
|
||||||
|
image/x-cmu-rast: \
|
||||||
|
description=CMU Raster Image;\
|
||||||
|
file_extensions=.ras
|
||||||
|
|
||||||
|
image/x-portable-anymap: \
|
||||||
|
description=PBM Anymap Image;\
|
||||||
|
file_extensions=.pnm
|
||||||
|
|
||||||
|
image/x-portable-bitmap: \
|
||||||
|
description=PBM Bitmap Image;\
|
||||||
|
file_extensions=.pbm
|
||||||
|
|
||||||
|
image/x-portable-graymap: \
|
||||||
|
description=PBM Graymap Image;\
|
||||||
|
file_extensions=.pgm
|
||||||
|
|
||||||
|
image/x-portable-pixmap: \
|
||||||
|
description=PBM Pixmap Image;\
|
||||||
|
file_extensions=.ppm
|
||||||
|
|
||||||
|
image/x-rgb: \
|
||||||
|
description=RGB Image;\
|
||||||
|
file_extensions=.rgb
|
||||||
|
|
||||||
|
image/x-xbitmap: \
|
||||||
|
description=X Bitmap Image;\
|
||||||
|
file_extensions=.xbm,.xpm
|
||||||
|
|
||||||
|
image/x-xwindowdump: \
|
||||||
|
description=X Window Dump Image;\
|
||||||
|
file_extensions=.xwd
|
||||||
|
|
||||||
|
image/png: \
|
||||||
|
description=PNG Image;\
|
||||||
|
file_extensions=.png;\
|
||||||
|
icon=png;\
|
||||||
|
action=browser
|
||||||
|
|
||||||
|
image/bmp: \
|
||||||
|
description=Bitmap Image;\
|
||||||
|
file_extensions=.bmp;
|
||||||
|
|
||||||
|
text/html: \
|
||||||
|
description=HTML Document;\
|
||||||
|
file_extensions=.htm,.html;\
|
||||||
|
icon=html
|
||||||
|
|
||||||
|
text/plain: \
|
||||||
|
description=Plain Text;\
|
||||||
|
file_extensions=.text,.c,.cc,.c++,.h,.pl,.txt,.java,.el;\
|
||||||
|
icon=text;\
|
||||||
|
action=browser
|
||||||
|
|
||||||
|
text/tab-separated-values: \
|
||||||
|
description=Tab Separated Values Text;\
|
||||||
|
file_extensions=.tsv
|
||||||
|
|
||||||
|
text/x-setext: \
|
||||||
|
description=Structure Enhanced Text;\
|
||||||
|
file_extensions=.etx
|
||||||
|
|
||||||
|
video/mpeg: \
|
||||||
|
description=MPEG Video Clip;\
|
||||||
|
file_extensions=.mpg,.mpe,.mpeg;\
|
||||||
|
icon=mpeg
|
||||||
|
|
||||||
|
video/quicktime: \
|
||||||
|
description=QuickTime Video Clip;\
|
||||||
|
file_extensions=.mov,.qt
|
||||||
|
|
||||||
|
application/x-troff-msvideo: \
|
||||||
|
description=AVI Video;\
|
||||||
|
file_extensions=.avi;\
|
||||||
|
icon=avi;\
|
||||||
|
action=application;\
|
||||||
|
application=mplayer.exe %s
|
||||||
|
|
||||||
|
video/x-sgi-movie: \
|
||||||
|
description=SGI Movie;\
|
||||||
|
file_extensions=.movie,.mv
|
||||||
|
|
||||||
|
message/rfc822: \
|
||||||
|
description=Internet Email Message;\
|
||||||
|
file_extensions=.mime
|
||||||
|
|
||||||
|
application/xml: \
|
||||||
|
description=XML document;\
|
||||||
|
file_extensions=.xml
|
||||||
|
|
||||||
|
|
BIN
runtime/jre/lib/currency.data
Normal file
BIN
runtime/jre/lib/ext/access-bridge-64.jar
Normal file
BIN
runtime/jre/lib/ext/cldrdata.jar
Normal file
BIN
runtime/jre/lib/ext/dnsns.jar
Normal file
BIN
runtime/jre/lib/ext/jaccess.jar
Normal file
BIN
runtime/jre/lib/ext/localedata.jar
Normal file
32
runtime/jre/lib/ext/meta-index
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
% VERSION 2
|
||||||
|
% WARNING: this file is auto-generated; do not edit
|
||||||
|
% UNSUPPORTED: this file and its format may change and/or
|
||||||
|
% may be removed in a future release
|
||||||
|
! access-bridge-64.jar
|
||||||
|
com/sun/java/accessibility/
|
||||||
|
! cldrdata.jar
|
||||||
|
sun/text
|
||||||
|
sun/util
|
||||||
|
# dnsns.jar
|
||||||
|
META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor
|
||||||
|
sun/net
|
||||||
|
! jaccess.jar
|
||||||
|
com/sun/java/accessibility/
|
||||||
|
# localedata.jar
|
||||||
|
sun/text
|
||||||
|
sun/util
|
||||||
|
# nashorn.jar
|
||||||
|
jdk/nashorn
|
||||||
|
META-INF/services/javax.script.ScriptEngineFactory
|
||||||
|
jdk/internal
|
||||||
|
! sunec.jar
|
||||||
|
sun/security
|
||||||
|
! sunjce_provider.jar
|
||||||
|
com/sun/crypto/
|
||||||
|
! sunmscapi.jar
|
||||||
|
sun/security
|
||||||
|
! sunpkcs11.jar
|
||||||
|
sun/security
|
||||||
|
# zipfs.jar
|
||||||
|
META-INF/services/java.nio.file.spi.FileSystemProvider
|
||||||
|
com/sun/nio/
|
BIN
runtime/jre/lib/ext/nashorn.jar
Normal file
BIN
runtime/jre/lib/ext/sunec.jar
Normal file
BIN
runtime/jre/lib/ext/sunjce_provider.jar
Normal file
BIN
runtime/jre/lib/ext/sunmscapi.jar
Normal file
BIN
runtime/jre/lib/ext/sunpkcs11.jar
Normal file
BIN
runtime/jre/lib/ext/zipfs.jar
Normal file
77
runtime/jre/lib/flavormap.properties
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
#
|
||||||
|
# This properties file is used to initialize the default
|
||||||
|
# java.awt.datatransfer.SystemFlavorMap. It contains the Win32 platform-
|
||||||
|
# specific, default mappings between common Win32 Clipboard atoms and platform-
|
||||||
|
# independent MIME type strings, which will be converted into
|
||||||
|
# java.awt.datatransfer.DataFlavors.
|
||||||
|
#
|
||||||
|
# These default mappings may be augmented by specifying the
|
||||||
|
#
|
||||||
|
# AWT.DnD.flavorMapFileURL
|
||||||
|
#
|
||||||
|
# property in the appropriate awt.properties file. The specified properties URL
|
||||||
|
# will be loaded into the SystemFlavorMap.
|
||||||
|
#
|
||||||
|
# The standard format is:
|
||||||
|
#
|
||||||
|
# <native>=<MIME type>
|
||||||
|
#
|
||||||
|
# <native> should be a string identifier that the native platform will
|
||||||
|
# recognize as a valid data format. <MIME type> should specify both a MIME
|
||||||
|
# primary type and a MIME subtype separated by a '/'. The MIME type may include
|
||||||
|
# parameters, where each parameter is a key/value pair separated by '=', and
|
||||||
|
# where each parameter to the MIME type is separated by a ';'.
|
||||||
|
#
|
||||||
|
# Because SystemFlavorMap implements FlavorTable, developers are free to
|
||||||
|
# duplicate both native keys and DataFlavor values. If a mapping contains a
|
||||||
|
# duplicate key or value, earlier mappings which included this key or value
|
||||||
|
# will be preferred.
|
||||||
|
#
|
||||||
|
# Mappings whose values specify DataFlavors with primary MIME types of
|
||||||
|
# "text", and which support the charset parameter, should specify the exact
|
||||||
|
# format in which the native platform expects the data. The "charset"
|
||||||
|
# parameter specifies the char to byte encoding, the "eoln" parameter
|
||||||
|
# specifies the end-of-line marker, and the "terminators" parameter specifies
|
||||||
|
# the number of terminating NUL bytes. Note that "eoln" and "terminators"
|
||||||
|
# are not standardized MIME type parameters. They are specific to this file
|
||||||
|
# format ONLY. They will not appear in any of the DataFlavors returned by the
|
||||||
|
# SystemFlavorMap at the Java level.
|
||||||
|
#
|
||||||
|
# If the "charset" parameter is omitted, or has zero length, the platform
|
||||||
|
# default encoding is assumed. If the "eoln" parameter is omitted, or has
|
||||||
|
# zero length, "\n" is assumed. If the "terminators" parameter is omitted,
|
||||||
|
# or has a value less than zero, zero is assumed.
|
||||||
|
#
|
||||||
|
# Upon initialization, the data transfer subsystem will record the specified
|
||||||
|
# details of the native text format, but the default SystemFlavorMap will
|
||||||
|
# present a large set of synthesized DataFlavors which map, in both
|
||||||
|
# directions, to the native. After receiving data from the application in one
|
||||||
|
# of the synthetic DataFlavors, the data transfer subsystem will transform
|
||||||
|
# the data stream into the format specified in this file before passing the
|
||||||
|
# transformed stream to the native system.
|
||||||
|
#
|
||||||
|
# Mappings whose values specify DataFlavors with primary MIME types of
|
||||||
|
# "text", but which do not support the charset parameter, will be treated as
|
||||||
|
# opaque, 8-bit data. They will not undergo any transformation process, and
|
||||||
|
# any "charset", "eoln", or "terminators" parameters specified in this file
|
||||||
|
# will be ignored.
|
||||||
|
#
|
||||||
|
# See java.awt.datatransfer.DataFlavor.selectBestTextFlavor for a list of
|
||||||
|
# text flavors which support the charset parameter.
|
||||||
|
|
||||||
|
UNICODE\ TEXT=text/plain;charset=utf-16le;eoln="\r\n";terminators=2
|
||||||
|
TEXT=text/plain;eoln="\r\n";terminators=1
|
||||||
|
HTML\ Format=text/html;charset=utf-8;eoln="\r\n";terminators=1
|
||||||
|
Rich\ Text\ Format=text/rtf
|
||||||
|
HDROP=application/x-java-file-list;class=java.util.List
|
||||||
|
PNG=image/x-java-image;class=java.awt.Image
|
||||||
|
JFIF=image/x-java-image;class=java.awt.Image
|
||||||
|
DIB=image/x-java-image;class=java.awt.Image
|
||||||
|
ENHMETAFILE=image/x-java-image;class=java.awt.Image
|
||||||
|
METAFILEPICT=image/x-java-image;class=java.awt.Image
|
||||||
|
LOCALE=application/x-java-text-encoding;class="[B"
|
||||||
|
UniformResourceLocator=application/x-java-url;class=java.net.URL
|
||||||
|
UniformResourceLocator=text/uri-list;eoln="\r\n";terminators=1
|
||||||
|
UniformResourceLocator=text/plain;eoln="\r\n";terminators=1
|
||||||
|
FileGroupDescriptorW=application/x-java-file-list;class=java.util.List
|
||||||
|
FileGroupDescriptor=application/x-java-file-list;class=java.util.List
|
BIN
runtime/jre/lib/fontconfig.bfc
Normal file
302
runtime/jre/lib/fontconfig.properties.src
Normal file
@ -0,0 +1,302 @@
|
|||||||
|
#
|
||||||
|
#
|
||||||
|
# Copyright (c) 2003, 2018, 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. 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# Version
|
||||||
|
|
||||||
|
version=1
|
||||||
|
|
||||||
|
# Component Font Mappings
|
||||||
|
|
||||||
|
allfonts.chinese-ms936=SimSun
|
||||||
|
allfonts.chinese-ms936-extb=SimSun-ExtB
|
||||||
|
allfonts.chinese-gb18030=SimSun-18030
|
||||||
|
allfonts.chinese-gb18030-extb=SimSun-ExtB
|
||||||
|
allfonts.chinese-hkscs=MingLiU_HKSCS
|
||||||
|
allfonts.chinese-ms950-extb=MingLiU-ExtB
|
||||||
|
allfonts.devanagari=Mangal
|
||||||
|
allfonts.dingbats=Wingdings
|
||||||
|
allfonts.lucida=Lucida Sans Regular
|
||||||
|
allfonts.symbol=Symbol
|
||||||
|
allfonts.symbols=Segoe UI Symbol
|
||||||
|
allfonts.thai=Lucida Sans Regular
|
||||||
|
allfonts.georgian=Sylfaen
|
||||||
|
|
||||||
|
serif.plain.alphabetic=Times New Roman
|
||||||
|
serif.plain.chinese-ms950=MingLiU
|
||||||
|
serif.plain.chinese-ms950-extb=MingLiU-ExtB
|
||||||
|
serif.plain.hebrew=David
|
||||||
|
serif.plain.japanese=MS Mincho
|
||||||
|
serif.plain.korean=Batang
|
||||||
|
|
||||||
|
serif.bold.alphabetic=Times New Roman Bold
|
||||||
|
serif.bold.chinese-ms950=PMingLiU
|
||||||
|
serif.bold.chinese-ms950-extb=PMingLiU-ExtB
|
||||||
|
serif.bold.hebrew=David Bold
|
||||||
|
serif.bold.japanese=MS Mincho
|
||||||
|
serif.bold.korean=Batang
|
||||||
|
|
||||||
|
serif.italic.alphabetic=Times New Roman Italic
|
||||||
|
serif.italic.chinese-ms950=PMingLiU
|
||||||
|
serif.italic.chinese-ms950-extb=PMingLiU-ExtB
|
||||||
|
serif.italic.hebrew=David
|
||||||
|
serif.italic.japanese=MS Mincho
|
||||||
|
serif.italic.korean=Batang
|
||||||
|
|
||||||
|
serif.bolditalic.alphabetic=Times New Roman Bold Italic
|
||||||
|
serif.bolditalic.chinese-ms950=PMingLiU
|
||||||
|
serif.bolditalic.chinese-ms950-extb=PMingLiU-ExtB
|
||||||
|
serif.bolditalic.hebrew=David Bold
|
||||||
|
serif.bolditalic.japanese=MS Mincho
|
||||||
|
serif.bolditalic.korean=Batang
|
||||||
|
|
||||||
|
sansserif.plain.alphabetic=Arial
|
||||||
|
sansserif.plain.chinese-ms950=MingLiU
|
||||||
|
sansserif.plain.chinese-ms950-extb=MingLiU-ExtB
|
||||||
|
sansserif.plain.hebrew=David
|
||||||
|
sansserif.plain.japanese=MS Gothic
|
||||||
|
sansserif.plain.korean=Gulim
|
||||||
|
|
||||||
|
sansserif.bold.alphabetic=Arial Bold
|
||||||
|
sansserif.bold.chinese-ms950=PMingLiU
|
||||||
|
sansserif.bold.chinese-ms950-extb=PMingLiU-ExtB
|
||||||
|
sansserif.bold.hebrew=David Bold
|
||||||
|
sansserif.bold.japanese=MS Gothic
|
||||||
|
sansserif.bold.korean=Gulim
|
||||||
|
|
||||||
|
sansserif.italic.alphabetic=Arial Italic
|
||||||
|
sansserif.italic.chinese-ms950=PMingLiU
|
||||||
|
sansserif.italic.chinese-ms950-extb=PMingLiU-ExtB
|
||||||
|
sansserif.italic.hebrew=David
|
||||||
|
sansserif.italic.japanese=MS Gothic
|
||||||
|
sansserif.italic.korean=Gulim
|
||||||
|
|
||||||
|
sansserif.bolditalic.alphabetic=Arial Bold Italic
|
||||||
|
sansserif.bolditalic.chinese-ms950=PMingLiU
|
||||||
|
sansserif.bolditalic.chinese-ms950-extb=PMingLiU-ExtB
|
||||||
|
sansserif.bolditalic.hebrew=David Bold
|
||||||
|
sansserif.bolditalic.japanese=MS Gothic
|
||||||
|
sansserif.bolditalic.korean=Gulim
|
||||||
|
|
||||||
|
monospaced.plain.alphabetic=Courier New
|
||||||
|
monospaced.plain.chinese-ms950=MingLiU
|
||||||
|
monospaced.plain.chinese-ms950-extb=MingLiU-ExtB
|
||||||
|
monospaced.plain.hebrew=Courier New
|
||||||
|
monospaced.plain.japanese=MS Gothic
|
||||||
|
monospaced.plain.korean=GulimChe
|
||||||
|
|
||||||
|
monospaced.bold.alphabetic=Courier New Bold
|
||||||
|
monospaced.bold.chinese-ms950=PMingLiU
|
||||||
|
monospaced.bold.chinese-ms950-extb=PMingLiU-ExtB
|
||||||
|
monospaced.bold.hebrew=Courier New Bold
|
||||||
|
monospaced.bold.japanese=MS Gothic
|
||||||
|
monospaced.bold.korean=GulimChe
|
||||||
|
|
||||||
|
monospaced.italic.alphabetic=Courier New Italic
|
||||||
|
monospaced.italic.chinese-ms950=PMingLiU
|
||||||
|
monospaced.italic.chinese-ms950-extb=PMingLiU-ExtB
|
||||||
|
monospaced.italic.hebrew=Courier New
|
||||||
|
monospaced.italic.japanese=MS Gothic
|
||||||
|
monospaced.italic.korean=GulimChe
|
||||||
|
|
||||||
|
monospaced.bolditalic.alphabetic=Courier New Bold Italic
|
||||||
|
monospaced.bolditalic.chinese-ms950=PMingLiU
|
||||||
|
monospaced.bolditalic.chinese-ms950-extb=PMingLiU-ExtB
|
||||||
|
monospaced.bolditalic.hebrew=Courier New Bold
|
||||||
|
monospaced.bolditalic.japanese=MS Gothic
|
||||||
|
monospaced.bolditalic.korean=GulimChe
|
||||||
|
|
||||||
|
dialog.plain.alphabetic=Arial
|
||||||
|
dialog.plain.chinese-ms950=MingLiU
|
||||||
|
dialog.plain.chinese-ms950-extb=MingLiU-ExtB
|
||||||
|
dialog.plain.hebrew=David
|
||||||
|
dialog.plain.japanese=MS Gothic
|
||||||
|
dialog.plain.korean=Gulim
|
||||||
|
|
||||||
|
dialog.bold.alphabetic=Arial Bold
|
||||||
|
dialog.bold.chinese-ms950=PMingLiU
|
||||||
|
dialog.bold.chinese-ms950-extb=PMingLiU-ExtB
|
||||||
|
dialog.bold.hebrew=David Bold
|
||||||
|
dialog.bold.japanese=MS Gothic
|
||||||
|
dialog.bold.korean=Gulim
|
||||||
|
|
||||||
|
dialog.italic.alphabetic=Arial Italic
|
||||||
|
dialog.italic.chinese-ms950=PMingLiU
|
||||||
|
dialog.italic.chinese-ms950-extb=PMingLiU-ExtB
|
||||||
|
dialog.italic.hebrew=David
|
||||||
|
dialog.italic.japanese=MS Gothic
|
||||||
|
dialog.italic.korean=Gulim
|
||||||
|
|
||||||
|
dialog.bolditalic.alphabetic=Arial Bold Italic
|
||||||
|
dialog.bolditalic.chinese-ms950=PMingLiU
|
||||||
|
dialog.bolditalic.chinese-ms950-extb=PMingLiU-ExtB
|
||||||
|
dialog.bolditalic.hebrew=David Bold
|
||||||
|
dialog.bolditalic.japanese=MS Gothic
|
||||||
|
dialog.bolditalic.korean=Gulim
|
||||||
|
|
||||||
|
dialoginput.plain.alphabetic=Courier New
|
||||||
|
dialoginput.plain.chinese-ms950=MingLiU
|
||||||
|
dialoginput.plain.chinese-ms950-extb=MingLiU-ExtB
|
||||||
|
dialoginput.plain.hebrew=David
|
||||||
|
dialoginput.plain.japanese=MS Gothic
|
||||||
|
dialoginput.plain.korean=Gulim
|
||||||
|
|
||||||
|
dialoginput.bold.alphabetic=Courier New Bold
|
||||||
|
dialoginput.bold.chinese-ms950=PMingLiU
|
||||||
|
dialoginput.bold.chinese-ms950-extb=PMingLiU-ExtB
|
||||||
|
dialoginput.bold.hebrew=David Bold
|
||||||
|
dialoginput.bold.japanese=MS Gothic
|
||||||
|
dialoginput.bold.korean=Gulim
|
||||||
|
|
||||||
|
dialoginput.italic.alphabetic=Courier New Italic
|
||||||
|
dialoginput.italic.chinese-ms950=PMingLiU
|
||||||
|
dialoginput.italic.chinese-ms950-extb=PMingLiU-ExtB
|
||||||
|
dialoginput.italic.hebrew=David
|
||||||
|
dialoginput.italic.japanese=MS Gothic
|
||||||
|
dialoginput.italic.korean=Gulim
|
||||||
|
|
||||||
|
dialoginput.bolditalic.alphabetic=Courier New Bold Italic
|
||||||
|
dialoginput.bolditalic.chinese-ms950=PMingLiU
|
||||||
|
dialoginput.bolditalic.chinese-ms950-extb=PMingLiU-ExtB
|
||||||
|
dialoginput.bolditalic.hebrew=David Bold
|
||||||
|
dialoginput.bolditalic.japanese=MS Gothic
|
||||||
|
dialoginput.bolditalic.korean=Gulim
|
||||||
|
|
||||||
|
# Search Sequences
|
||||||
|
|
||||||
|
sequence.allfonts=alphabetic/default,dingbats,symbol
|
||||||
|
|
||||||
|
sequence.serif.GBK=alphabetic,chinese-ms936,dingbats,symbol,chinese-ms936-extb
|
||||||
|
sequence.sansserif.GBK=alphabetic,chinese-ms936,dingbats,symbol,chinese-ms936-extb
|
||||||
|
sequence.monospaced.GBK=chinese-ms936,alphabetic,dingbats,symbol,chinese-ms936-extb
|
||||||
|
sequence.dialog.GBK=alphabetic,chinese-ms936,dingbats,symbol,chinese-ms936-extb
|
||||||
|
sequence.dialoginput.GBK=alphabetic,chinese-ms936,dingbats,symbol,chinese-ms936-extb
|
||||||
|
|
||||||
|
sequence.serif.GB18030=alphabetic,chinese-gb18030,dingbats,symbol,chinese-gb18030-extb
|
||||||
|
sequence.sansserif.GB18030=alphabetic,chinese-gb18030,dingbats,symbol,chinese-gb18030-extb
|
||||||
|
sequence.monospaced.GB18030=chinese-gb18030,alphabetic,dingbats,symbol,chinese-gb18030-extb
|
||||||
|
sequence.dialog.GB18030=alphabetic,chinese-gb18030,dingbats,symbol,chinese-gb18030-extb
|
||||||
|
sequence.dialoginput.GB18030=alphabetic,chinese-gb18030,dingbats,symbol,chinese-gb18030-extb
|
||||||
|
|
||||||
|
sequence.serif.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol,chinese-ms950-extb
|
||||||
|
sequence.sansserif.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol,chinese-ms950-extb
|
||||||
|
sequence.monospaced.x-windows-950=chinese-ms950,alphabetic,dingbats,symbol,chinese-ms950-extb
|
||||||
|
sequence.dialog.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol,chinese-ms950-extb
|
||||||
|
sequence.dialoginput.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol,chinese-ms950-extb
|
||||||
|
|
||||||
|
sequence.serif.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol,chinese-ms950-extb
|
||||||
|
sequence.sansserif.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol,chinese-ms950-extb
|
||||||
|
sequence.monospaced.x-MS950-HKSCS=chinese-ms950,alphabetic,chinese-hkscs,dingbats,symbol,chinese-ms950-extb
|
||||||
|
sequence.dialog.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol,chinese-ms950-extb
|
||||||
|
sequence.dialoginput.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol,chinese-ms950-extb
|
||||||
|
|
||||||
|
sequence.serif.x-MS950-HKSCS-XP=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol,chinese-ms950-extb
|
||||||
|
sequence.sansserif.x-MS950-HKSCS-XP=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol,chinese-ms950-extb
|
||||||
|
sequence.monospaced.x-MS950-HKSCS-XP=chinese-ms950,alphabetic,chinese-hkscs,dingbats,symbol,chinese-ms950-extb
|
||||||
|
sequence.dialog.x-MS950-HKSCS-XP=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol,chinese-ms950-extb
|
||||||
|
sequence.dialoginput.x-MS950-HKSCS-XP=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol,chinese-ms950-extb
|
||||||
|
|
||||||
|
sequence.allfonts.UTF-8.hi=alphabetic/1252,devanagari,dingbats,symbol
|
||||||
|
sequence.allfonts.UTF-8.ja=alphabetic,japanese,devanagari,dingbats,symbol
|
||||||
|
|
||||||
|
sequence.allfonts.windows-1255=hebrew,alphabetic/1252,dingbats,symbol
|
||||||
|
|
||||||
|
sequence.serif.windows-31j=alphabetic,japanese,dingbats,symbol
|
||||||
|
sequence.sansserif.windows-31j=alphabetic,japanese,dingbats,symbol
|
||||||
|
sequence.monospaced.windows-31j=japanese,alphabetic,dingbats,symbol
|
||||||
|
sequence.dialog.windows-31j=alphabetic,japanese,dingbats,symbol
|
||||||
|
sequence.dialoginput.windows-31j=alphabetic,japanese,dingbats,symbol
|
||||||
|
|
||||||
|
sequence.serif.x-windows-949=alphabetic,korean,dingbats,symbol
|
||||||
|
sequence.sansserif.x-windows-949=alphabetic,korean,dingbats,symbol
|
||||||
|
sequence.monospaced.x-windows-949=korean,alphabetic,dingbats,symbol
|
||||||
|
sequence.dialog.x-windows-949=alphabetic,korean,dingbats,symbol
|
||||||
|
sequence.dialoginput.x-windows-949=alphabetic,korean,dingbats,symbol
|
||||||
|
|
||||||
|
sequence.allfonts.x-windows-874=alphabetic,thai,dingbats,symbol
|
||||||
|
|
||||||
|
sequence.fallback=lucida,symbols,\
|
||||||
|
chinese-ms950,chinese-hkscs,chinese-ms936,chinese-gb18030,\
|
||||||
|
japanese,korean,chinese-ms950-extb,chinese-ms936-extb,georgian
|
||||||
|
|
||||||
|
# Exclusion Ranges
|
||||||
|
|
||||||
|
exclusion.alphabetic=0700-1cff,1d80-1e9f,1f00-2017,2020-20ab,20ad-f8ff
|
||||||
|
exclusion.chinese-gb18030=0390-03d6,2200-22ef,2701-27be
|
||||||
|
exclusion.hebrew=0041-005a,0060-007a,007f-00ff,20ac-20ac
|
||||||
|
|
||||||
|
# Monospaced to Proportional width variant mapping
|
||||||
|
# (Experimental private syntax)
|
||||||
|
proportional.MS_Gothic=MS PGothic
|
||||||
|
proportional.MS_Mincho=MS PMincho
|
||||||
|
proportional.MingLiU=PMingLiU
|
||||||
|
proportional.MingLiU-ExtB=PMingLiU-ExtB
|
||||||
|
|
||||||
|
# Font File Names
|
||||||
|
|
||||||
|
filename.Arial=ARIAL.TTF
|
||||||
|
filename.Arial_Bold=ARIALBD.TTF
|
||||||
|
filename.Arial_Italic=ARIALI.TTF
|
||||||
|
filename.Arial_Bold_Italic=ARIALBI.TTF
|
||||||
|
|
||||||
|
filename.Courier_New=COUR.TTF
|
||||||
|
filename.Courier_New_Bold=COURBD.TTF
|
||||||
|
filename.Courier_New_Italic=COURI.TTF
|
||||||
|
filename.Courier_New_Bold_Italic=COURBI.TTF
|
||||||
|
|
||||||
|
filename.Times_New_Roman=TIMES.TTF
|
||||||
|
filename.Times_New_Roman_Bold=TIMESBD.TTF
|
||||||
|
filename.Times_New_Roman_Italic=TIMESI.TTF
|
||||||
|
filename.Times_New_Roman_Bold_Italic=TIMESBI.TTF
|
||||||
|
|
||||||
|
filename.SimSun=SIMSUN.TTC
|
||||||
|
filename.SimSun-18030=SIMSUN18030.TTC
|
||||||
|
filename.SimSun-ExtB=SIMSUNB.TTF
|
||||||
|
|
||||||
|
filename.MingLiU=MINGLIU.TTC
|
||||||
|
filename.MingLiU-ExtB=MINGLIUB.TTC
|
||||||
|
filename.PMingLiU=MINGLIU.TTC
|
||||||
|
filename.PMingLiU-ExtB=MINGLIUB.TTC
|
||||||
|
filename.MingLiU_HKSCS=hkscsm3u.ttf
|
||||||
|
|
||||||
|
filename.David=DAVID.TTF
|
||||||
|
filename.David_Bold=DAVIDBD.TTF
|
||||||
|
|
||||||
|
filename.MS_Mincho=MSMINCHO.TTC
|
||||||
|
filename.MS_PMincho=MSMINCHO.TTC
|
||||||
|
filename.MS_Gothic=MSGOTHIC.TTC
|
||||||
|
filename.MS_PGothic=MSGOTHIC.TTC
|
||||||
|
|
||||||
|
filename.Gulim=gulim.TTC
|
||||||
|
filename.Batang=batang.TTC
|
||||||
|
filename.GulimChe=gulim.TTC
|
||||||
|
|
||||||
|
filename.Lucida_Sans_Regular=LucidaSansRegular.ttf
|
||||||
|
filename.Mangal=MANGAL.TTF
|
||||||
|
filename.Symbol=SYMBOL.TTF
|
||||||
|
filename.Wingdings=WINGDING.TTF
|
||||||
|
|
||||||
|
filename.Sylfaen=sylfaen.ttf
|
||||||
|
filename.Segoe_UI_Symbol=SEGUISYM.TTF
|
369
runtime/jre/lib/hijrah-config-umalqura.properties
Normal file
@ -0,0 +1,369 @@
|
|||||||
|
# Copyright (c) 2013, 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. 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 properties file defines a Hijrah calendar variant.
|
||||||
|
#
|
||||||
|
# Fields:
|
||||||
|
#
|
||||||
|
# <version> ::= 'version' '=' <version string>
|
||||||
|
# <id> ::= 'id' '=' <id string>
|
||||||
|
# <type> ::= 'type' '=' <type string>
|
||||||
|
# <iso-start> ::= 'iso-start' '=' <start date in the ISO calendar>
|
||||||
|
# <year> ::= <yyyy> '=' <nn nn nn nn nn nn nn nn nn nn nn nn>
|
||||||
|
#
|
||||||
|
# version ... (Required)
|
||||||
|
#
|
||||||
|
# id ... (Required)
|
||||||
|
# Identifies the Java Chronology
|
||||||
|
#
|
||||||
|
# type ... (Required)
|
||||||
|
# Identifies the type of calendar in the standard calendar ID scheme
|
||||||
|
# iso-start ... (Required)
|
||||||
|
# Specifies the corresponding ISO date to the first Hijrah day
|
||||||
|
# in the defined range of dates
|
||||||
|
#
|
||||||
|
# year ... (Required)
|
||||||
|
# Number of days for each month of a Hijrah year
|
||||||
|
# * Each line defines a year. The years must be in chronological
|
||||||
|
# order and no gap is allowed.
|
||||||
|
# * Each line is in the form indicated above. <yyyy> is a Hijrah year and
|
||||||
|
# nn is the number of days for a month listed in the order of the months.
|
||||||
|
# * Each year must have 12 months.
|
||||||
|
# * Each month should be 29 or 30 days long.
|
||||||
|
# * There must be one or more space characters between the months.
|
||||||
|
#
|
||||||
|
|
||||||
|
# Version of this definition
|
||||||
|
version=1.8.0_1
|
||||||
|
|
||||||
|
# Java chronology ID
|
||||||
|
id=Hijrah-umalqura
|
||||||
|
|
||||||
|
# Standard calendar type specification
|
||||||
|
type=islamic-umalqura
|
||||||
|
|
||||||
|
# defines the corresponding ISO date to the earliest Hijrah date
|
||||||
|
iso-start=1882-11-12
|
||||||
|
|
||||||
|
# 1 2 3 4 5 6 7 8 9 10 11 12
|
||||||
|
1300=30 29 30 29 30 29 30 29 30 29 30 29
|
||||||
|
1301=30 30 29 30 29 30 29 30 29 30 29 29
|
||||||
|
1302=30 30 30 29 30 30 29 29 30 29 29 30
|
||||||
|
1303=29 30 30 29 30 30 29 30 29 30 29 29
|
||||||
|
1304=29 30 30 29 30 30 30 29 30 29 30 29
|
||||||
|
1305=29 29 30 30 29 30 30 29 30 30 29 29
|
||||||
|
1306=30 29 30 29 30 29 30 29 30 30 29 30
|
||||||
|
1307=29 30 29 30 29 30 29 30 29 30 29 30
|
||||||
|
1308=29 30 30 29 30 29 30 29 30 29 29 30
|
||||||
|
1309=29 30 30 30 30 29 29 30 29 29 30 29
|
||||||
|
1310=30 29 30 30 30 29 30 29 30 29 29 30
|
||||||
|
1311=29 30 29 30 30 30 29 30 29 30 29 29
|
||||||
|
1312=30 29 30 29 30 30 29 30 30 29 30 29
|
||||||
|
1313=29 30 29 30 29 30 29 30 30 30 29 29
|
||||||
|
1314=30 30 29 30 29 29 30 29 30 30 29 30
|
||||||
|
1315=29 30 30 29 30 29 29 30 29 30 29 30
|
||||||
|
1316=29 30 30 30 29 30 29 29 30 29 30 29
|
||||||
|
1317=30 29 30 30 29 30 29 30 29 30 29 29
|
||||||
|
1318=30 29 30 30 29 30 30 29 30 29 30 29
|
||||||
|
1319=29 30 29 30 30 29 30 29 30 30 29 30
|
||||||
|
1320=29 30 29 29 30 29 30 29 30 30 30 29
|
||||||
|
1321=30 29 30 29 29 30 29 29 30 30 30 30
|
||||||
|
1322=29 30 29 30 29 29 29 30 29 30 30 30
|
||||||
|
1323=29 30 30 29 30 29 29 29 30 29 30 30
|
||||||
|
1324=29 30 30 29 30 29 30 29 29 30 29 30
|
||||||
|
1325=30 29 30 29 30 30 29 30 29 30 29 30
|
||||||
|
1326=29 29 30 29 30 30 29 30 29 30 30 29
|
||||||
|
1327=30 29 29 30 29 30 29 30 30 29 30 30
|
||||||
|
1328=29 30 29 29 30 29 29 30 30 30 29 30
|
||||||
|
1329=30 29 30 29 29 30 29 29 30 30 29 30
|
||||||
|
1330=30 30 29 30 29 29 30 29 29 30 30 29
|
||||||
|
1331=30 30 29 30 30 29 29 30 29 30 29 30
|
||||||
|
1332=29 30 29 30 30 29 30 29 30 30 29 29
|
||||||
|
1333=30 29 29 30 30 29 30 30 29 30 30 29
|
||||||
|
1334=29 29 30 29 30 29 30 30 30 29 30 29
|
||||||
|
1335=30 29 30 29 29 30 29 30 30 29 30 30
|
||||||
|
1336=29 30 29 30 29 29 30 29 30 29 30 30
|
||||||
|
1337=30 29 30 29 30 29 29 30 29 30 29 30
|
||||||
|
1338=29 30 30 29 30 30 29 29 30 29 30 29
|
||||||
|
1339=30 29 30 29 30 30 30 29 30 29 29 30
|
||||||
|
1340=29 29 30 29 30 30 30 30 29 30 29 29
|
||||||
|
1341=30 29 29 30 29 30 30 30 29 30 30 29
|
||||||
|
1342=29 29 30 29 30 29 30 30 29 30 30 29
|
||||||
|
1343=30 29 29 30 29 30 29 30 29 30 30 29
|
||||||
|
1344=30 29 30 29 30 30 29 29 30 29 30 29
|
||||||
|
1345=30 29 30 30 30 29 30 29 29 30 29 29
|
||||||
|
1346=30 29 30 30 30 30 29 30 29 29 30 29
|
||||||
|
1347=29 30 29 30 30 30 29 30 30 29 29 30
|
||||||
|
1348=29 29 30 29 30 30 29 30 30 30 29 29
|
||||||
|
1349=30 29 29 30 29 30 30 29 30 30 29 30
|
||||||
|
1350=29 30 29 30 29 30 29 29 30 30 29 30
|
||||||
|
1351=30 29 30 29 30 29 30 29 29 30 29 30
|
||||||
|
1352=30 29 30 30 29 30 29 30 29 29 30 29
|
||||||
|
1353=30 29 30 30 30 29 30 29 29 30 29 30
|
||||||
|
1354=29 30 29 30 30 29 30 30 29 30 29 29
|
||||||
|
1355=30 29 29 30 30 29 30 30 29 30 30 29
|
||||||
|
1356=29 30 29 30 29 30 29 30 29 30 30 30
|
||||||
|
1357=29 29 30 29 30 29 29 30 29 30 30 30
|
||||||
|
1358=29 30 29 30 29 30 29 29 30 29 30 30
|
||||||
|
1359=29 30 30 29 30 29 30 29 29 29 30 30
|
||||||
|
1360=29 30 30 30 29 30 29 30 29 29 30 29
|
||||||
|
1361=30 29 30 30 29 30 30 29 29 30 29 30
|
||||||
|
1362=29 30 29 30 29 30 30 29 30 29 30 29
|
||||||
|
1363=30 29 30 29 30 29 30 29 30 29 30 30
|
||||||
|
1364=29 30 29 30 29 29 30 29 30 29 30 30
|
||||||
|
1365=30 30 29 29 30 29 29 30 29 30 29 30
|
||||||
|
1366=30 30 29 30 29 30 29 29 30 29 30 29
|
||||||
|
1367=30 30 29 30 30 29 30 29 29 30 29 30
|
||||||
|
1368=29 30 29 30 30 30 29 29 30 29 30 29
|
||||||
|
1369=30 29 30 29 30 30 29 30 29 30 30 29
|
||||||
|
1370=30 29 29 30 29 30 29 30 29 30 30 30
|
||||||
|
1371=29 30 29 29 30 29 30 29 30 29 30 30
|
||||||
|
1372=30 29 29 30 29 30 29 29 30 29 30 30
|
||||||
|
1373=30 29 30 29 30 29 30 29 29 30 29 30
|
||||||
|
1374=30 29 30 30 29 30 29 30 29 29 30 29
|
||||||
|
1375=30 29 30 30 29 30 30 29 30 29 30 29
|
||||||
|
1376=29 30 29 30 29 30 30 30 29 30 29 30
|
||||||
|
1377=29 29 30 29 29 30 30 30 29 30 30 29
|
||||||
|
1378=30 29 29 29 30 29 30 30 29 30 30 30
|
||||||
|
1379=29 30 29 29 29 30 29 30 30 29 30 30
|
||||||
|
1380=29 30 29 30 29 30 29 30 29 30 29 30
|
||||||
|
1381=29 30 29 30 30 29 30 29 30 29 29 30
|
||||||
|
1382=29 30 29 30 30 29 30 30 29 30 29 29
|
||||||
|
1383=30 29 29 30 30 30 29 30 30 29 30 29
|
||||||
|
1384=29 30 29 29 30 30 29 30 30 30 29 30
|
||||||
|
1385=29 29 30 29 29 30 30 29 30 30 30 29
|
||||||
|
1386=30 29 29 30 29 29 30 30 29 30 30 29
|
||||||
|
1387=30 29 30 29 30 29 30 29 30 29 30 29
|
||||||
|
1388=30 30 29 30 29 30 29 30 29 30 29 29
|
||||||
|
1389=30 30 29 30 30 29 30 30 29 29 30 29
|
||||||
|
1390=29 30 29 30 30 30 29 30 29 30 29 30
|
||||||
|
1391=29 29 30 29 30 30 29 30 30 29 30 29
|
||||||
|
1392=30 29 29 30 29 30 29 30 30 29 30 30
|
||||||
|
1393=29 30 29 29 30 29 30 29 30 29 30 30
|
||||||
|
1394=30 29 30 29 29 30 29 30 29 30 29 30
|
||||||
|
1395=30 29 30 30 29 30 29 29 30 29 29 30
|
||||||
|
1396=30 29 30 30 29 30 30 29 29 30 29 29
|
||||||
|
1397=30 29 30 30 29 30 30 30 29 29 29 30
|
||||||
|
1398=29 30 29 30 30 29 30 30 29 30 29 29
|
||||||
|
1399=30 29 30 29 30 29 30 30 29 30 29 30
|
||||||
|
1400=30 29 30 29 29 30 29 30 29 30 29 30
|
||||||
|
1401=30 30 29 30 29 29 30 29 29 30 29 30
|
||||||
|
1402=30 30 30 29 30 29 29 30 29 29 30 29
|
||||||
|
1403=30 30 30 29 30 30 29 29 30 29 29 30
|
||||||
|
1404=29 30 30 29 30 30 29 30 29 30 29 29
|
||||||
|
1405=30 29 30 29 30 30 30 29 30 29 29 30
|
||||||
|
1406=30 29 29 30 29 30 30 29 30 29 30 30
|
||||||
|
1407=29 30 29 29 30 29 30 29 30 29 30 30
|
||||||
|
1408=30 29 30 29 30 29 29 30 29 29 30 30
|
||||||
|
1409=30 30 29 30 29 30 29 29 30 29 29 30
|
||||||
|
1410=30 30 29 30 30 29 30 29 29 30 29 29
|
||||||
|
1411=30 30 29 30 30 29 30 30 29 29 30 29
|
||||||
|
1412=30 29 30 29 30 29 30 30 30 29 29 30
|
||||||
|
1413=29 30 29 29 30 29 30 30 30 29 30 29
|
||||||
|
1414=30 29 30 29 29 30 29 30 30 29 30 30
|
||||||
|
1415=29 30 29 30 29 29 30 29 30 29 30 30
|
||||||
|
1416=30 29 30 29 30 29 29 30 29 30 29 30
|
||||||
|
1417=30 29 30 30 29 29 30 29 30 29 30 29
|
||||||
|
1418=30 29 30 30 29 30 29 30 29 30 29 30
|
||||||
|
1419=29 30 29 30 29 30 29 30 30 30 29 29
|
||||||
|
1420=29 30 29 29 30 29 30 30 30 30 29 30
|
||||||
|
1421=29 29 30 29 29 29 30 30 30 30 29 30
|
||||||
|
1422=30 29 29 30 29 29 29 30 30 30 29 30
|
||||||
|
1423=30 29 30 29 30 29 29 30 29 30 29 30
|
||||||
|
1424=30 29 30 30 29 30 29 29 30 29 30 29
|
||||||
|
1425=30 29 30 30 29 30 29 30 30 29 30 29
|
||||||
|
1426=29 30 29 30 29 30 30 29 30 30 29 30
|
||||||
|
1427=29 29 30 29 30 29 30 30 29 30 30 29
|
||||||
|
1428=30 29 29 30 29 29 30 30 30 29 30 30
|
||||||
|
1429=29 30 29 29 30 29 29 30 30 29 30 30
|
||||||
|
1430=29 30 30 29 29 30 29 30 29 30 29 30
|
||||||
|
1431=29 30 30 29 30 29 30 29 30 29 29 30
|
||||||
|
1432=29 30 30 30 29 30 29 30 29 30 29 29
|
||||||
|
1433=30 29 30 30 29 30 30 29 30 29 30 29
|
||||||
|
1434=29 30 29 30 29 30 30 29 30 30 29 29
|
||||||
|
1435=30 29 30 29 30 29 30 29 30 30 29 30
|
||||||
|
1436=29 30 29 30 29 30 29 30 29 30 29 30
|
||||||
|
1437=30 29 30 30 29 29 30 29 30 29 29 30
|
||||||
|
1438=30 29 30 30 30 29 29 30 29 29 30 29
|
||||||
|
1439=30 29 30 30 30 29 30 29 30 29 29 30
|
||||||
|
1440=29 30 29 30 30 30 29 30 29 30 29 29
|
||||||
|
1441=30 29 30 29 30 30 29 30 30 29 30 29
|
||||||
|
1442=29 30 29 30 29 30 29 30 30 29 30 29
|
||||||
|
1443=30 29 30 29 30 29 30 29 30 29 30 30
|
||||||
|
1444=29 30 29 30 30 29 29 30 29 30 29 30
|
||||||
|
1445=29 30 30 30 29 30 29 29 30 29 29 30
|
||||||
|
1446=29 30 30 30 29 30 30 29 29 30 29 29
|
||||||
|
1447=30 29 30 30 30 29 30 29 30 29 30 29
|
||||||
|
1448=29 30 29 30 30 29 30 30 29 30 29 30
|
||||||
|
1449=29 29 30 29 30 29 30 30 29 30 30 29
|
||||||
|
1450=30 29 30 29 29 30 29 30 29 30 30 29
|
||||||
|
1451=30 30 30 29 29 30 29 29 30 30 29 30
|
||||||
|
1452=30 29 30 30 29 29 30 29 29 30 29 30
|
||||||
|
1453=30 29 30 30 29 30 29 30 29 29 30 29
|
||||||
|
1454=30 29 30 30 29 30 30 29 30 29 30 29
|
||||||
|
1455=29 30 29 30 30 29 30 29 30 30 29 30
|
||||||
|
1456=29 29 30 29 30 29 30 29 30 30 30 29
|
||||||
|
1457=30 29 29 30 29 29 30 29 30 30 30 30
|
||||||
|
1458=29 30 29 29 30 29 29 30 29 30 30 30
|
||||||
|
1459=29 30 30 29 29 30 29 29 30 29 30 30
|
||||||
|
1460=29 30 30 29 30 29 30 29 29 30 29 30
|
||||||
|
1461=29 30 30 29 30 29 30 29 30 30 29 29
|
||||||
|
1462=30 29 30 29 30 30 29 30 29 30 30 29
|
||||||
|
1463=29 30 29 30 29 30 29 30 30 30 29 30
|
||||||
|
1464=29 30 29 29 30 29 29 30 30 30 29 30
|
||||||
|
1465=30 29 30 29 29 30 29 29 30 30 29 30
|
||||||
|
1466=30 30 29 30 29 29 29 30 29 30 30 29
|
||||||
|
1467=30 30 29 30 30 29 29 30 29 30 29 30
|
||||||
|
1468=29 30 29 30 30 29 30 29 30 29 30 29
|
||||||
|
1469=29 30 29 30 30 29 30 30 29 30 29 30
|
||||||
|
1470=29 29 30 29 30 30 29 30 30 29 30 29
|
||||||
|
1471=30 29 29 30 29 30 29 30 30 29 30 30
|
||||||
|
1472=29 30 29 29 30 29 30 29 30 30 29 30
|
||||||
|
1473=29 30 29 30 30 29 29 30 29 30 29 30
|
||||||
|
1474=29 30 30 29 30 30 29 29 30 29 30 29
|
||||||
|
1475=29 30 30 29 30 30 30 29 29 30 29 29
|
||||||
|
1476=30 29 30 29 30 30 30 29 30 29 30 29
|
||||||
|
1477=29 30 29 29 30 30 30 30 29 30 29 30
|
||||||
|
1478=29 29 30 29 30 29 30 30 29 30 30 29
|
||||||
|
1479=30 29 29 30 29 30 29 30 29 30 30 29
|
||||||
|
1480=30 29 30 29 30 29 30 29 30 29 30 29
|
||||||
|
1481=30 29 30 30 29 30 29 30 29 30 29 29
|
||||||
|
1482=30 29 30 30 30 30 29 30 29 29 30 29
|
||||||
|
1483=29 30 29 30 30 30 29 30 30 29 29 30
|
||||||
|
1484=29 29 30 29 30 30 30 29 30 29 30 29
|
||||||
|
1485=30 29 29 30 29 30 30 29 30 30 29 30
|
||||||
|
1486=29 30 29 29 30 29 30 29 30 30 29 30
|
||||||
|
1487=30 29 30 29 30 29 29 30 29 30 29 30
|
||||||
|
1488=30 29 30 30 29 30 29 29 30 29 30 29
|
||||||
|
1489=30 29 30 30 30 29 30 29 29 30 29 30
|
||||||
|
1490=29 30 29 30 30 29 30 30 29 29 30 29
|
||||||
|
1491=30 29 29 30 30 29 30 30 29 30 29 30
|
||||||
|
1492=29 30 29 29 30 30 29 30 29 30 30 29
|
||||||
|
1493=30 29 30 29 30 29 29 30 29 30 30 30
|
||||||
|
1494=29 30 29 30 29 30 29 29 29 30 30 30
|
||||||
|
1495=29 30 30 29 30 29 29 30 29 29 30 30
|
||||||
|
1496=29 30 30 30 29 30 29 29 30 29 29 30
|
||||||
|
1497=30 29 30 30 29 30 29 30 29 30 29 30
|
||||||
|
1498=29 30 29 30 29 30 30 29 30 29 30 29
|
||||||
|
1499=30 29 30 29 29 30 30 29 30 29 30 30
|
||||||
|
1500=29 30 29 30 29 29 30 29 30 29 30 30
|
||||||
|
1501=30 29 30 29 30 29 29 29 30 29 30 30
|
||||||
|
1502=30 30 29 30 29 30 29 29 29 30 30 29
|
||||||
|
1503=30 30 29 30 30 29 30 29 29 29 30 30
|
||||||
|
1504=29 30 29 30 30 30 29 29 30 29 30 29
|
||||||
|
1505=30 29 30 29 30 30 29 30 29 30 30 29
|
||||||
|
1506=29 30 29 29 30 30 29 30 30 29 30 30
|
||||||
|
1507=29 29 30 29 29 30 30 29 30 29 30 30
|
||||||
|
1508=30 29 29 30 29 30 29 29 30 29 30 30
|
||||||
|
1509=30 29 30 29 30 29 30 29 29 30 29 30
|
||||||
|
1510=30 29 30 30 29 30 29 30 29 29 30 29
|
||||||
|
1511=30 29 30 30 29 30 30 29 30 29 29 30
|
||||||
|
1512=29 30 29 30 29 30 30 30 29 30 29 30
|
||||||
|
1513=29 29 29 30 29 30 30 30 29 30 30 29
|
||||||
|
1514=30 29 29 29 30 29 30 30 29 30 30 30
|
||||||
|
1515=29 29 30 29 29 30 29 30 30 29 30 30
|
||||||
|
1516=29 30 29 30 29 29 30 29 30 29 30 30
|
||||||
|
1517=29 30 29 30 29 30 30 29 29 30 29 30
|
||||||
|
1518=29 30 29 30 30 29 30 30 29 30 29 29
|
||||||
|
1519=30 29 29 30 30 30 29 30 30 29 30 29
|
||||||
|
1520=29 30 29 29 30 30 30 29 30 30 29 30
|
||||||
|
1521=29 29 29 30 29 30 30 29 30 30 29 30
|
||||||
|
1522=30 29 29 29 30 29 30 30 29 30 30 29
|
||||||
|
1523=30 29 30 29 30 29 30 29 29 30 30 29
|
||||||
|
1524=30 30 29 30 29 30 29 30 29 29 30 29
|
||||||
|
1525=30 30 29 30 30 29 30 29 30 29 29 30
|
||||||
|
1526=29 30 29 30 30 30 29 30 29 30 29 29
|
||||||
|
1527=30 29 30 29 30 30 29 30 30 29 30 29
|
||||||
|
1528=30 29 29 30 29 30 29 30 30 29 30 30
|
||||||
|
1529=29 30 29 29 30 29 30 29 30 29 30 30
|
||||||
|
1530=29 30 30 29 29 30 29 30 29 29 30 30
|
||||||
|
1531=29 30 30 30 29 29 30 29 30 29 29 30
|
||||||
|
1532=29 30 30 30 29 30 30 29 29 29 30 29
|
||||||
|
1533=30 29 30 30 30 29 30 29 30 29 29 30
|
||||||
|
1534=29 30 29 30 30 29 30 30 29 29 30 29
|
||||||
|
1535=30 29 30 29 30 29 30 30 29 30 29 30
|
||||||
|
1536=29 30 29 30 29 30 29 30 29 30 29 30
|
||||||
|
1537=30 29 30 30 29 29 30 29 29 30 29 30
|
||||||
|
1538=30 30 29 30 30 29 29 30 29 29 30 29
|
||||||
|
1539=30 30 30 29 30 30 29 29 30 29 29 30
|
||||||
|
1540=29 30 30 29 30 30 29 30 29 29 30 29
|
||||||
|
1541=30 29 30 29 30 30 30 29 30 29 29 30
|
||||||
|
1542=29 30 29 30 29 30 30 29 30 29 30 30
|
||||||
|
1543=29 30 29 29 30 29 30 29 30 29 30 30
|
||||||
|
1544=30 29 30 29 29 30 29 30 29 30 29 30
|
||||||
|
1545=30 30 29 30 29 29 30 29 30 29 29 30
|
||||||
|
1546=30 30 29 30 29 30 29 30 29 30 29 29
|
||||||
|
1547=30 30 29 30 30 29 30 29 30 29 30 29
|
||||||
|
1548=30 29 29 30 30 29 30 30 29 30 29 30
|
||||||
|
1549=29 30 29 29 30 29 30 30 30 29 30 29
|
||||||
|
1550=30 29 30 29 29 29 30 30 30 29 30 30
|
||||||
|
1551=29 30 29 29 30 29 29 30 30 29 30 30
|
||||||
|
1552=30 29 30 29 29 30 29 29 30 30 29 30
|
||||||
|
1553=30 29 30 29 30 29 30 29 30 29 30 29
|
||||||
|
1554=30 29 30 29 30 30 29 30 29 30 29 30
|
||||||
|
1555=29 29 30 29 30 30 29 30 30 29 30 29
|
||||||
|
1556=30 29 29 30 29 30 29 30 30 30 29 30
|
||||||
|
1557=29 30 29 29 29 30 29 30 30 30 30 29
|
||||||
|
1558=30 29 30 29 29 29 30 29 30 30 30 29
|
||||||
|
1559=30 30 29 29 30 29 29 30 30 29 30 29
|
||||||
|
1560=30 30 29 30 29 30 29 30 29 30 29 30
|
||||||
|
1561=29 30 30 29 30 29 30 30 29 29 30 29
|
||||||
|
1562=29 30 30 29 30 29 30 30 30 29 29 30
|
||||||
|
1563=29 30 29 29 30 29 30 30 30 29 30 29
|
||||||
|
1564=30 29 30 29 29 30 29 30 30 30 29 30
|
||||||
|
1565=29 30 29 30 29 29 30 29 30 30 29 30
|
||||||
|
1566=30 29 30 29 30 29 29 30 29 30 29 30
|
||||||
|
1567=30 29 30 30 29 30 29 30 29 29 30 29
|
||||||
|
1568=30 29 30 30 30 29 30 29 30 29 29 29
|
||||||
|
1569=30 29 30 30 30 29 30 30 29 30 29 29
|
||||||
|
1570=29 30 29 30 30 29 30 30 30 29 29 30
|
||||||
|
1571=29 29 30 29 30 30 29 30 30 29 30 29
|
||||||
|
1572=30 29 29 30 29 30 29 30 30 29 30 29
|
||||||
|
1573=30 29 30 30 29 30 29 29 30 29 30 29
|
||||||
|
1574=30 30 29 30 30 29 30 29 29 30 29 29
|
||||||
|
1575=30 30 30 29 30 30 29 30 29 29 29 30
|
||||||
|
1576=29 30 30 29 30 30 30 29 30 29 29 29
|
||||||
|
1577=30 29 30 30 29 30 30 29 30 29 30 29
|
||||||
|
1578=29 30 29 30 29 30 30 29 30 30 29 30
|
||||||
|
1579=29 30 29 30 29 29 30 30 29 30 29 30
|
||||||
|
1580=29 30 30 29 30 29 29 30 29 30 29 30
|
||||||
|
1581=30 30 29 30 29 30 29 29 30 29 30 29
|
||||||
|
1582=30 30 29 30 30 29 30 29 30 29 29 29
|
||||||
|
1583=30 30 29 30 30 30 29 30 29 30 29 29
|
||||||
|
1584=29 30 30 29 30 30 29 30 30 29 30 29
|
||||||
|
1585=29 30 29 30 29 30 29 30 30 29 30 30
|
||||||
|
1586=29 29 30 29 30 29 29 30 30 30 29 30
|
||||||
|
1587=29 30 30 29 29 29 30 29 30 29 30 30
|
||||||
|
1588=30 29 30 30 29 29 29 30 29 30 29 30
|
||||||
|
1589=30 29 30 30 29 30 29 29 30 29 30 29
|
||||||
|
1590=30 29 30 30 30 29 29 30 29 30 29 30
|
||||||
|
1591=29 30 29 30 30 29 30 29 30 29 30 29
|
||||||
|
1592=30 29 30 29 30 29 30 29 30 30 30 29
|
||||||
|
1593=30 29 29 30 29 29 30 29 30 30 30 29
|
||||||
|
1594=30 30 29 29 30 29 29 29 30 30 30 30
|
||||||
|
1595=29 30 29 30 29 29 30 29 29 30 30 30
|
||||||
|
1596=29 30 30 29 30 29 29 30 29 30 29 30
|
||||||
|
1597=29 30 30 29 30 29 30 29 30 29 30 29
|
||||||
|
1598=30 29 30 29 30 30 29 30 29 30 30 29
|
||||||
|
1599=29 30 29 30 29 30 29 30 30 30 29 30
|
||||||
|
1600=29 29 30 29 30 29 29 30 30 30 29 30
|
40
runtime/jre/lib/images/cursors/cursors.properties
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
#
|
||||||
|
#
|
||||||
|
# Cursors Properties file
|
||||||
|
#
|
||||||
|
# Names GIF89 sources for Custom Cursors and their associated HotSpots
|
||||||
|
#
|
||||||
|
# Note: the syntax of the property name is significant and is parsed
|
||||||
|
# by java.awt.Cursor
|
||||||
|
#
|
||||||
|
# The syntax is: Cursor.<name>.<geom>.File=win32_<filename>
|
||||||
|
# Cursor.<name>.<geom>.HotSpot=<x>,<y>
|
||||||
|
# Cursor.<name>.<geom>.Name=<localized name>
|
||||||
|
#
|
||||||
|
Cursor.CopyDrop.32x32.File=win32_CopyDrop32x32.gif
|
||||||
|
Cursor.CopyDrop.32x32.HotSpot=0,0
|
||||||
|
Cursor.CopyDrop.32x32.Name=CopyDrop32x32
|
||||||
|
#
|
||||||
|
Cursor.MoveDrop.32x32.File=win32_MoveDrop32x32.gif
|
||||||
|
Cursor.MoveDrop.32x32.HotSpot=0,0
|
||||||
|
Cursor.MoveDrop.32x32.Name=MoveDrop32x32
|
||||||
|
#
|
||||||
|
Cursor.LinkDrop.32x32.File=win32_LinkDrop32x32.gif
|
||||||
|
Cursor.LinkDrop.32x32.HotSpot=0,0
|
||||||
|
Cursor.LinkDrop.32x32.Name=LinkDrop32x32
|
||||||
|
#
|
||||||
|
Cursor.CopyNoDrop.32x32.File=win32_CopyNoDrop32x32.gif
|
||||||
|
Cursor.CopyNoDrop.32x32.HotSpot=6,2
|
||||||
|
Cursor.CopyNoDrop.32x32.Name=CopyNoDrop32x32
|
||||||
|
#
|
||||||
|
Cursor.MoveNoDrop.32x32.File=win32_MoveNoDrop32x32.gif
|
||||||
|
Cursor.MoveNoDrop.32x32.HotSpot=6,2
|
||||||
|
Cursor.MoveNoDrop.32x32.Name=MoveNoDrop32x32
|
||||||
|
#
|
||||||
|
Cursor.LinkNoDrop.32x32.File=win32_LinkNoDrop32x32.gif
|
||||||
|
Cursor.LinkNoDrop.32x32.HotSpot=6,2
|
||||||
|
Cursor.LinkNoDrop.32x32.Name=LinkNoDrop32x32
|
||||||
|
#
|
||||||
|
Cursor.Invalid.32x32.File=invalid32x32.gif
|
||||||
|
Cursor.Invalid.32x32.HotSpot=6,2
|
||||||
|
Cursor.Invalid.32x32.Name=Invalid32x32
|
BIN
runtime/jre/lib/images/cursors/invalid32x32.gif
Normal file
After Width: | Height: | Size: 153 B |
BIN
runtime/jre/lib/images/cursors/win32_CopyDrop32x32.gif
Normal file
After Width: | Height: | Size: 165 B |
BIN
runtime/jre/lib/images/cursors/win32_CopyNoDrop32x32.gif
Normal file
After Width: | Height: | Size: 153 B |
BIN
runtime/jre/lib/images/cursors/win32_LinkDrop32x32.gif
Normal file
After Width: | Height: | Size: 168 B |
BIN
runtime/jre/lib/images/cursors/win32_LinkNoDrop32x32.gif
Normal file
After Width: | Height: | Size: 153 B |
BIN
runtime/jre/lib/images/cursors/win32_MoveDrop32x32.gif
Normal file
After Width: | Height: | Size: 147 B |
BIN
runtime/jre/lib/images/cursors/win32_MoveNoDrop32x32.gif
Normal file
After Width: | Height: | Size: 153 B |
BIN
runtime/jre/lib/jce.jar
Normal file
BIN
runtime/jre/lib/jfr.jar
Normal file
846
runtime/jre/lib/jfr/default.jfc
Normal file
@ -0,0 +1,846 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Recommended way to edit .jfc files is to use Java Mission Control,
|
||||||
|
see Window -> Flight Recorder Template Manager.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<configuration version="2.0" label="Continuous" description="Low overhead configuration safe for continuous use in production environments, typically less than 1 % overhead." provider="Oracle">
|
||||||
|
|
||||||
|
<event name="jdk.ThreadAllocationStatistics">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ClassLoadingStatistics">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">1000 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ClassLoaderStatistics">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.JavaThreadStatistics">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">1000 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ThreadStart">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ThreadEnd">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ThreadSleep">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="synchronization-threshold">20 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ThreadPark">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="synchronization-threshold">20 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.JavaMonitorEnter">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="synchronization-threshold">20 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.JavaMonitorWait">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="synchronization-threshold">20 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.JavaMonitorInflate">
|
||||||
|
<setting name="enabled">false</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="synchronization-threshold">20 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.BiasedLockRevocation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.BiasedLockSelfRevocation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.BiasedLockClassRevocation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ReservedStackActivation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ClassLoad">
|
||||||
|
<setting name="enabled" control="class-loading-enabled">false</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ClassDefine">
|
||||||
|
<setting name="enabled" control="class-loading-enabled">false</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ClassUnload">
|
||||||
|
<setting name="enabled" control="class-loading-enabled">false</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.JVMInformation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.InitialSystemProperty">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ExecutionSample">
|
||||||
|
<setting name="enabled" control="method-sampling-enabled">true</setting>
|
||||||
|
<setting name="period" control="method-sampling-java-interval">20 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.NativeMethodSample">
|
||||||
|
<setting name="enabled" control="method-sampling-enabled">true</setting>
|
||||||
|
<setting name="period" control="method-sampling-native-interval">20 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SafepointBegin">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SafepointStateSynchronization">
|
||||||
|
<setting name="enabled">false</setting>
|
||||||
|
<setting name="threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SafepointWaitBlocked">
|
||||||
|
<setting name="enabled">false</setting>
|
||||||
|
<setting name="threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SafepointCleanup">
|
||||||
|
<setting name="enabled">false</setting>
|
||||||
|
<setting name="threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SafepointCleanupTask">
|
||||||
|
<setting name="enabled">false</setting>
|
||||||
|
<setting name="threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SafepointEnd">
|
||||||
|
<setting name="enabled">false</setting>
|
||||||
|
<setting name="threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ExecuteVMOperation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.Shutdown">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ThreadDump">
|
||||||
|
<setting name="enabled" control="thread-dump-enabled">true</setting>
|
||||||
|
<setting name="period" control="thread-dump-interval">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.IntFlag">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.UnsignedIntFlag">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.LongFlag">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.UnsignedLongFlag">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.DoubleFlag">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.BooleanFlag">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.StringFlag">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.IntFlagChanged">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.UnsignedIntFlagChanged">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.LongFlagChanged">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.UnsignedLongFlagChanged">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.DoubleFlagChanged">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.BooleanFlagChanged">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.StringFlagChanged">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ObjectCount">
|
||||||
|
<setting name="enabled" control="memory-profiling-enabled-all">false</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCConfiguration">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCHeapConfiguration">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.YoungGenerationConfiguration">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCTLABConfiguration">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCSurvivorConfiguration">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ObjectCountAfterGC">
|
||||||
|
<setting name="enabled">false</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCHeapSummary">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.PSHeapSummary">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1HeapSummary">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.MetaspaceSummary">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.MetaspaceGCThreshold">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.MetaspaceAllocationFailure">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.MetaspaceOOM">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.MetaspaceChunkFreeListSummary">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GarbageCollection">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ParallelOldGarbageCollection">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.YoungGarbageCollection">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.OldGarbageCollection">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1GarbageCollection">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCPhasePause">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCPhasePauseLevel1">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCPhasePauseLevel2">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCPhasePauseLevel3">
|
||||||
|
<setting name="enabled" control="gc-enabled-all">false</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCPhasePauseLevel4">
|
||||||
|
<setting name="enabled" control="gc-enabled-all">false</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCPhaseConcurrent">
|
||||||
|
<setting name="enabled" control="gc-enabled-all">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCReferenceStatistics">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.PromotionFailed">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.EvacuationFailed">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.EvacuationInformation">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1MMU">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1EvacuationYoungStatistics">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1EvacuationOldStatistics">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1BasicIHOP">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1AdaptiveIHOP">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.PromoteObjectInNewPLAB">
|
||||||
|
<setting name="enabled" control="memory-profiling-enabled-medium">false</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.PromoteObjectOutsidePLAB">
|
||||||
|
<setting name="enabled" control="memory-profiling-enabled-medium">false</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ConcurrentModeFailure">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.AllocationRequiringGC">
|
||||||
|
<setting name="enabled" control="gc-enabled-all">false</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.TenuringDistribution">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1HeapRegionInformation">
|
||||||
|
<setting name="enabled" control="gc-enabled-all">false</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1HeapRegionTypeChange">
|
||||||
|
<setting name="enabled" control="gc-enabled-all">false</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.OldObjectSample">
|
||||||
|
<setting name="enabled" control="memory-leak-detection-enabled">true</setting>
|
||||||
|
<setting name="stackTrace" control="memory-leak-detection-stack-trace">false</setting>
|
||||||
|
<setting name="cutoff" control="memory-leak-detection-cutoff">0 ns</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CompilerConfiguration">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CompilerStatistics">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="period">1000 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.Compilation">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="threshold" control="compiler-compilation-threshold">1000 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CompilerPhase">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="threshold" control="compiler-phase-threshold">60 s</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CompilationFailure">
|
||||||
|
<setting name="enabled" control="compiler-enabled-failure">false</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CompilerInlining">
|
||||||
|
<setting name="enabled" control="compiler-enabled-failure">false</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CodeSweeperConfiguration">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CodeSweeperStatistics">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SweepCodeCache">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="threshold" control="compiler-sweeper-threshold">100 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CodeCacheConfiguration">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CodeCacheStatistics">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CodeCacheFull">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.OSInformation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CPUInformation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ThreadContextSwitchRate">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="period">10 s</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CPULoad">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">1000 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ThreadCPULoad">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">10 s</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CPUTimeStampCounter">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SystemProcess">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">endChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.NetworkUtilization">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">5 s</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.InitialEnvironmentVariable">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.PhysicalMemory">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ObjectAllocationInNewTLAB">
|
||||||
|
<setting name="enabled" control="memory-profiling-enabled-medium">false</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ObjectAllocationOutsideTLAB">
|
||||||
|
<setting name="enabled" control="memory-profiling-enabled-medium">false</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.NativeLibrary">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.FileForce">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="file-io-threshold">20 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.FileRead">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="file-io-threshold">20 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.FileWrite">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="file-io-threshold">20 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SocketRead">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="socket-io-threshold">20 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SocketWrite">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="socket-io-threshold">20 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.JavaExceptionThrow">
|
||||||
|
<setting name="enabled" control="enable-exceptions">false</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.JavaErrorThrow">
|
||||||
|
<setting name="enabled" control="enable-errors">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ExceptionStatistics">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">1000 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ActiveRecording">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ActiveSetting">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.DataLoss">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.DumpReason">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ZPageAllocation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ZThreadPhase">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ZStatisticsCounter">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ZStatisticsSampler">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Contents of the control element is not read by the JVM, it's used
|
||||||
|
by Java Mission Control to change settings that carry the control attribute.
|
||||||
|
-->
|
||||||
|
<control>
|
||||||
|
<selection name="gc-level" default="detailed" label="Garbage Collector">
|
||||||
|
<option label="Off" name="off">off</option>
|
||||||
|
<option label="Normal" name="detailed">normal</option>
|
||||||
|
<option label="All" name="all">all</option>
|
||||||
|
</selection>
|
||||||
|
|
||||||
|
<condition name="gc-enabled-normal" true="true" false="false">
|
||||||
|
<or>
|
||||||
|
<test name="gc-level" operator="equal" value="normal"/>
|
||||||
|
<test name="gc-level" operator="equal" value="all"/>
|
||||||
|
</or>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="gc-enabled-all" true="true" false="false">
|
||||||
|
<test name="gc-level" operator="equal" value="all"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<selection name="memory-profiling" default="off" label="Memory Profiling">
|
||||||
|
<option label="Off" name="off">off</option>
|
||||||
|
<option label="Object Allocation and Promotion" name="medium">medium</option>
|
||||||
|
<option label="All, including Heap Statistics (May cause long full GCs)" name="all">all</option>
|
||||||
|
</selection>
|
||||||
|
|
||||||
|
<condition name="memory-profiling-enabled-medium" true="true" false="false">
|
||||||
|
<or>
|
||||||
|
<test name="memory-profiling" operator="equal" value="medium"/>
|
||||||
|
<test name="memory-profiling" operator="equal" value="all"/>
|
||||||
|
</or>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="memory-profiling-enabled-all" true="true" false="false">
|
||||||
|
<test name="memory-profiling" operator="equal" value="all"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<selection name="compiler-level" default="normal" label="Compiler">
|
||||||
|
<option label="Off" name="off">off</option>
|
||||||
|
<option label="Normal" name="normal">normal</option>
|
||||||
|
<option label="Detailed" name="detailed">detailed</option>
|
||||||
|
<option label="All" name="all">all</option>
|
||||||
|
</selection>
|
||||||
|
|
||||||
|
<condition name="compiler-enabled" true="false" false="true">
|
||||||
|
<test name="compiler-level" operator="equal" value="off"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="compiler-enabled-failure" true="true" false="false">
|
||||||
|
<or>
|
||||||
|
<test name="compiler-level" operator="equal" value="detailed"/>
|
||||||
|
<test name="compiler-level" operator="equal" value="all"/>
|
||||||
|
</or>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="compiler-sweeper-threshold" true="0 ms" false="100 ms">
|
||||||
|
<test name="compiler-level" operator="equal" value="all"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="compiler-compilation-threshold" true="1000 ms">
|
||||||
|
<test name="compiler-level" operator="equal" value="normal"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="compiler-compilation-threshold" true="100 ms">
|
||||||
|
<test name="compiler-level" operator="equal" value="detailed"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="compiler-compilation-threshold" true="0 ms">
|
||||||
|
<test name="compiler-level" operator="equal" value="all"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="compiler-phase-threshold" true="60 s">
|
||||||
|
<test name="compiler-level" operator="equal" value="normal"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="compiler-phase-threshold" true="10 s">
|
||||||
|
<test name="compiler-level" operator="equal" value="detailed"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="compiler-phase-threshold" true="0 s">
|
||||||
|
<test name="compiler-level" operator="equal" value="all"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<selection name="method-sampling-interval" default="normal" label="Method Sampling">
|
||||||
|
<option label="Off" name="off">off</option>
|
||||||
|
<option label="Normal" name="normal">normal</option>
|
||||||
|
<option label="High" name="high">high</option>
|
||||||
|
<option label="Ludicrous (High Overhead)" name="ludicrous">ludicrous</option>
|
||||||
|
</selection>
|
||||||
|
|
||||||
|
<condition name="method-sampling-java-interval" true="999 d">
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="off"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="method-sampling-java-interval" true="20 ms">
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="normal"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="method-sampling-java-interval" true="10 ms">
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="high"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="method-sampling-java-interval" true="1 ms">
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="ludicrous"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="method-sampling-native-interval" true="999 d">
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="off"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="method-sampling-native-interval" true="20 ms">
|
||||||
|
<or>
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="normal"/>
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="high"/>
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="ludicrous"/>
|
||||||
|
</or>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="method-sampling-enabled" true="false" false="true">
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="off"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<selection name="thread-dump-interval" default="normal" label="Thread Dump">
|
||||||
|
<option label="Off" name="off">999 d</option>
|
||||||
|
<option label="At least Once" name="normal">everyChunk</option>
|
||||||
|
<option label="Every 60 s" name="everyMinute">60 s</option>
|
||||||
|
<option label="Every 10 s" name="everyTenSecond">10 s</option>
|
||||||
|
<option label="Every 1 s" name="everySecond">1 s</option>
|
||||||
|
</selection>
|
||||||
|
|
||||||
|
<condition name="thread-dump-enabled" true="false" false="true">
|
||||||
|
<test name="thread-dump-interval" operator="equal" value="999 d"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<selection name="exception-level" default="errors" label="Exceptions">
|
||||||
|
<option label="Off" name="off">off</option>
|
||||||
|
<option label="Errors Only" name="errors">errors</option>
|
||||||
|
<option label="All Exceptions, including Errors" name="all">all</option>
|
||||||
|
</selection>
|
||||||
|
|
||||||
|
<condition name="enable-errors" true="true" false="false">
|
||||||
|
<or>
|
||||||
|
<test name="exception-level" operator="equal" value="errors"/>
|
||||||
|
<test name="exception-level" operator="equal" value="all"/>
|
||||||
|
</or>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="enable-exceptions" true="true" false="false">
|
||||||
|
<test name="exception-level" operator="equal" value="all"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<selection name="memory-leak-detection" default="minimal" label="Memory Leak Detection">
|
||||||
|
<option label="Off" name="off">off</option>
|
||||||
|
<option label="Object Types" name="minimal">minimal</option>
|
||||||
|
<option label="Object Types + Allocation Stack Traces" name="medium">medium</option>
|
||||||
|
<option label="Object Types + Allocation Stack Traces + Path to GC Root" name="full">full</option>
|
||||||
|
</selection>
|
||||||
|
|
||||||
|
<condition name="memory-leak-detection-enabled" true="false" false="true">
|
||||||
|
<test name="memory-leak-detection" operator="equal" value="off"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="memory-leak-detection-stack-trace" true="true" false="false">
|
||||||
|
<or>
|
||||||
|
<test name="memory-leak-detection" operator="equal" value="medium"/>
|
||||||
|
<test name="memory-leak-detection" operator="equal" value="full"/>
|
||||||
|
</or>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="memory-leak-detection-cutoff" true="1 h" false="0 ns">
|
||||||
|
<test name="memory-leak-detection" operator="equal" value="full"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<text name="synchronization-threshold" label="Synchronization Threshold" contentType="timespan" minimum="0 s">20 ms</text>
|
||||||
|
|
||||||
|
<text name="file-io-threshold" label="File I/O Threshold" contentType="timespan" minimum="0 s">20 ms</text>
|
||||||
|
|
||||||
|
<text name="socket-io-threshold" label="Socket I/O Threshold" contentType="timespan" minimum="0 s">20 ms</text>
|
||||||
|
|
||||||
|
<flag name="class-loading-enabled" label="Class Loading">false</flag>
|
||||||
|
|
||||||
|
</control>
|
||||||
|
|
||||||
|
</configuration>
|
847
runtime/jre/lib/jfr/profile.jfc
Normal file
@ -0,0 +1,847 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Recommended way to edit .jfc files is to use Java Mission Control,
|
||||||
|
see Window -> Flight Recorder Template Manager.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<configuration version="2.0" label="Profiling" description="Low overhead configuration for profiling, typically around 2 % overhead." provider="Oracle">
|
||||||
|
|
||||||
|
<event name="jdk.ThreadAllocationStatistics">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ClassLoadingStatistics">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">1000 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ClassLoaderStatistics">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.JavaThreadStatistics">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">1000 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ThreadStart">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ThreadEnd">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ThreadSleep">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="synchronization-threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ThreadPark">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="synchronization-threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.JavaMonitorEnter">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="synchronization-threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.JavaMonitorWait">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="synchronization-threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.JavaMonitorInflate">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="synchronization-threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.BiasedLockRevocation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.BiasedLockSelfRevocation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.BiasedLockClassRevocation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ReservedStackActivation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ClassLoad">
|
||||||
|
<setting name="enabled" control="class-loading-enabled">false</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ClassDefine">
|
||||||
|
<setting name="enabled" control="class-loading-enabled">false</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ClassUnload">
|
||||||
|
<setting name="enabled" control="class-loading-enabled">false</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.JVMInformation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.InitialSystemProperty">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ExecutionSample">
|
||||||
|
<setting name="enabled" control="method-sampling-enabled">true</setting>
|
||||||
|
<setting name="period" control="method-sampling-java-interval">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.NativeMethodSample">
|
||||||
|
<setting name="enabled" control="method-sampling-enabled">true</setting>
|
||||||
|
<setting name="period" control="method-sampling-native-interval">20 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SafepointBegin">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SafepointStateSynchronization">
|
||||||
|
<setting name="enabled">false</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SafepointWaitBlocked">
|
||||||
|
<setting name="enabled">false</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SafepointCleanup">
|
||||||
|
<setting name="enabled">false</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SafepointCleanupTask">
|
||||||
|
<setting name="enabled">false</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SafepointEnd">
|
||||||
|
<setting name="enabled">false</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ExecuteVMOperation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.Shutdown">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ThreadDump">
|
||||||
|
<setting name="enabled" control="thread-dump-enabled">true</setting>
|
||||||
|
<setting name="period" control="thread-dump-interval">60 s</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.IntFlag">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.UnsignedIntFlag">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.LongFlag">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.UnsignedLongFlag">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.DoubleFlag">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.BooleanFlag">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.StringFlag">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.IntFlagChanged">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.UnsignedIntFlagChanged">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.LongFlagChanged">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.UnsignedLongFlagChanged">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.DoubleFlagChanged">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.BooleanFlagChanged">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.StringFlagChanged">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ObjectCount">
|
||||||
|
<setting name="enabled" control="memory-profiling-enabled-all">false</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCConfiguration">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCHeapConfiguration">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.YoungGenerationConfiguration">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCTLABConfiguration">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCSurvivorConfiguration">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ObjectCountAfterGC">
|
||||||
|
<setting name="enabled">false</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCHeapSummary">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.PSHeapSummary">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1HeapSummary">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.MetaspaceSummary">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.MetaspaceGCThreshold">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.MetaspaceAllocationFailure">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.MetaspaceOOM">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.MetaspaceChunkFreeListSummary">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GarbageCollection">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ParallelOldGarbageCollection">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.YoungGarbageCollection">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.OldGarbageCollection">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1GarbageCollection">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCPhasePause">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCPhasePauseLevel1">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCPhasePauseLevel2">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCPhasePauseLevel3">
|
||||||
|
<setting name="enabled" control="gc-enabled-all">false</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCPhasePauseLevel4">
|
||||||
|
<setting name="enabled" control="gc-enabled-all">false</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCPhaseConcurrent">
|
||||||
|
<setting name="enabled" control="gc-enabled-all">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.GCReferenceStatistics">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.PromotionFailed">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.EvacuationFailed">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.EvacuationInformation">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1MMU">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1EvacuationYoungStatistics">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1EvacuationOldStatistics">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1BasicIHOP">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1AdaptiveIHOP">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.PromoteObjectInNewPLAB">
|
||||||
|
<setting name="enabled" control="memory-profiling-enabled-medium">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.PromoteObjectOutsidePLAB">
|
||||||
|
<setting name="enabled" control="memory-profiling-enabled-medium">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ConcurrentModeFailure">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.AllocationRequiringGC">
|
||||||
|
<setting name="enabled" control="gc-enabled-all">false</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.TenuringDistribution">
|
||||||
|
<setting name="enabled" control="gc-enabled-normal">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1HeapRegionInformation">
|
||||||
|
<setting name="enabled" control="gc-enabled-all">false</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.G1HeapRegionTypeChange">
|
||||||
|
<setting name="enabled" control="gc-enabled-all">false</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.OldObjectSample">
|
||||||
|
<setting name="enabled" control="memory-leak-detection-enabled">true</setting>
|
||||||
|
<setting name="stackTrace" control="memory-leak-detection-stack-trace">true</setting>
|
||||||
|
<setting name="cutoff" control="memory-leak-detection-cutoff">0 ns</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CompilerConfiguration">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CompilerStatistics">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="period">1000 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.Compilation">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="threshold" control="compiler-compilation-threshold">100 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CompilerPhase">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="threshold" control="compiler-phase-threshold">10 s</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CompilationFailure">
|
||||||
|
<setting name="enabled" control="compiler-enabled-failure">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CompilerInlining">
|
||||||
|
<setting name="enabled" control="compiler-enabled-failure">false</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CodeSweeperConfiguration">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CodeSweeperStatistics">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SweepCodeCache">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="threshold" control="compiler-sweeper-threshold">100 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CodeCacheConfiguration">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CodeCacheStatistics">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CodeCacheFull">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.OSInformation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CPUInformation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ThreadContextSwitchRate">
|
||||||
|
<setting name="enabled" control="compiler-enabled">true</setting>
|
||||||
|
<setting name="period">10 s</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CPULoad">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">1000 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ThreadCPULoad">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">10 s</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.CPUTimeStampCounter">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SystemProcess">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">endChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.NetworkUtilization">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">5 s</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.InitialEnvironmentVariable">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">beginChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.PhysicalMemory">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ObjectAllocationInNewTLAB">
|
||||||
|
<setting name="enabled" control="memory-profiling-enabled-medium">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ObjectAllocationOutsideTLAB">
|
||||||
|
<setting name="enabled" control="memory-profiling-enabled-medium">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.NativeLibrary">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">everyChunk</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.FileForce">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="file-io-threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.FileRead">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="file-io-threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.FileWrite">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="file-io-threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SocketRead">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="socket-io-threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.SocketWrite">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
<setting name="threshold" control="socket-io-threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.JavaExceptionThrow">
|
||||||
|
<setting name="enabled" control="enable-exceptions">false</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.JavaErrorThrow">
|
||||||
|
<setting name="enabled" control="enable-errors">true</setting>
|
||||||
|
<setting name="stackTrace">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ExceptionStatistics">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="period">1000 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ActiveRecording">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ActiveSetting">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.DataLoss">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.DumpReason">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ZPageAllocation">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ZThreadPhase">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="threshold">0 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ZStatisticsCounter">
|
||||||
|
<setting name="threshold">10 ms</setting>
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event name="jdk.ZStatisticsSampler">
|
||||||
|
<setting name="enabled">true</setting>
|
||||||
|
<setting name="threshold">10 ms</setting>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Contents of the control element is not read by the JVM, it's used
|
||||||
|
by Java Mission Control to change settings that carry the control attribute.
|
||||||
|
-->
|
||||||
|
<control>
|
||||||
|
|
||||||
|
<selection name="gc-level" default="detailed" label="Garbage Collector">
|
||||||
|
<option label="Off" name="off">off</option>
|
||||||
|
<option label="Normal" name="detailed">normal</option>
|
||||||
|
<option label="All" name="all">all</option>
|
||||||
|
</selection>
|
||||||
|
|
||||||
|
<condition name="gc-enabled-normal" true="true" false="false">
|
||||||
|
<or>
|
||||||
|
<test name="gc-level" operator="equal" value="normal"/>
|
||||||
|
<test name="gc-level" operator="equal" value="all"/>
|
||||||
|
</or>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="gc-enabled-all" true="true" false="false">
|
||||||
|
<test name="gc-level" operator="equal" value="all"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<selection name="memory-profiling" default="medium" label="Memory Profiling">
|
||||||
|
<option label="Off" name="off">off</option>
|
||||||
|
<option label="Object Allocation and Promotion" name="medium">medium</option>
|
||||||
|
<option label="All, including Heap Statistics (May cause long full GCs)" name="all">all</option>
|
||||||
|
</selection>
|
||||||
|
|
||||||
|
<condition name="memory-profiling-enabled-medium" true="true" false="false">
|
||||||
|
<or>
|
||||||
|
<test name="memory-profiling" operator="equal" value="medium"/>
|
||||||
|
<test name="memory-profiling" operator="equal" value="all"/>
|
||||||
|
</or>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="memory-profiling-enabled-all" true="true" false="false">
|
||||||
|
<test name="memory-profiling" operator="equal" value="all"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<selection name="compiler-level" default="detailed" label="Compiler">
|
||||||
|
<option label="Off" name="off">off</option>
|
||||||
|
<option label="Normal" name="normal">normal</option>
|
||||||
|
<option label="Detailed" name="detailed">detailed</option>
|
||||||
|
<option label="All" name="all">all</option>
|
||||||
|
</selection>
|
||||||
|
|
||||||
|
<condition name="compiler-enabled" true="false" false="true">
|
||||||
|
<test name="compiler-level" operator="equal" value="off"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="compiler-enabled-failure" true="true" false="false">
|
||||||
|
<or>
|
||||||
|
<test name="compiler-level" operator="equal" value="detailed"/>
|
||||||
|
<test name="compiler-level" operator="equal" value="all"/>
|
||||||
|
</or>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="compiler-sweeper-threshold" true="0 ms" false="100 ms">
|
||||||
|
<test name="compiler-level" operator="equal" value="all"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="compiler-compilation-threshold" true="1000 ms">
|
||||||
|
<test name="compiler-level" operator="equal" value="normal"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="compiler-compilation-threshold" true="100 ms">
|
||||||
|
<test name="compiler-level" operator="equal" value="detailed"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="compiler-compilation-threshold" true="0 ms">
|
||||||
|
<test name="compiler-level" operator="equal" value="all"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="compiler-phase-threshold" true="60 s">
|
||||||
|
<test name="compiler-level" operator="equal" value="normal"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="compiler-phase-threshold" true="10 s">
|
||||||
|
<test name="compiler-level" operator="equal" value="detailed"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="compiler-phase-threshold" true="0 s">
|
||||||
|
<test name="compiler-level" operator="equal" value="all"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<selection name="method-sampling-interval" default="normal" label="Method Sampling">
|
||||||
|
<option label="Off" name="off">off</option>
|
||||||
|
<option label="Normal" name="normal">normal</option>
|
||||||
|
<option label="High" name="high">high</option>
|
||||||
|
<option label="Ludicrous (High Overhead)" name="ludicrous">ludicrous</option>
|
||||||
|
</selection>
|
||||||
|
|
||||||
|
<condition name="method-sampling-java-interval" true="999 d">
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="off"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="method-sampling-java-interval" true="20 ms">
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="normal"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="method-sampling-java-interval" true="10 ms">
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="high"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="method-sampling-java-interval" true="1 ms">
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="ludicrous"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="method-sampling-native-interval" true="999 d">
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="off"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="method-sampling-native-interval" true="20 ms">
|
||||||
|
<or>
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="normal"/>
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="high"/>
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="ludicrous"/>
|
||||||
|
</or>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="method-sampling-enabled" true="false" false="true">
|
||||||
|
<test name="method-sampling-interval" operator="equal" value="off"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<selection name="thread-dump-interval" default="everyMinute" label="Thread Dump">
|
||||||
|
<option label="Off" name="off">999 d</option>
|
||||||
|
<option label="At least Once" name="normal">everyChunk</option>
|
||||||
|
<option label="Every 60 s" name="everyMinute">60 s</option>
|
||||||
|
<option label="Every 10 s" name="everyTenSecond">10 s</option>
|
||||||
|
<option label="Every 1 s" name="everySecond">1 s</option>
|
||||||
|
</selection>
|
||||||
|
|
||||||
|
<condition name="thread-dump-enabled" true="false" false="true">
|
||||||
|
<test name="thread-dump-interval" operator="equal" value="999 d"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<selection name="exception-level" default="errors" label="Exceptions">
|
||||||
|
<option label="Off" name="off">off</option>
|
||||||
|
<option label="Errors Only" name="errors">errors</option>
|
||||||
|
<option label="All Exceptions, including Errors" name="all">all</option>
|
||||||
|
</selection>
|
||||||
|
|
||||||
|
<condition name="enable-errors" true="true" false="false">
|
||||||
|
<or>
|
||||||
|
<test name="exception-level" operator="equal" value="errors"/>
|
||||||
|
<test name="exception-level" operator="equal" value="all"/>
|
||||||
|
</or>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="enable-exceptions" true="true" false="false">
|
||||||
|
<test name="exception-level" operator="equal" value="all"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<selection name="memory-leak-detection" default="medium" label="Memory Leak Detection">
|
||||||
|
<option label="Off" name="off">off</option>
|
||||||
|
<option label="Object Types" name="minimal">minimal</option>
|
||||||
|
<option label="Object Types + Allocation Stack Traces" name="medium">medium</option>
|
||||||
|
<option label="Object Types + Allocation Stack Traces + Path to GC Root" name="full">full</option>
|
||||||
|
</selection>
|
||||||
|
|
||||||
|
<condition name="memory-leak-detection-enabled" true="false" false="true">
|
||||||
|
<test name="memory-leak-detection" operator="equal" value="off"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="memory-leak-detection-stack-trace" true="true" false="false">
|
||||||
|
<or>
|
||||||
|
<test name="memory-leak-detection" operator="equal" value="medium"/>
|
||||||
|
<test name="memory-leak-detection" operator="equal" value="full"/>
|
||||||
|
</or>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<condition name="memory-leak-detection-cutoff" true="1 h" false="0 ns">
|
||||||
|
<test name="memory-leak-detection" operator="equal" value="full"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<text name="synchronization-threshold" label="Synchronization Threshold" contentType="timespan" minimum="0 s">10 ms</text>
|
||||||
|
|
||||||
|
<text name="file-io-threshold" label="File I/O Threshold" contentType="timespan" minimum="0 s">10 ms</text>
|
||||||
|
|
||||||
|
<text name="socket-io-threshold" label="Socket I/O Threshold" contentType="timespan" minimum="0 s">10 ms</text>
|
||||||
|
|
||||||
|
<flag name="class-loading-enabled" label="Class Loading">false</flag>
|
||||||
|
|
||||||
|
</control>
|
||||||
|
|
||||||
|
</configuration>
|
BIN
runtime/jre/lib/jsse.jar
Normal file
86
runtime/jre/lib/jvm.hprof.txt
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions
|
||||||
|
are met:
|
||||||
|
|
||||||
|
- Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
- Redistributions in binary form must reproduce the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer in the
|
||||||
|
documentation and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
- Neither the name of Oracle nor the names of its
|
||||||
|
contributors may be used to endorse or promote products derived
|
||||||
|
from this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
||||||
|
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||||
|
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||||
|
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||||
|
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
|
||||||
|
Header for -agentlib:hprof (or -Xrunhprof) ASCII Output (JDK 5.0 JVMTI based)
|
||||||
|
|
||||||
|
WARNING! This file format is under development, and is subject to
|
||||||
|
change without notice.
|
||||||
|
|
||||||
|
This file contains the following types of records:
|
||||||
|
|
||||||
|
THREAD START
|
||||||
|
THREAD END mark the lifetime of Java threads
|
||||||
|
|
||||||
|
TRACE represents a Java stack trace. Each trace consists
|
||||||
|
of a series of stack frames. Other records refer to
|
||||||
|
TRACEs to identify (1) where object allocations have
|
||||||
|
taken place, (2) the frames in which GC roots were
|
||||||
|
found, and (3) frequently executed methods.
|
||||||
|
|
||||||
|
HEAP DUMP is a complete snapshot of all live objects in the Java
|
||||||
|
heap. Following distinctions are made:
|
||||||
|
|
||||||
|
ROOT root set as determined by GC
|
||||||
|
CLS classes
|
||||||
|
OBJ instances
|
||||||
|
ARR arrays
|
||||||
|
|
||||||
|
SITES is a sorted list of allocation sites. This identifies
|
||||||
|
the most heavily allocated object types, and the TRACE
|
||||||
|
at which those allocations occurred.
|
||||||
|
|
||||||
|
CPU SAMPLES is a statistical profile of program execution. The VM
|
||||||
|
periodically samples all running threads, and assigns
|
||||||
|
a quantum to active TRACEs in those threads. Entries
|
||||||
|
in this record are TRACEs ranked by the percentage of
|
||||||
|
total quanta they consumed; top-ranked TRACEs are
|
||||||
|
typically hot spots in the program.
|
||||||
|
|
||||||
|
CPU TIME is a profile of program execution obtained by measuring
|
||||||
|
the time spent in individual methods (excluding the time
|
||||||
|
spent in callees), as well as by counting the number of
|
||||||
|
times each method is called. Entries in this record are
|
||||||
|
TRACEs ranked by the percentage of total CPU time. The
|
||||||
|
"count" field indicates the number of times each TRACE
|
||||||
|
is invoked.
|
||||||
|
|
||||||
|
MONITOR TIME is a profile of monitor contention obtained by measuring
|
||||||
|
the time spent by a thread waiting to enter a monitor.
|
||||||
|
Entries in this record are TRACEs ranked by the percentage
|
||||||
|
of total monitor contention time and a brief description
|
||||||
|
of the monitor. The "count" field indicates the number of
|
||||||
|
times the monitor was contended at that TRACE.
|
||||||
|
|
||||||
|
MONITOR DUMP is a complete snapshot of all the monitors and threads in
|
||||||
|
the System.
|
||||||
|
|
||||||
|
HEAP DUMP, SITES, CPU SAMPLES|TIME and MONITOR DUMP|TIME records are generated
|
||||||
|
at program exit. They can also be obtained during program execution by typing
|
||||||
|
Ctrl-\ (on Solaris) or by typing Ctrl-Break (on Win32).
|
59
runtime/jre/lib/logging.properties
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
############################################################
|
||||||
|
# Default Logging Configuration File
|
||||||
|
#
|
||||||
|
# You can use a different file by specifying a filename
|
||||||
|
# with the java.util.logging.config.file system property.
|
||||||
|
# For example java -Djava.util.logging.config.file=myfile
|
||||||
|
############################################################
|
||||||
|
|
||||||
|
############################################################
|
||||||
|
# Global properties
|
||||||
|
############################################################
|
||||||
|
|
||||||
|
# "handlers" specifies a comma separated list of log Handler
|
||||||
|
# classes. These handlers will be installed during VM startup.
|
||||||
|
# Note that these classes must be on the system classpath.
|
||||||
|
# By default we only configure a ConsoleHandler, which will only
|
||||||
|
# show messages at the INFO and above levels.
|
||||||
|
handlers= java.util.logging.ConsoleHandler
|
||||||
|
|
||||||
|
# To also add the FileHandler, use the following line instead.
|
||||||
|
#handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
|
||||||
|
|
||||||
|
# Default global logging level.
|
||||||
|
# This specifies which kinds of events are logged across
|
||||||
|
# all loggers. For any given facility this global level
|
||||||
|
# can be overriden by a facility specific level
|
||||||
|
# Note that the ConsoleHandler also has a separate level
|
||||||
|
# setting to limit messages printed to the console.
|
||||||
|
.level= INFO
|
||||||
|
|
||||||
|
############################################################
|
||||||
|
# Handler specific properties.
|
||||||
|
# Describes specific configuration info for Handlers.
|
||||||
|
############################################################
|
||||||
|
|
||||||
|
# default file output is in user's home directory.
|
||||||
|
java.util.logging.FileHandler.pattern = %h/java%u.log
|
||||||
|
java.util.logging.FileHandler.limit = 50000
|
||||||
|
java.util.logging.FileHandler.count = 1
|
||||||
|
java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
|
||||||
|
|
||||||
|
# Limit the message that are printed on the console to INFO and above.
|
||||||
|
java.util.logging.ConsoleHandler.level = INFO
|
||||||
|
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
|
||||||
|
|
||||||
|
# Example to customize the SimpleFormatter output format
|
||||||
|
# to print one-line log message like this:
|
||||||
|
# <level>: <log message> [<date/time>]
|
||||||
|
#
|
||||||
|
# java.util.logging.SimpleFormatter.format=%4$s: %5$s [%1$tc]%n
|
||||||
|
|
||||||
|
############################################################
|
||||||
|
# Facility specific properties.
|
||||||
|
# Provides extra control for each logger.
|
||||||
|
############################################################
|
||||||
|
|
||||||
|
# For example, set the com.xyz.foo logger to only log SEVERE
|
||||||
|
# messages:
|
||||||
|
com.xyz.foo.level = SEVERE
|
BIN
runtime/jre/lib/management-agent.jar
Normal file
79
runtime/jre/lib/management/jmxremote.access
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
######################################################################
|
||||||
|
# Default Access Control File for Remote JMX(TM) Monitoring
|
||||||
|
######################################################################
|
||||||
|
#
|
||||||
|
# Access control file for Remote JMX API access to monitoring.
|
||||||
|
# This file defines the allowed access for different roles. The
|
||||||
|
# password file (jmxremote.password by default) defines the roles and their
|
||||||
|
# passwords. To be functional, a role must have an entry in
|
||||||
|
# both the password and the access files.
|
||||||
|
#
|
||||||
|
# The default location of this file is $JRE/lib/management/jmxremote.access
|
||||||
|
# You can specify an alternate location by specifying a property in
|
||||||
|
# the management config file $JRE/lib/management/management.properties
|
||||||
|
# (See that file for details)
|
||||||
|
#
|
||||||
|
# The file format for password and access files is syntactically the same
|
||||||
|
# as the Properties file format. The syntax is described in the Javadoc
|
||||||
|
# for java.util.Properties.load.
|
||||||
|
# A typical access file has multiple lines, where each line is blank,
|
||||||
|
# a comment (like this one), or an access control entry.
|
||||||
|
#
|
||||||
|
# An access control entry consists of a role name, and an
|
||||||
|
# associated access level. The role name is any string that does not
|
||||||
|
# itself contain spaces or tabs. It corresponds to an entry in the
|
||||||
|
# password file (jmxremote.password). The access level is one of the
|
||||||
|
# following:
|
||||||
|
# "readonly" grants access to read attributes of MBeans.
|
||||||
|
# For monitoring, this means that a remote client in this
|
||||||
|
# role can read measurements but cannot perform any action
|
||||||
|
# that changes the environment of the running program.
|
||||||
|
# "readwrite" grants access to read and write attributes of MBeans,
|
||||||
|
# to invoke operations on them, and optionally
|
||||||
|
# to create or remove them. This access should be granted
|
||||||
|
# only to trusted clients, since they can potentially
|
||||||
|
# interfere with the smooth operation of a running program.
|
||||||
|
#
|
||||||
|
# The "readwrite" access level can optionally be followed by the "create" and/or
|
||||||
|
# "unregister" keywords. The "unregister" keyword grants access to unregister
|
||||||
|
# (delete) MBeans. The "create" keyword grants access to create MBeans of a
|
||||||
|
# particular class or of any class matching a particular pattern. Access
|
||||||
|
# should only be granted to create MBeans of known and trusted classes.
|
||||||
|
#
|
||||||
|
# For example, the following entry would grant readwrite access
|
||||||
|
# to "controlRole", as well as access to create MBeans of the class
|
||||||
|
# javax.management.monitor.CounterMonitor and to unregister any MBean:
|
||||||
|
# controlRole readwrite \
|
||||||
|
# create javax.management.monitor.CounterMonitorMBean \
|
||||||
|
# unregister
|
||||||
|
# or equivalently:
|
||||||
|
# controlRole readwrite unregister create javax.management.monitor.CounterMBean
|
||||||
|
#
|
||||||
|
# The following entry would grant readwrite access as well as access to create
|
||||||
|
# MBeans of any class in the packages javax.management.monitor and
|
||||||
|
# javax.management.timer:
|
||||||
|
# controlRole readwrite \
|
||||||
|
# create javax.management.monitor.*,javax.management.timer.* \
|
||||||
|
# unregister
|
||||||
|
#
|
||||||
|
# The \ character is defined in the Properties file syntax to allow continuation
|
||||||
|
# lines as shown here. A * in a class pattern matches a sequence of characters
|
||||||
|
# other than dot (.), so javax.management.monitor.* matches
|
||||||
|
# javax.management.monitor.CounterMonitor but not
|
||||||
|
# javax.management.monitor.foo.Bar.
|
||||||
|
#
|
||||||
|
# A given role should have at most one entry in this file. If a role
|
||||||
|
# has no entry, it has no access.
|
||||||
|
# If multiple entries are found for the same role name, then the last
|
||||||
|
# access entry is used.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Default access control entries:
|
||||||
|
# o The "monitorRole" role has readonly access.
|
||||||
|
# o The "controlRole" role has readwrite access and can create the standard
|
||||||
|
# Timer and Monitor MBeans defined by the JMX API.
|
||||||
|
|
||||||
|
monitorRole readonly
|
||||||
|
controlRole readwrite \
|
||||||
|
create javax.management.monitor.*,javax.management.timer.* \
|
||||||
|
unregister
|
64
runtime/jre/lib/management/jmxremote.password.template
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
# ----------------------------------------------------------------------
|
||||||
|
# Template for jmxremote.password
|
||||||
|
#
|
||||||
|
# o Copy this template to jmxremote.password
|
||||||
|
# o Set the user/password entries in jmxremote.password
|
||||||
|
# o Change the permission of jmxremote.password to read-only
|
||||||
|
# by the owner.
|
||||||
|
#
|
||||||
|
# See below for the location of jmxremote.password file.
|
||||||
|
# ----------------------------------------------------------------------
|
||||||
|
|
||||||
|
##############################################################
|
||||||
|
# Password File for Remote JMX Monitoring
|
||||||
|
##############################################################
|
||||||
|
#
|
||||||
|
# Password file for Remote JMX API access to monitoring. This
|
||||||
|
# file defines the different roles and their passwords. The access
|
||||||
|
# control file (jmxremote.access by default) defines the allowed
|
||||||
|
# access for each role. To be functional, a role must have an entry
|
||||||
|
# in both the password and the access files.
|
||||||
|
#
|
||||||
|
# Default location of this file is $JRE/lib/management/jmxremote.password
|
||||||
|
# You can specify an alternate location by specifying a property in
|
||||||
|
# the management config file $JRE/lib/management/management.properties
|
||||||
|
# or by specifying a system property (See that file for details).
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################
|
||||||
|
# File permissions of the jmxremote.password file
|
||||||
|
##############################################################
|
||||||
|
# Since there are cleartext passwords stored in this file,
|
||||||
|
# this file must be readable by ONLY the owner,
|
||||||
|
# otherwise the program will exit with an error.
|
||||||
|
#
|
||||||
|
# The file format for password and access files is syntactically the same
|
||||||
|
# as the Properties file format. The syntax is described in the Javadoc
|
||||||
|
# for java.util.Properties.load.
|
||||||
|
# Typical password file has multiple lines, where each line is blank,
|
||||||
|
# a comment (like this one), or a password entry.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# A password entry consists of a role name and an associated
|
||||||
|
# password. The role name is any string that does not itself contain
|
||||||
|
# spaces or tabs. The password is again any string that does not
|
||||||
|
# contain spaces or tabs. Note that passwords appear in the clear in
|
||||||
|
# this file, so it is a good idea not to use valuable passwords.
|
||||||
|
#
|
||||||
|
# A given role should have at most one entry in this file. If a role
|
||||||
|
# has no entry, it has no access.
|
||||||
|
# If multiple entries are found for the same role name, then the last one
|
||||||
|
# is used.
|
||||||
|
#
|
||||||
|
# In a typical installation, this file can be read by anybody on the
|
||||||
|
# local machine, and possibly by people on other machines.
|
||||||
|
# For # security, you should either restrict the access to this file,
|
||||||
|
# or specify another, less accessible file in the management config file
|
||||||
|
# as described above.
|
||||||
|
#
|
||||||
|
# Following are two commented-out entries. The "measureRole" role has
|
||||||
|
# password "QED". The "controlRole" role has password "R&D".
|
||||||
|
#
|
||||||
|
# monitorRole QED
|
||||||
|
# controlRole R&D
|
||||||
|
|
331
runtime/jre/lib/management/management.properties
Normal file
@ -0,0 +1,331 @@
|
|||||||
|
#####################################################################
|
||||||
|
# Default Configuration File for Java Platform Management
|
||||||
|
#####################################################################
|
||||||
|
#
|
||||||
|
# The Management Configuration file (in java.util.Properties format)
|
||||||
|
# will be read if one of the following system properties is set:
|
||||||
|
# -Dcom.sun.management.jmxremote.port=<port-number>
|
||||||
|
# or -Dcom.sun.management.snmp.port=<port-number>
|
||||||
|
# or -Dcom.sun.management.config.file=<this-file>
|
||||||
|
#
|
||||||
|
# The default Management Configuration file is:
|
||||||
|
#
|
||||||
|
# $JRE/lib/management/management.properties
|
||||||
|
#
|
||||||
|
# Another location for the Management Configuration File can be specified
|
||||||
|
# by the following property on the Java command line:
|
||||||
|
#
|
||||||
|
# -Dcom.sun.management.config.file=<this-file>
|
||||||
|
#
|
||||||
|
# If -Dcom.sun.management.config.file=<this-file> is set, the port
|
||||||
|
# number for the management agent can be specified in the config file
|
||||||
|
# using the following lines:
|
||||||
|
#
|
||||||
|
# ################ Management Agent Port #########################
|
||||||
|
#
|
||||||
|
# For setting the JMX RMI agent port use the following line
|
||||||
|
# com.sun.management.jmxremote.port=<port-number>
|
||||||
|
#
|
||||||
|
# For setting the SNMP agent port use the following line
|
||||||
|
# com.sun.management.snmp.port=<port-number>
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
# Optional Instrumentation
|
||||||
|
#####################################################################
|
||||||
|
#
|
||||||
|
# By default only the basic instrumentation with low overhead is on.
|
||||||
|
# The following properties allow to selectively turn on optional
|
||||||
|
# instrumentation which are off by default and may have some
|
||||||
|
# additional overhead.
|
||||||
|
#
|
||||||
|
# com.sun.management.enableThreadContentionMonitoring
|
||||||
|
#
|
||||||
|
# This option enables thread contention monitoring if the
|
||||||
|
# Java virtual machine supports such instrumentation.
|
||||||
|
# Refer to the specification for the java.lang.management.ThreadMBean
|
||||||
|
# interface - see isThreadContentionMonitoringSupported() method.
|
||||||
|
#
|
||||||
|
|
||||||
|
# To enable thread contention monitoring, uncomment the following line
|
||||||
|
# com.sun.management.enableThreadContentionMonitoring
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
# SNMP Management Properties
|
||||||
|
#####################################################################
|
||||||
|
#
|
||||||
|
# If the system property -Dcom.sun.management.snmp.port=<port-number>
|
||||||
|
# is set then
|
||||||
|
# - The SNMP agent (with the Java virtual machine MIB) is started
|
||||||
|
# that listens on the specified port for incoming SNMP requests.
|
||||||
|
# - the following properties for read for SNMP management.
|
||||||
|
#
|
||||||
|
# The configuration can be specified only at startup time.
|
||||||
|
# Later changes to the above system property (e.g. via setProperty method), this
|
||||||
|
# config file, or the ACL file has no effect to the running SNMP agent.
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# ##################### SNMP Trap Port #########################
|
||||||
|
#
|
||||||
|
# com.sun.management.snmp.trap=<trap-destination-port-number>
|
||||||
|
# Specifies the remote port number at which managers are expected
|
||||||
|
# to listen for trap. For each host defined in the ACL file,
|
||||||
|
# the SNMP agent will send traps at <host>:<trap-destination-port-number>
|
||||||
|
# Default for this property is 162.
|
||||||
|
#
|
||||||
|
|
||||||
|
# To set port for sending traps to a different port use the following line
|
||||||
|
# com.sun.management.snmp.trap=<trap-destination-port-number>
|
||||||
|
|
||||||
|
#
|
||||||
|
# ################ SNMP listen interface #########################
|
||||||
|
#
|
||||||
|
# com.sun.management.snmp.interface=<InetAddress>
|
||||||
|
# Specifies the local interface on which the SNMP agent will bind.
|
||||||
|
# This is useful when running on machines which have several
|
||||||
|
# interfaces defined. It makes it possible to listen to a specific
|
||||||
|
# subnet accessible through that interface.
|
||||||
|
# Default for this property is "localhost".
|
||||||
|
#
|
||||||
|
# The format of the value for that property is any string accepted
|
||||||
|
# by java.net.InetAddress.getByName(String).
|
||||||
|
#
|
||||||
|
|
||||||
|
# For restricting the port on which SNMP agent listens use the following line
|
||||||
|
# com.sun.management.snmp.interface=<InetAddress>
|
||||||
|
|
||||||
|
#
|
||||||
|
# #################### SNMP ACL file #########################
|
||||||
|
#
|
||||||
|
# com.sun.management.snmp.acl=true|false
|
||||||
|
# Default for this property is true. (Case for true/false ignored)
|
||||||
|
# If this property is specified as false then the ACL file
|
||||||
|
# is not checked: all manager hosts are allowed all access.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For SNMP without checking ACL file uncomment the following line
|
||||||
|
# com.sun.management.snmp.acl=false
|
||||||
|
|
||||||
|
#
|
||||||
|
# com.sun.management.snmp.acl.file=filepath
|
||||||
|
# Specifies location for ACL file
|
||||||
|
# This is optional - default location is
|
||||||
|
# $JRE/lib/management/snmp.acl
|
||||||
|
#
|
||||||
|
# If the property "com.sun.management.snmp.acl" is set to false,
|
||||||
|
# then this property and the ACL file are ignored.
|
||||||
|
# Otherwise the ACL file must exist and be in the valid format.
|
||||||
|
# If the ACL file is empty or non existent then no access is allowed.
|
||||||
|
#
|
||||||
|
# The SNMP agent will read the ACL file at startup time.
|
||||||
|
# Modification to the ACL file has no effect to any running SNMP
|
||||||
|
# agents which read that ACL file at startup.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For a non-default acl file location use the following line
|
||||||
|
# com.sun.management.snmp.acl.file=filepath
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
# RMI Management Properties
|
||||||
|
#####################################################################
|
||||||
|
#
|
||||||
|
# If system property -Dcom.sun.management.jmxremote.port=<port-number>
|
||||||
|
# is set then
|
||||||
|
# - A MBean server is started
|
||||||
|
# - JRE Platform MBeans are registered in the MBean server
|
||||||
|
# - RMI connector is published in a private readonly registry at
|
||||||
|
# specified port using a well known name, "jmxrmi"
|
||||||
|
# - the following properties are read for JMX remote management.
|
||||||
|
#
|
||||||
|
# The configuration can be specified only at startup time.
|
||||||
|
# Later changes to above system property (e.g. via setProperty method),
|
||||||
|
# this config file, the password file, or the access file have no effect to the
|
||||||
|
# running MBean server, the connector, or the registry.
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# ########## RMI connector settings for local management ##########
|
||||||
|
#
|
||||||
|
# com.sun.management.jmxremote.local.only=true|false
|
||||||
|
# Default for this property is true. (Case for true/false ignored)
|
||||||
|
# If this property is specified as true then the local JMX RMI connector
|
||||||
|
# server will only accept connection requests from clients running on
|
||||||
|
# the host where the out-of-the-box JMX management agent is running.
|
||||||
|
# In order to ensure backwards compatibility this property could be
|
||||||
|
# set to false. However, deploying the local management agent in this
|
||||||
|
# way is discouraged because the local JMX RMI connector server will
|
||||||
|
# accept connection requests from any client either local or remote.
|
||||||
|
# For remote management the remote JMX RMI connector server should
|
||||||
|
# be used instead with authentication and SSL/TLS encryption enabled.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For allowing the local management agent accept local
|
||||||
|
# and remote connection requests use the following line
|
||||||
|
# com.sun.management.jmxremote.local.only=false
|
||||||
|
|
||||||
|
#
|
||||||
|
# ###################### RMI SSL #############################
|
||||||
|
#
|
||||||
|
# com.sun.management.jmxremote.ssl=true|false
|
||||||
|
# Default for this property is true. (Case for true/false ignored)
|
||||||
|
# If this property is specified as false then SSL is not used.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For RMI monitoring without SSL use the following line
|
||||||
|
# com.sun.management.jmxremote.ssl=false
|
||||||
|
|
||||||
|
# com.sun.management.jmxremote.ssl.config.file=filepath
|
||||||
|
# Specifies the location of the SSL configuration file. A properties
|
||||||
|
# file can be used to supply the keystore and truststore location and
|
||||||
|
# password settings thus avoiding to pass them as cleartext in the
|
||||||
|
# command-line.
|
||||||
|
#
|
||||||
|
# The current implementation of the out-of-the-box management agent will
|
||||||
|
# look up and use the properties specified below to configure the SSL
|
||||||
|
# keystore and truststore, if present:
|
||||||
|
# javax.net.ssl.keyStore=<keystore-location>
|
||||||
|
# javax.net.ssl.keyStorePassword=<keystore-password>
|
||||||
|
# javax.net.ssl.trustStore=<truststore-location>
|
||||||
|
# javax.net.ssl.trustStorePassword=<truststore-password>
|
||||||
|
# Any other properties in the file will be ignored. This will allow us
|
||||||
|
# to extend the property set in the future if required by the default
|
||||||
|
# SSL implementation.
|
||||||
|
#
|
||||||
|
# If the property "com.sun.management.jmxremote.ssl" is set to false,
|
||||||
|
# then this property is ignored.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For supplying the keystore settings in a file use the following line
|
||||||
|
# com.sun.management.jmxremote.ssl.config.file=filepath
|
||||||
|
|
||||||
|
# com.sun.management.jmxremote.ssl.enabled.cipher.suites=<cipher-suites>
|
||||||
|
# The value of this property is a string that is a comma-separated list
|
||||||
|
# of SSL/TLS cipher suites to enable. This property can be specified in
|
||||||
|
# conjunction with the previous property "com.sun.management.jmxremote.ssl"
|
||||||
|
# in order to control which particular SSL/TLS cipher suites are enabled
|
||||||
|
# for use by accepted connections. If this property is not specified then
|
||||||
|
# the SSL/TLS RMI Server Socket Factory uses the SSL/TLS cipher suites that
|
||||||
|
# are enabled by default.
|
||||||
|
#
|
||||||
|
|
||||||
|
# com.sun.management.jmxremote.ssl.enabled.protocols=<protocol-versions>
|
||||||
|
# The value of this property is a string that is a comma-separated list
|
||||||
|
# of SSL/TLS protocol versions to enable. This property can be specified in
|
||||||
|
# conjunction with the previous property "com.sun.management.jmxremote.ssl"
|
||||||
|
# in order to control which particular SSL/TLS protocol versions are
|
||||||
|
# enabled for use by accepted connections. If this property is not
|
||||||
|
# specified then the SSL/TLS RMI Server Socket Factory uses the SSL/TLS
|
||||||
|
# protocol versions that are enabled by default.
|
||||||
|
#
|
||||||
|
|
||||||
|
# com.sun.management.jmxremote.ssl.need.client.auth=true|false
|
||||||
|
# Default for this property is false. (Case for true/false ignored)
|
||||||
|
# If this property is specified as true in conjunction with the previous
|
||||||
|
# property "com.sun.management.jmxremote.ssl" then the SSL/TLS RMI Server
|
||||||
|
# Socket Factory will require client authentication.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For RMI monitoring with SSL client authentication use the following line
|
||||||
|
# com.sun.management.jmxremote.ssl.need.client.auth=true
|
||||||
|
|
||||||
|
# com.sun.management.jmxremote.registry.ssl=true|false
|
||||||
|
# Default for this property is false. (Case for true/false ignored)
|
||||||
|
# If this property is specified as true then the RMI registry used
|
||||||
|
# to bind the RMIServer remote object is protected with SSL/TLS
|
||||||
|
# RMI Socket Factories that can be configured with the properties:
|
||||||
|
# com.sun.management.jmxremote.ssl.config.file
|
||||||
|
# com.sun.management.jmxremote.ssl.enabled.cipher.suites
|
||||||
|
# com.sun.management.jmxremote.ssl.enabled.protocols
|
||||||
|
# com.sun.management.jmxremote.ssl.need.client.auth
|
||||||
|
# If the two properties below are true at the same time, i.e.
|
||||||
|
# com.sun.management.jmxremote.ssl=true
|
||||||
|
# com.sun.management.jmxremote.registry.ssl=true
|
||||||
|
# then the RMIServer remote object and the RMI registry are
|
||||||
|
# both exported with the same SSL/TLS RMI Socket Factories.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For using an SSL/TLS protected RMI registry use the following line
|
||||||
|
# com.sun.management.jmxremote.registry.ssl=true
|
||||||
|
|
||||||
|
#
|
||||||
|
# ################ RMI User authentication ################
|
||||||
|
#
|
||||||
|
# com.sun.management.jmxremote.authenticate=true|false
|
||||||
|
# Default for this property is true. (Case for true/false ignored)
|
||||||
|
# If this property is specified as false then no authentication is
|
||||||
|
# performed and all users are allowed all access.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For RMI monitoring without any checking use the following line
|
||||||
|
# com.sun.management.jmxremote.authenticate=false
|
||||||
|
|
||||||
|
#
|
||||||
|
# ################ RMI Login configuration ###################
|
||||||
|
#
|
||||||
|
# com.sun.management.jmxremote.login.config=<config-name>
|
||||||
|
# Specifies the name of a JAAS login configuration entry to use when
|
||||||
|
# authenticating users of RMI monitoring.
|
||||||
|
#
|
||||||
|
# Setting this property is optional - the default login configuration
|
||||||
|
# specifies a file-based authentication that uses the password file.
|
||||||
|
#
|
||||||
|
# When using this property to override the default login configuration
|
||||||
|
# then the named configuration entry must be in a file that gets loaded
|
||||||
|
# by JAAS. In addition, the login module(s) specified in the configuration
|
||||||
|
# should use the name and/or password callbacks to acquire the user's
|
||||||
|
# credentials. See the NameCallback and PasswordCallback classes in the
|
||||||
|
# javax.security.auth.callback package for more details.
|
||||||
|
#
|
||||||
|
# If the property "com.sun.management.jmxremote.authenticate" is set to
|
||||||
|
# false, then this property and the password & access files are ignored.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For a non-default login configuration use the following line
|
||||||
|
# com.sun.management.jmxremote.login.config=<config-name>
|
||||||
|
|
||||||
|
#
|
||||||
|
# ################ RMI Password file location ##################
|
||||||
|
#
|
||||||
|
# com.sun.management.jmxremote.password.file=filepath
|
||||||
|
# Specifies location for password file
|
||||||
|
# This is optional - default location is
|
||||||
|
# $JRE/lib/management/jmxremote.password
|
||||||
|
#
|
||||||
|
# If the property "com.sun.management.jmxremote.authenticate" is set to
|
||||||
|
# false, then this property and the password & access files are ignored.
|
||||||
|
# Otherwise the password file must exist and be in the valid format.
|
||||||
|
# If the password file is empty or non-existent then no access is allowed.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For a non-default password file location use the following line
|
||||||
|
# com.sun.management.jmxremote.password.file=filepath
|
||||||
|
|
||||||
|
#
|
||||||
|
# ################ RMI Access file location #####################
|
||||||
|
#
|
||||||
|
# com.sun.management.jmxremote.access.file=filepath
|
||||||
|
# Specifies location for access file
|
||||||
|
# This is optional - default location is
|
||||||
|
# $JRE/lib/management/jmxremote.access
|
||||||
|
#
|
||||||
|
# If the property "com.sun.management.jmxremote.authenticate" is set to
|
||||||
|
# false, then this property and the password & access files are ignored.
|
||||||
|
# Otherwise, the access file must exist and be in the valid format.
|
||||||
|
# If the access file is empty or non-existent then no access is allowed.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For a non-default password file location use the following line
|
||||||
|
# com.sun.management.jmxremote.access.file=filepath
|
||||||
|
#
|
||||||
|
|
||||||
|
# ################ Management agent listen interface #########################
|
||||||
|
#
|
||||||
|
# com.sun.management.jmxremote.host=<host-or-interface-name>
|
||||||
|
# Specifies the local interface on which the JMX RMI agent will bind.
|
||||||
|
# This is useful when running on machines which have several
|
||||||
|
# interfaces defined. It makes it possible to listen to a specific
|
||||||
|
# subnet accessible through that interface.
|
||||||
|
#
|
||||||
|
# The format of the value for that property is any string accepted
|
||||||
|
# by java.net.InetAddress.getByName(String).
|
||||||
|
#
|
110
runtime/jre/lib/management/snmp.acl.template
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
# ----------------------------------------------------------------------
|
||||||
|
# Template for SNMP Access Control List File
|
||||||
|
#
|
||||||
|
# o Copy this template to snmp.acl
|
||||||
|
# o Set access control for SNMP support
|
||||||
|
# o Change the permission of snmp.acl to be read-only
|
||||||
|
# by the owner.
|
||||||
|
#
|
||||||
|
# See below for the location of snmp.acl file.
|
||||||
|
# ----------------------------------------------------------------------
|
||||||
|
|
||||||
|
############################################################
|
||||||
|
# SNMP Access Control List File
|
||||||
|
############################################################
|
||||||
|
#
|
||||||
|
# Default location of this file is $JRE/lib/management/snmp.acl.
|
||||||
|
# You can specify an alternate location by specifying a property in
|
||||||
|
# the management config file $JRE/lib/management/management.properties
|
||||||
|
# or by specifying a system property (See that file for details).
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
##############################################################
|
||||||
|
# File permissions of the snmp.acl file
|
||||||
|
##############################################################
|
||||||
|
#
|
||||||
|
# Since there are cleartext community strings stored in this file,
|
||||||
|
# this ACL file must be readable by ONLY the owner,
|
||||||
|
# otherwise the program will exit with an error.
|
||||||
|
#
|
||||||
|
##############################################################
|
||||||
|
# Format of the acl group
|
||||||
|
##############################################################
|
||||||
|
#
|
||||||
|
# communities: a list of SNMP community strings to which the
|
||||||
|
# access control applies separated by commas.
|
||||||
|
#
|
||||||
|
# access: either "read-only" or "read-write".
|
||||||
|
#
|
||||||
|
# managers: a list of hosts to be granted the access rights.
|
||||||
|
# Each can be expressed as any one of the following:
|
||||||
|
# - hostname: hubble
|
||||||
|
# - ip v4 and v6 addresses: 123.456.789.12 , fe80::a00:20ff:fe9b:ea82
|
||||||
|
# - ip v4 and v6 netmask prefix notation: 123.456.789.0/24,
|
||||||
|
# fe80::a00:20ff:fe9b:ea82/64
|
||||||
|
# see RFC 2373 (http://www.ietf.org/rfc/rfc2373.txt)
|
||||||
|
#
|
||||||
|
# An example of two community groups for multiple hosts:
|
||||||
|
# acl = {
|
||||||
|
# {
|
||||||
|
# communities = public, private
|
||||||
|
# access = read-only
|
||||||
|
# managers = hubble, snowbell, nanak
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# communities = jerry
|
||||||
|
# access = read-write
|
||||||
|
# managers = hubble, telescope
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
#
|
||||||
|
##############################################################
|
||||||
|
# Format of the trap group
|
||||||
|
##############################################################
|
||||||
|
#
|
||||||
|
# trap-community: a single SNMP community string that will be included
|
||||||
|
# in the traps sent to the hosts.
|
||||||
|
#
|
||||||
|
# hosts: a list of hosts to which the SNMP agent will send traps.
|
||||||
|
#
|
||||||
|
# An example of two trap community definitions for multiple hosts:
|
||||||
|
# trap = {
|
||||||
|
# {
|
||||||
|
# trap-community = public
|
||||||
|
# hosts = hubble, snowbell
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# trap-community = private
|
||||||
|
# hosts = telescope
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
#
|
||||||
|
############################################################
|
||||||
|
#
|
||||||
|
# Update the community strings (public and private) below
|
||||||
|
# before copying this template file
|
||||||
|
#
|
||||||
|
# Common SNMP ACL Example
|
||||||
|
# ------------------------
|
||||||
|
#
|
||||||
|
# o Only localhost can connect, and access rights
|
||||||
|
# are limited to read-only
|
||||||
|
# o Traps are sent to localhost only
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# acl = {
|
||||||
|
# {
|
||||||
|
# communities = public, private
|
||||||
|
# access = read-only
|
||||||
|
# managers = localhost
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# trap = {
|
||||||
|
# {
|
||||||
|
# trap-community = public
|
||||||
|
# hosts = localhost
|
||||||
|
# }
|
||||||
|
# }
|
88
runtime/jre/lib/meta-index
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
% VERSION 2
|
||||||
|
% WARNING: this file is auto-generated; do not edit
|
||||||
|
% UNSUPPORTED: this file and its format may change and/or
|
||||||
|
% may be removed in a future release
|
||||||
|
# charsets.jar
|
||||||
|
sun/nio
|
||||||
|
sun/awt
|
||||||
|
! jce.jar
|
||||||
|
javax/crypto
|
||||||
|
sun/security
|
||||||
|
# jfr.jar
|
||||||
|
jdk/jfr
|
||||||
|
jdk/management
|
||||||
|
! jsse.jar
|
||||||
|
sun/security
|
||||||
|
com/sun/net/
|
||||||
|
! management-agent.jar
|
||||||
|
@ resources.jar
|
||||||
|
com/sun/java/util/jar/pack/
|
||||||
|
META-INF/services/sun.util.spi.XmlPropertiesProvider
|
||||||
|
META-INF/services/javax.print.PrintServiceLookup
|
||||||
|
com/sun/corba/
|
||||||
|
META-INF/services/javax.sound.midi.spi.SoundbankReader
|
||||||
|
sun/print
|
||||||
|
META-INF/services/javax.sound.midi.spi.MidiFileReader
|
||||||
|
META-INF/services/sun.java2d.cmm.CMMServiceProvider
|
||||||
|
javax/swing
|
||||||
|
META-INF/services/javax.sound.sampled.spi.AudioFileReader
|
||||||
|
META-INF/services/javax.sound.midi.spi.MidiDeviceProvider
|
||||||
|
sun/net
|
||||||
|
META-INF/services/javax.sound.sampled.spi.AudioFileWriter
|
||||||
|
com/sun/imageio/
|
||||||
|
META-INF/services/sun.java2d.pipe.RenderingEngine
|
||||||
|
META-INF/mimetypes.default
|
||||||
|
META-INF/services/javax.sound.midi.spi.MidiFileWriter
|
||||||
|
sun/rmi
|
||||||
|
javax/sql
|
||||||
|
META-INF/services/com.sun.tools.internal.ws.wscompile.Plugin
|
||||||
|
com/sun/rowset/
|
||||||
|
META-INF/services/javax.print.StreamPrintServiceFactory
|
||||||
|
META-INF/mailcap.default
|
||||||
|
java/lang
|
||||||
|
sun/text
|
||||||
|
javax/xml
|
||||||
|
META-INF/services/javax.sound.sampled.spi.MixerProvider
|
||||||
|
com/sun/xml/
|
||||||
|
META-INF/services/com.sun.tools.internal.xjc.Plugin
|
||||||
|
com/sun/java/swing/
|
||||||
|
com/sun/jndi/
|
||||||
|
com/sun/org/
|
||||||
|
META-INF/services/javax.sound.sampled.spi.FormatConversionProvider
|
||||||
|
! rt.jar
|
||||||
|
com/sun/java/util/jar/pack/
|
||||||
|
java/
|
||||||
|
org/ietf/
|
||||||
|
com/sun/beans/
|
||||||
|
com/sun/tracing/
|
||||||
|
com/sun/java/browser/
|
||||||
|
com/sun/corba/
|
||||||
|
com/sun/media/
|
||||||
|
com/sun/awt/
|
||||||
|
com/sun/management/
|
||||||
|
sun/
|
||||||
|
com/sun/jmx/
|
||||||
|
com/sun/demo/
|
||||||
|
com/sun/imageio/
|
||||||
|
com/sun/net/
|
||||||
|
com/sun/rmi/
|
||||||
|
org/w3c/
|
||||||
|
com/sun/swing/
|
||||||
|
com/sun/activation/
|
||||||
|
com/sun/nio/
|
||||||
|
com/sun/rowset/
|
||||||
|
org/jcp/
|
||||||
|
com/sun/istack/
|
||||||
|
jdk/
|
||||||
|
com/sun/naming/
|
||||||
|
org/xml/
|
||||||
|
org/omg/
|
||||||
|
com/sun/security/
|
||||||
|
com/sun/xml/
|
||||||
|
com/sun/java/swing/
|
||||||
|
com/oracle/
|
||||||
|
com/sun/java_cup/
|
||||||
|
com/sun/jndi/
|
||||||
|
com/sun/accessibility/
|
||||||
|
com/sun/org/
|
||||||
|
javax/
|
121
runtime/jre/lib/net.properties
Normal file
@ -0,0 +1,121 @@
|
|||||||
|
############################################################
|
||||||
|
# Default Networking Configuration File
|
||||||
|
#
|
||||||
|
# This file may contain default values for the networking system properties.
|
||||||
|
# These values are only used when the system properties are not specified
|
||||||
|
# on the command line or set programatically.
|
||||||
|
# For now, only the various proxy settings can be configured here.
|
||||||
|
############################################################
|
||||||
|
|
||||||
|
# Whether or not the DefaultProxySelector will default to System Proxy
|
||||||
|
# settings when they do exist.
|
||||||
|
# Set it to 'true' to enable this feature and check for platform
|
||||||
|
# specific proxy settings
|
||||||
|
# Note that the system properties that do explicitely set proxies
|
||||||
|
# (like http.proxyHost) do take precedence over the system settings
|
||||||
|
# even if java.net.useSystemProxies is set to true.
|
||||||
|
|
||||||
|
java.net.useSystemProxies=false
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------
|
||||||
|
# Proxy configuration for the various protocol handlers.
|
||||||
|
# DO NOT uncomment these lines if you have set java.net.useSystemProxies
|
||||||
|
# to true as the protocol specific properties will take precedence over
|
||||||
|
# system settings.
|
||||||
|
#------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# HTTP Proxy settings. proxyHost is the name of the proxy server
|
||||||
|
# (e.g. proxy.mydomain.com), proxyPort is the port number to use (default
|
||||||
|
# value is 80) and nonProxyHosts is a '|' separated list of hostnames which
|
||||||
|
# should be accessed directly, ignoring the proxy server (default value is
|
||||||
|
# localhost & 127.0.0.1).
|
||||||
|
#
|
||||||
|
# http.proxyHost=
|
||||||
|
# http.proxyPort=80
|
||||||
|
http.nonProxyHosts=localhost|127.*|[::1]
|
||||||
|
#
|
||||||
|
# HTTPS Proxy Settings. proxyHost is the name of the proxy server
|
||||||
|
# (e.g. proxy.mydomain.com), proxyPort is the port number to use (default
|
||||||
|
# value is 443). The HTTPS protocol handlers uses the http nonProxyHosts list.
|
||||||
|
#
|
||||||
|
# https.proxyHost=
|
||||||
|
# https.proxyPort=443
|
||||||
|
#
|
||||||
|
# FTP Proxy settings. proxyHost is the name of the proxy server
|
||||||
|
# (e.g. proxy.mydomain.com), proxyPort is the port number to use (default
|
||||||
|
# value is 80) and nonProxyHosts is a '|' separated list of hostnames which
|
||||||
|
# should be accessed directly, ignoring the proxy server (default value is
|
||||||
|
# localhost & 127.0.0.1).
|
||||||
|
#
|
||||||
|
# ftp.proxyHost=
|
||||||
|
# ftp.proxyPort=80
|
||||||
|
ftp.nonProxyHosts=localhost|127.*|[::1]
|
||||||
|
#
|
||||||
|
# Gopher Proxy settings. proxyHost is the name of the proxy server
|
||||||
|
# (e.g. proxy.mydomain.com), proxyPort is the port number to use (default
|
||||||
|
# value is 80)
|
||||||
|
#
|
||||||
|
# gopher.proxyHost=
|
||||||
|
# gopher.proxyPort=80
|
||||||
|
#
|
||||||
|
# Socks proxy settings. socksProxyHost is the name of the proxy server
|
||||||
|
# (e.g. socks.domain.com), socksProxyPort is the port number to use
|
||||||
|
# (default value is 1080)
|
||||||
|
#
|
||||||
|
# socksProxyHost=
|
||||||
|
# socksProxyPort=1080
|
||||||
|
#
|
||||||
|
# HTTP Keep Alive settings. remainingData is the maximum amount of data
|
||||||
|
# in kilobytes that will be cleaned off the underlying socket so that it
|
||||||
|
# can be reused (default value is 512K), queuedConnections is the maximum
|
||||||
|
# number of Keep Alive connections to be on the queue for clean up (default
|
||||||
|
# value is 10).
|
||||||
|
# http.KeepAlive.remainingData=512
|
||||||
|
# http.KeepAlive.queuedConnections=10
|
||||||
|
|
||||||
|
# Authentication Scheme restrictions for HTTP and HTTPS.
|
||||||
|
#
|
||||||
|
# In some environments certain authentication schemes may be undesirable
|
||||||
|
# when proxying HTTP or HTTPS. For example, "Basic" results in effectively the
|
||||||
|
# cleartext transmission of the user's password over the physical network.
|
||||||
|
# This section describes the mechanism for disabling authentication schemes
|
||||||
|
# based on the scheme name. Disabled schemes will be treated as if they are not
|
||||||
|
# supported by the implementation.
|
||||||
|
#
|
||||||
|
# The 'jdk.http.auth.tunneling.disabledSchemes' property lists the authentication
|
||||||
|
# schemes that will be disabled when tunneling HTTPS over a proxy, HTTP CONNECT.
|
||||||
|
# The 'jdk.http.auth.proxying.disabledSchemes' property lists the authentication
|
||||||
|
# schemes that will be disabled when proxying HTTP.
|
||||||
|
#
|
||||||
|
# In both cases the property is a comma-separated list of, case-insensitive,
|
||||||
|
# authentication scheme names, as defined by their relevant RFCs. An
|
||||||
|
# implementation may, but is not required to, support common schemes whose names
|
||||||
|
# include: 'Basic', 'Digest', 'NTLM', 'Kerberos', 'Negotiate'. A scheme that
|
||||||
|
# is not known, or not supported, by the implementation is ignored.
|
||||||
|
#
|
||||||
|
# Note: This property is currently used by the JDK Reference implementation. It
|
||||||
|
# is not guaranteed to be examined and used by other implementations.
|
||||||
|
#
|
||||||
|
#jdk.http.auth.proxying.disabledSchemes=
|
||||||
|
jdk.http.auth.tunneling.disabledSchemes=Basic
|
||||||
|
|
||||||
|
#
|
||||||
|
# Transparent NTLM HTTP authentication mode on Windows. Transparent authentication
|
||||||
|
# can be used for the NTLM scheme, where the security credentials based on the
|
||||||
|
# currently logged in user's name and password can be obtained directly from the
|
||||||
|
# operating system, without prompting the user. This property has three possible
|
||||||
|
# values which regulate the behavior as shown below. Other unrecognized values
|
||||||
|
# are handled the same as 'disabled'. Note, that NTLM is not considered to be a
|
||||||
|
# strongly secure authentication scheme and care should be taken before enabling
|
||||||
|
# this mechanism.
|
||||||
|
#
|
||||||
|
# Transparent authentication never used.
|
||||||
|
#jdk.http.ntlm.transparentAuth=disabled
|
||||||
|
#
|
||||||
|
# Enabled for all hosts.
|
||||||
|
#jdk.http.ntlm.transparentAuth=allHosts
|
||||||
|
#
|
||||||
|
# Enabled for hosts that are trusted in Windows Internet settings
|
||||||
|
#jdk.http.ntlm.transparentAuth=trustedHosts
|
||||||
|
#
|
||||||
|
jdk.http.ntlm.transparentAuth=disabled
|
119
runtime/jre/lib/psfont.properties.ja
Normal file
@ -0,0 +1,119 @@
|
|||||||
|
#
|
||||||
|
#
|
||||||
|
# Copyright (c) 1996, 2000, 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. 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# Japanese PostScript printer property file
|
||||||
|
#
|
||||||
|
font.num=16
|
||||||
|
#
|
||||||
|
serif=serif
|
||||||
|
timesroman=serif
|
||||||
|
sansserif=sansserif
|
||||||
|
helvetica=sansserif
|
||||||
|
monospaced=monospaced
|
||||||
|
courier=monospaced
|
||||||
|
dialog=sansserif
|
||||||
|
dialoginput=monospaced
|
||||||
|
#
|
||||||
|
serif.latin1.plain=Times-Roman
|
||||||
|
serif.latin1.italic=Times-Italic
|
||||||
|
serif.latin1.bolditalic=Times-BoldItalic
|
||||||
|
serif.latin1.bold=Times-Bold
|
||||||
|
#
|
||||||
|
sansserif.latin1.plain=Helvetica
|
||||||
|
sansserif.latin1.italic=Helvetica-Oblique
|
||||||
|
sansserif.latin1.bolditalic=Helvetica-BoldOblique
|
||||||
|
sansserif.latin1.bold=Helvetica-Bold
|
||||||
|
#
|
||||||
|
monospaced.latin1.plain=Courier
|
||||||
|
monospaced.latin1.italic=Courier-Oblique
|
||||||
|
monospaced.latin1.bolditalic=Courier-BoldOblique
|
||||||
|
monospaced.latin1.bold=Courier-Bold
|
||||||
|
#
|
||||||
|
serif.x11jis0208.plain=Ryumin-Light-H
|
||||||
|
serif.x11jis0208.italic=Ryumin-Light-H
|
||||||
|
serif.x11jis0208.bolditalic=Ryumin-Light-H
|
||||||
|
serif.x11jis0208.bold=Ryumin-Light-H
|
||||||
|
#
|
||||||
|
sansserif.x11jis0208.plain=GothicBBB-Medium-H
|
||||||
|
sansserif.x11jis0208.italic=GothicBBB-Medium-H
|
||||||
|
sansserif.x11jis0208.bolditalic=GothicBBB-Medium-H
|
||||||
|
sansserif.x11jis0208.bold=GothicBBB-Medium-H
|
||||||
|
#
|
||||||
|
monospaced.x11jis0208.plain=GothicBBB-Medium-H
|
||||||
|
monospaced.x11jis0208.italic=GothicBBB-Medium-H
|
||||||
|
monospaced.x11jis0208.bolditalic=GothicBBB-Medium-H
|
||||||
|
monospaced.x11jis0208.bold=GothicBBB-Medium-H
|
||||||
|
#
|
||||||
|
serif.x11jis0201.plain=Ryumin-Light.Hankaku
|
||||||
|
serif.x11jis0201.italic=Ryumin-Light.Hankaku
|
||||||
|
serif.x11jis0201.bolditalic=Ryumin-Light.Hankaku
|
||||||
|
serif.x11jis0201.bold=Ryumin-Light.Hankaku
|
||||||
|
#
|
||||||
|
sansserif.x11jis0201.plain=GothicBBB-Medium.Hankaku
|
||||||
|
sansserif.x11jis0201.italic=GothicBBB-Medium.Hankaku
|
||||||
|
sansserif.x11jis0201.bolditalic=GothicBBB-Medium.Hankaku
|
||||||
|
sansserif.x11jis0201.bold=GothicBBB-Medium.Hankaku
|
||||||
|
#
|
||||||
|
monospaced.x11jis0201.plain=GothicBBB-Medium.Hankaku
|
||||||
|
monospaced.x11jis0201.italic=GothicBBB-Medium.Hankaku
|
||||||
|
monospaced.x11jis0201.bolditalic=GothicBBB-Medium.Hankaku
|
||||||
|
monospaced.x11jis0201.bold=GothicBBB-Medium.Hankaku
|
||||||
|
#
|
||||||
|
Helvetica=0
|
||||||
|
Helvetica-Bold=1
|
||||||
|
Helvetica-Oblique=2
|
||||||
|
Helvetica-BoldOblique=3
|
||||||
|
Times-Roman=4
|
||||||
|
Times-Bold=5
|
||||||
|
Times-Italic=6
|
||||||
|
Times-BoldItalic=7
|
||||||
|
Courier=8
|
||||||
|
Courier-Bold=9
|
||||||
|
Courier-Oblique=10
|
||||||
|
Courier-BoldOblique=11
|
||||||
|
GothicBBB-Medium-H=12
|
||||||
|
Ryumin-Light-H=13
|
||||||
|
GothicBBB-Medium.Hankaku=14
|
||||||
|
Ryumin-Light.Hankaku=15
|
||||||
|
#
|
||||||
|
font.0=Helvetica ISOF
|
||||||
|
font.1=Helvetica-Bold ISOF
|
||||||
|
font.2=Helvetica-Oblique ISOF
|
||||||
|
font.3=Helvetica-BoldOblique ISOF
|
||||||
|
font.4=Times-Roman ISOF
|
||||||
|
font.5=Times-Bold ISOF
|
||||||
|
font.6=Times-Italic ISOF
|
||||||
|
font.7=Times-BoldItalic ISOF
|
||||||
|
font.8=Courier ISOF
|
||||||
|
font.9=Courier-Bold ISOF
|
||||||
|
font.10=Courier-Oblique ISOF
|
||||||
|
font.11=Courier-BoldOblique ISOF
|
||||||
|
font.12=GothicBBB-Medium-H findfont
|
||||||
|
font.13=Ryumin-Light-H findfont
|
||||||
|
font.14=GothicBBB-Medium.Hankaku findfont
|
||||||
|
font.15=Ryumin-Light.Hankaku findfont
|
||||||
|
#
|
323
runtime/jre/lib/psfontj2d.properties
Normal file
@ -0,0 +1,323 @@
|
|||||||
|
#
|
||||||
|
#
|
||||||
|
# Copyright (c) 1999, 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. 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.
|
||||||
|
|
||||||
|
#
|
||||||
|
# PostScript printer property file for Java 2D printing.
|
||||||
|
#
|
||||||
|
# WARNING: This is an internal implementation file, not a public file.
|
||||||
|
# Any customisation or reliance on the existence of this file and its
|
||||||
|
# contents or syntax is discouraged and unsupported.
|
||||||
|
# It may be incompatibly changed or removed without any notice.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
font.num=35
|
||||||
|
#
|
||||||
|
# Legacy logical font family names and logical font aliases should all
|
||||||
|
# map to the primary logical font names.
|
||||||
|
#
|
||||||
|
serif=serif
|
||||||
|
times=serif
|
||||||
|
timesroman=serif
|
||||||
|
sansserif=sansserif
|
||||||
|
helvetica=sansserif
|
||||||
|
dialog=sansserif
|
||||||
|
dialoginput=monospaced
|
||||||
|
monospaced=monospaced
|
||||||
|
courier=monospaced
|
||||||
|
#
|
||||||
|
# Next, physical fonts which can be safely mapped to standard postscript fonts
|
||||||
|
# These keys generally map to a value which is the same as the key, so
|
||||||
|
# the key/value is just a way to say the font has a mapping.
|
||||||
|
# Sometimes however we map more than one screen font to the same PS font.
|
||||||
|
#
|
||||||
|
avantgarde=avantgarde_book
|
||||||
|
avantgarde_book=avantgarde_book
|
||||||
|
avantgarde_demi=avantgarde_demi
|
||||||
|
avantgarde_book_oblique=avantgarde_book_oblique
|
||||||
|
avantgarde_demi_oblique=avantgarde_demi_oblique
|
||||||
|
#
|
||||||
|
itcavantgarde=avantgarde_book
|
||||||
|
itcavantgarde=avantgarde_book
|
||||||
|
itcavantgarde_demi=avantgarde_demi
|
||||||
|
itcavantgarde_oblique=avantgarde_book_oblique
|
||||||
|
itcavantgarde_demi_oblique=avantgarde_demi_oblique
|
||||||
|
#
|
||||||
|
bookman=bookman_light
|
||||||
|
bookman_light=bookman_light
|
||||||
|
bookman_demi=bookman_demi
|
||||||
|
bookman_light_italic=bookman_light_italic
|
||||||
|
bookman_demi_italic=bookman_demi_italic
|
||||||
|
#
|
||||||
|
# Exclude "helvetica" on its own as that's a legacy name for a logical font
|
||||||
|
helvetica_bold=helvetica_bold
|
||||||
|
helvetica_oblique=helvetica_oblique
|
||||||
|
helvetica_bold_oblique=helvetica_bold_oblique
|
||||||
|
#
|
||||||
|
itcbookman_light=bookman_light
|
||||||
|
itcbookman_demi=bookman_demi
|
||||||
|
itcbookman_light_italic=bookman_light_italic
|
||||||
|
itcbookman_demi_italic=bookman_demi_italic
|
||||||
|
#
|
||||||
|
# Exclude "courier" on its own as that's a legacy name for a logical font
|
||||||
|
courier_bold=courier_bold
|
||||||
|
courier_oblique=courier_oblique
|
||||||
|
courier_bold_oblique=courier_bold_oblique
|
||||||
|
#
|
||||||
|
courier_new=courier
|
||||||
|
courier_new_bold=courier_bold
|
||||||
|
#
|
||||||
|
monotype_century_schoolbook=newcenturyschoolbook
|
||||||
|
monotype_century_schoolbook_bold=newcenturyschoolbook_bold
|
||||||
|
monotype_century_schoolbook_italic=newcenturyschoolbook_italic
|
||||||
|
monotype_century_schoolbook_bold_italic=newcenturyschoolbook_bold_italic
|
||||||
|
#
|
||||||
|
newcenturyschoolbook=newcenturyschoolbook
|
||||||
|
newcenturyschoolbook_bold=newcenturyschoolbook_bold
|
||||||
|
newcenturyschoolbook_italic=newcenturyschoolbook_italic
|
||||||
|
newcenturyschoolbook_bold_italic=newcenturyschoolbook_bold_italic
|
||||||
|
#
|
||||||
|
palatino=palatino
|
||||||
|
palatino_bold=palatino_bold
|
||||||
|
palatino_italic=palatino_italic
|
||||||
|
palatino_bold_italic=palatino_bold_italic
|
||||||
|
#
|
||||||
|
# Exclude "times" on its own as that's a legacy name for a logical font
|
||||||
|
times_bold=times_roman_bold
|
||||||
|
times_italic=times_roman_italic
|
||||||
|
times_bold_italic=times_roman_bold_italic
|
||||||
|
#
|
||||||
|
times_roman=times_roman
|
||||||
|
times_roman_bold=times_roman_bold
|
||||||
|
times_roman_italic=times_roman_italic
|
||||||
|
times_roman_bold_italic=times_roman_bold_italic
|
||||||
|
#
|
||||||
|
times_new_roman=times_roman
|
||||||
|
times_new_roman_bold=times_roman_bold
|
||||||
|
times_new_roman_italic=times_roman_italic
|
||||||
|
times_new_roman_bold_italic=times_roman_bold_italic
|
||||||
|
#
|
||||||
|
zapfchancery_italic=zapfchancery_italic
|
||||||
|
itczapfchancery_italic=zapfchancery_italic
|
||||||
|
#
|
||||||
|
# Next the mapping of the font name + charset + style to Postscript font name
|
||||||
|
# for the logical fonts.
|
||||||
|
#
|
||||||
|
serif.latin1.plain=Times-Roman
|
||||||
|
serif.latin1.bold=Times-Bold
|
||||||
|
serif.latin1.italic=Times-Italic
|
||||||
|
serif.latin1.bolditalic=Times-BoldItalic
|
||||||
|
serif.symbol.plain=Symbol
|
||||||
|
serif.dingbats.plain=ZapfDingbats
|
||||||
|
serif.symbol.bold=Symbol
|
||||||
|
serif.dingbats.bold=ZapfDingbats
|
||||||
|
serif.symbol.italic=Symbol
|
||||||
|
serif.dingbats.italic=ZapfDingbats
|
||||||
|
serif.symbol.bolditalic=Symbol
|
||||||
|
serif.dingbats.bolditalic=ZapfDingbats
|
||||||
|
#
|
||||||
|
sansserif.latin1.plain=Helvetica
|
||||||
|
sansserif.latin1.bold=Helvetica-Bold
|
||||||
|
sansserif.latin1.italic=Helvetica-Oblique
|
||||||
|
sansserif.latin1.bolditalic=Helvetica-BoldOblique
|
||||||
|
sansserif.symbol.plain=Symbol
|
||||||
|
sansserif.dingbats.plain=ZapfDingbats
|
||||||
|
sansserif.symbol.bold=Symbol
|
||||||
|
sansserif.dingbats.bold=ZapfDingbats
|
||||||
|
sansserif.symbol.italic=Symbol
|
||||||
|
sansserif.dingbats.italic=ZapfDingbats
|
||||||
|
sansserif.symbol.bolditalic=Symbol
|
||||||
|
sansserif.dingbats.bolditalic=ZapfDingbats
|
||||||
|
#
|
||||||
|
monospaced.latin1.plain=Courier
|
||||||
|
monospaced.latin1.bold=Courier-Bold
|
||||||
|
monospaced.latin1.italic=Courier-Oblique
|
||||||
|
monospaced.latin1.bolditalic=Courier-BoldOblique
|
||||||
|
monospaced.symbol.plain=Symbol
|
||||||
|
monospaced.dingbats.plain=ZapfDingbats
|
||||||
|
monospaced.symbol.bold=Symbol
|
||||||
|
monospaced.dingbats.bold=ZapfDingbats
|
||||||
|
monospaced.symbol.italic=Symbol
|
||||||
|
monospaced.dingbats.italic=ZapfDingbats
|
||||||
|
monospaced.symbol.bolditalic=Symbol
|
||||||
|
monospaced.dingbats.bolditalic=ZapfDingbats
|
||||||
|
#
|
||||||
|
# Next the mapping of the font name + charset + style to Postscript font name
|
||||||
|
# for the physical fonts. Since these always report style as plain, the
|
||||||
|
# style key is always plain. So we map using the face name to the correct
|
||||||
|
# style for the postscript font. This is possible since the face names can
|
||||||
|
# be replied upon to be different for each style.
|
||||||
|
# However an application may try to create a Font applying a style to an
|
||||||
|
# physical name. We want to map to the correct Postscript font there too
|
||||||
|
# if possible but we do not map cases where the application tries to
|
||||||
|
# augment a style (eg ask for a bold version of a bold font)
|
||||||
|
# Defer to the 2D package to attempt create an artificially styled version
|
||||||
|
#
|
||||||
|
avantgarde_book.latin1.plain=AvantGarde-Book
|
||||||
|
avantgarde_demi.latin1.plain=AvantGarde-Demi
|
||||||
|
avantgarde_book_oblique.latin1.plain=AvantGarde-BookOblique
|
||||||
|
avantgarde_demi_oblique.latin1.plain=AvantGarde-DemiOblique
|
||||||
|
#
|
||||||
|
avantgarde_book.latin1.bold=AvantGarde-Demi
|
||||||
|
avantgarde_book.latin1.italic=AvantGarde-BookOblique
|
||||||
|
avantgarde_book.latin1.bolditalic=AvantGarde-DemiOblique
|
||||||
|
avantgarde_demi.latin1.italic=AvantGarde-DemiOblique
|
||||||
|
avantgarde_book_oblique.latin1.bold=AvantGarde-DemiOblique
|
||||||
|
#
|
||||||
|
bookman_light.latin1.plain=Bookman-Light
|
||||||
|
bookman_demi.latin1.plain=Bookman-Demi
|
||||||
|
bookman_light_italic.latin1.plain=Bookman-LightItalic
|
||||||
|
bookman_demi_italic.latin1.plain=Bookman-DemiItalic
|
||||||
|
#
|
||||||
|
bookman_light.latin1.bold=Bookman-Demi
|
||||||
|
bookman_light.latin1.italic=Bookman-LightItalic
|
||||||
|
bookman_light.latin1.bolditalic=Bookman-DemiItalic
|
||||||
|
bookman_light_bold.latin1.italic=Bookman-DemiItalic
|
||||||
|
bookman_light_italic.latin1.bold=Bookman-DemiItalic
|
||||||
|
#
|
||||||
|
courier.latin1.plain=Courier
|
||||||
|
courier_bold.latin1.plain=Courier-Bold
|
||||||
|
courier_oblique.latin1.plain=Courier-Oblique
|
||||||
|
courier_bold_oblique.latin1.plain=Courier-BoldOblique
|
||||||
|
courier.latin1.bold=Courier-Bold
|
||||||
|
courier.latin1.italic=Courier-Oblique
|
||||||
|
courier.latin1.bolditalic=Courier-BoldOblique
|
||||||
|
courier_bold.latin1.italic=Courier-BoldOblique
|
||||||
|
courier_italic.latin1.bold=Courier-BoldOblique
|
||||||
|
#
|
||||||
|
helvetica_bold.latin1.plain=Helvetica-Bold
|
||||||
|
helvetica_oblique.latin1.plain=Helvetica-Oblique
|
||||||
|
helvetica_bold_oblique.latin1.plain=Helvetica-BoldOblique
|
||||||
|
helvetica.latin1.bold=Helvetica-Bold
|
||||||
|
helvetica.latin1.italic=Helvetica-Oblique
|
||||||
|
helvetica.latin1.bolditalic=Helvetica-BoldOblique
|
||||||
|
helvetica_bold.latin1.italic=Helvetica-BoldOblique
|
||||||
|
helvetica_italic.latin1.bold=Helvetica-BoldOblique
|
||||||
|
#
|
||||||
|
newcenturyschoolbook.latin1.plain=NewCenturySchlbk-Roman
|
||||||
|
newcenturyschoolbook_bold.latin1.plain=NewCenturySchlbk-Bold
|
||||||
|
newcenturyschoolbook_italic.latin1.plain=NewCenturySchlbk-Italic
|
||||||
|
newcenturyschoolbook_bold_italic.latin1.plain=NewCenturySchlbk-BoldItalic
|
||||||
|
newcenturyschoolbook.latin1.bold=NewCenturySchlbk-Bold
|
||||||
|
newcenturyschoolbook.latin1.italic=NewCenturySchlbk-Italic
|
||||||
|
newcenturyschoolbook.latin1.bolditalic=NewCenturySchlbk-BoldItalic
|
||||||
|
newcenturyschoolbook_bold.latin1.italic=NewCenturySchlbk-BoldItalic
|
||||||
|
newcenturyschoolbook_italic.latin1.bold=NewCenturySchlbk-BoldItalic
|
||||||
|
#
|
||||||
|
palatino.latin1.plain=Palatino-Roman
|
||||||
|
palatino_bold.latin1.plain=Palatino-Bold
|
||||||
|
palatino_italic.latin1.plain=Palatino-Italic
|
||||||
|
palatino_bold_italic.latin1.plain=Palatino-BoldItalic
|
||||||
|
palatino.latin1.bold=Palatino-Bold
|
||||||
|
palatino.latin1.italic=Palatino-Italic
|
||||||
|
palatino.latin1.bolditalic=Palatino-BoldItalic
|
||||||
|
palatino_bold.latin1.italic=Palatino-BoldItalic
|
||||||
|
palatino_italic.latin1.bold=Palatino-BoldItalic
|
||||||
|
#
|
||||||
|
times_roman.latin1.plain=Times-Roman
|
||||||
|
times_roman_bold.latin1.plain=Times-Bold
|
||||||
|
times_roman_italic.latin1.plain=Times-Italic
|
||||||
|
times_roman_bold_italic.latin1.plain=Times-BoldItalic
|
||||||
|
times_roman.latin1.bold=Times-Bold
|
||||||
|
times_roman.latin1.italic=Times-Italic
|
||||||
|
times_roman.latin1.bolditalic=Times-BoldItalic
|
||||||
|
times_roman_bold.latin1.italic=Times-BoldItalic
|
||||||
|
times_roman_italic.latin1.bold=Times-BoldItalic
|
||||||
|
#
|
||||||
|
zapfchancery_italic.latin1.plain=ZapfChancery-MediumItalic
|
||||||
|
#
|
||||||
|
# Finally the mappings of PS font names to indexes.
|
||||||
|
#
|
||||||
|
AvantGarde-Book=0
|
||||||
|
AvantGarde-BookOblique=1
|
||||||
|
AvantGarde-Demi=2
|
||||||
|
AvantGarde-DemiOblique=3
|
||||||
|
Bookman-Demi=4
|
||||||
|
Bookman-DemiItalic=5
|
||||||
|
Bookman-Light=6
|
||||||
|
Bookman-LightItalic=7
|
||||||
|
Courier=8
|
||||||
|
Courier-Bold=9
|
||||||
|
Courier-BoldOblique=10
|
||||||
|
Courier-Oblique=11
|
||||||
|
Helvetica=12
|
||||||
|
Helvetica-Bold=13
|
||||||
|
Helvetica-BoldOblique=14
|
||||||
|
Helvetica-Narrow=15
|
||||||
|
Helvetica-Narrow-Bold=16
|
||||||
|
Helvetica-Narrow-BoldOblique=17
|
||||||
|
Helvetica-Narrow-Oblique=18
|
||||||
|
Helvetica-Oblique=19
|
||||||
|
NewCenturySchlbk-Bold=20
|
||||||
|
NewCenturySchlbk-BoldItalic=21
|
||||||
|
NewCenturySchlbk-Italic=22
|
||||||
|
NewCenturySchlbk-Roman=23
|
||||||
|
Palatino-Bold=24
|
||||||
|
Palatino-BoldItalic=25
|
||||||
|
Palatino-Italic=26
|
||||||
|
Palatino-Roman=27
|
||||||
|
Symbol=28
|
||||||
|
Times-Bold=29
|
||||||
|
Times-BoldItalic=30
|
||||||
|
Times-Italic=31
|
||||||
|
Times-Roman=32
|
||||||
|
ZapfDingbats=33
|
||||||
|
ZapfChancery-MediumItalic=34
|
||||||
|
#
|
||||||
|
font.0=AvantGarde-Book ISOF
|
||||||
|
font.1=AvantGarde-BookOblique ISOF
|
||||||
|
font.2=AvantGarde-Demi ISOF
|
||||||
|
font.3=AvantGarde-DemiOblique ISOF
|
||||||
|
font.4=Bookman-Demi ISOF
|
||||||
|
font.5=Bookman-DemiItalic ISOF
|
||||||
|
font.6=Bookman-Light ISOF
|
||||||
|
font.7=Bookman-LightItalic ISOF
|
||||||
|
font.8=Courier ISOF
|
||||||
|
font.9=Courier-Bold ISOF
|
||||||
|
font.10=Courier-BoldOblique ISOF
|
||||||
|
font.11=Courier-Oblique ISOF
|
||||||
|
font.12=Helvetica ISOF
|
||||||
|
font.13=Helvetica-Bold ISOF
|
||||||
|
font.14=Helvetica-BoldOblique ISOF
|
||||||
|
font.15=Helvetica-Narrow ISOF
|
||||||
|
font.16=Helvetica-Narrow-Bold ISOF
|
||||||
|
font.17=Helvetica-Narrow-BoldOblique ISOF
|
||||||
|
font.18=Helvetica-Narrow-Oblique ISOF
|
||||||
|
font.19=Helvetica-Oblique ISOF
|
||||||
|
font.20=NewCenturySchlbk-Bold ISOF
|
||||||
|
font.21=NewCenturySchlbk-BoldItalic ISOF
|
||||||
|
font.22=NewCenturySchlbk-Italic ISOF
|
||||||
|
font.23=NewCenturySchlbk-Roman ISOF
|
||||||
|
font.24=Palatino-Bold ISOF
|
||||||
|
font.25=Palatino-BoldItalic ISOF
|
||||||
|
font.26=Palatino-Italic ISOF
|
||||||
|
font.27=Palatino-Roman ISOF
|
||||||
|
font.28=Symbol findfont
|
||||||
|
font.29=Times-Bold ISOF
|
||||||
|
font.30=Times-BoldItalic ISOF
|
||||||
|
font.31=Times-Italic ISOF
|
||||||
|
font.32=Times-Roman ISOF
|
||||||
|
font.33=ZapfDingbats findfont
|
||||||
|
font.34=ZapfChancery-MediumItalic ISOF
|
||||||
|
#
|
BIN
runtime/jre/lib/resources.jar
Normal file
BIN
runtime/jre/lib/rt.jar
Normal file
39
runtime/jre/lib/security/blacklisted.certs
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
Algorithm=SHA-256
|
||||||
|
03DB9E5E79FE6117177F81C11595AF598CB176AF766290DBCEB2C318B32E39A2
|
||||||
|
08C396C006A21055D00826A5781A5CCFCE2C8D053AB3C197637A4A7A5BB9A650
|
||||||
|
14E6D2764A4B06701C6CBC376A253775F79C782FBCB6C0EE6F99DE4BA1024ADD
|
||||||
|
1C5E6985ACC09221DBD1A4B7BBC6D3A8C3F8540D19F20763A9537FDD42B4FFE7
|
||||||
|
1F6BF8A3F2399AF7FD04516C2719C566CBAD51F412738F66D0457E1E6BDE6F2D
|
||||||
|
2A464E4113141352C7962FBD1706ED4B88533EF24D7BBA6CCC5D797FD202F1C4
|
||||||
|
31C8FD37DB9B56E708B03D1F01848B068C6DA66F36FB5D82C008C6040FA3E133
|
||||||
|
3946901F46B0071E90D78279E82FABABCA177231A704BE72C5B0E8918566EA66
|
||||||
|
3E11CF90719F6FB44D94EAC9A156B89BEBE7B8598F28EC58913F2BFCAF91D0C0
|
||||||
|
423279423B9FC8CB06F1BB7C3B247522B948D5F18939F378ECC901126DE40BFB
|
||||||
|
450F1B421BB05C8609854884559C323319619E8B06B001EA2DCBB74A23AA3BE2
|
||||||
|
4CBBF8256BC9888A8007B2F386940A2E394378B0D903CBB3863C5A6394B889CE
|
||||||
|
4FEE0163686ECBD65DB968E7494F55D84B25486D438E9DE558D629D28CD4D176
|
||||||
|
535D04DFCE027C70BD5F8A9E0AD4F218E9AFDCF5BBCF9B6DE0D81E148E2E3172
|
||||||
|
568FAF38D9F155F624838E2181B1CEB4D8459305EE652B0F810C97C3611BFE19
|
||||||
|
585CFE6B7436CBD4E732763A2137D7F49599BA9B1790E688FCEC799C58EB84A6
|
||||||
|
5E83124D68D24E8E177E306DF643D5EA99C5A94D6FC34B072F7544A1CABB7C7B
|
||||||
|
71CB00749B9130FB2707A2664BFF958D0FCC8E161D9674C7450BA0FC2BEAF9D3
|
||||||
|
76A45A496031E4DD2D7ED23E8F6FF97DBDEA980BAAC8B0BA94D7EDB551348645
|
||||||
|
8A1BD21661C60015065212CC98B1ABB50DFD14C872A208E66BAE890F25C448AF
|
||||||
|
9ED8F9B0E8E42A1656B8E1DD18F42BA42DC06FE52686173BA2FC70E756F207DC
|
||||||
|
9FADCE80D62A959F9930D748488C1E22E821F4E1E4A43584B848C2FC11E04D77
|
||||||
|
A686FEE577C88AB664D0787ECDFFF035F4806F3DE418DC9E4D516324FFF02083
|
||||||
|
A90132CEA1D4F7185E4F688EFFD16F6AC14DFD78356A807599A5DABBEEF3333E
|
||||||
|
B8686723E415534BC0DBD16326F9486F85B0B0799BF6639334E61DAAE67F36CD
|
||||||
|
C0D1F42B9F4BF7ACC045B7BB5D4805E10737F67B6310CE505248D543D0D5FE07
|
||||||
|
D0156949F1381943442C6974E9B5B49EF441BB799EF20477B90A89C3F33620CE
|
||||||
|
D151962D954970501C60079258EBCFA38502E0A9F03CD640322B08C0A3117FE5
|
||||||
|
D24566BF315F4E597D6E381C87119FB4198F5E9E2607F5F4AB362EF7E2E7672F
|
||||||
|
D3A936E1A7775A45217C8296A1F22AC5631DCDEC45594099E78EEEBBEDCBA967
|
||||||
|
D6CEAE5D9E047FAF7D797858D229AC991AD44316D1E2A37A21926D763153593A
|
||||||
|
DF21016B00FC54F9FE3BC8B039911BB216E9162FAD2FD14D990AB96E951B49BE
|
||||||
|
E0E740E4B0F8B3548181FF75B5372FAF4C70B99EC995D694ED0FB91B03FF8D21
|
||||||
|
EC30C9C3065A06BB07DC5B1C6B497F370C1CA65C0F30C08E042BA6BCECC78F2C
|
||||||
|
F5B6F88F75D391A4B1EB336F9E201239FB6B1377DB8CFA7B84736216E5AFFFD7
|
||||||
|
FBB12938ABD86C125796EDF4162D291028890A7D6C0C1CCA75FD4B95EBFA7A1A
|
||||||
|
FC02FD48DB92D4DCE6F11679D38354CF750CFC7F584A520EB90BDE80E241F2BD
|
||||||
|
FDEDB5BDFCB67411513A61AEE5CB5B5D7C52AF06028EFC996CC1B05B1D6CEA2B
|
BIN
runtime/jre/lib/security/cacerts
Normal file
51
runtime/jre/lib/security/java.policy
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
|
||||||
|
// Standard extensions get all permissions by default
|
||||||
|
|
||||||
|
grant codeBase "file:${{java.ext.dirs}}/*" {
|
||||||
|
permission java.security.AllPermission;
|
||||||
|
};
|
||||||
|
|
||||||
|
// default permissions granted to all domains
|
||||||
|
|
||||||
|
grant {
|
||||||
|
// Allows any thread to stop itself using the java.lang.Thread.stop()
|
||||||
|
// method that takes no argument.
|
||||||
|
// Note that this permission is granted by default only to remain
|
||||||
|
// backwards compatible.
|
||||||
|
// It is strongly recommended that you either remove this permission
|
||||||
|
// from this policy file or further restrict it to code sources
|
||||||
|
// that you specify, because Thread.stop() is potentially unsafe.
|
||||||
|
// See the API specification of java.lang.Thread.stop() for more
|
||||||
|
// information.
|
||||||
|
permission java.lang.RuntimePermission "stopThread";
|
||||||
|
|
||||||
|
// allows anyone to listen on dynamic ports
|
||||||
|
permission java.net.SocketPermission "localhost:0", "listen";
|
||||||
|
|
||||||
|
// "standard" properies that can be read by anyone
|
||||||
|
|
||||||
|
permission java.util.PropertyPermission "java.version", "read";
|
||||||
|
permission java.util.PropertyPermission "java.vendor", "read";
|
||||||
|
permission java.util.PropertyPermission "java.vendor.url", "read";
|
||||||
|
permission java.util.PropertyPermission "java.class.version", "read";
|
||||||
|
permission java.util.PropertyPermission "os.name", "read";
|
||||||
|
permission java.util.PropertyPermission "os.version", "read";
|
||||||
|
permission java.util.PropertyPermission "os.arch", "read";
|
||||||
|
permission java.util.PropertyPermission "file.separator", "read";
|
||||||
|
permission java.util.PropertyPermission "path.separator", "read";
|
||||||
|
permission java.util.PropertyPermission "line.separator", "read";
|
||||||
|
|
||||||
|
permission java.util.PropertyPermission "java.specification.version", "read";
|
||||||
|
permission java.util.PropertyPermission "java.specification.vendor", "read";
|
||||||
|
permission java.util.PropertyPermission "java.specification.name", "read";
|
||||||
|
|
||||||
|
permission java.util.PropertyPermission "java.vm.specification.version", "read";
|
||||||
|
permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
|
||||||
|
permission java.util.PropertyPermission "java.vm.specification.name", "read";
|
||||||
|
permission java.util.PropertyPermission "java.vm.version", "read";
|
||||||
|
permission java.util.PropertyPermission "java.vm.vendor", "read";
|
||||||
|
permission java.util.PropertyPermission "java.vm.name", "read";
|
||||||
|
|
||||||
|
permission java.util.PropertyPermission "sun.security.pkcs11.disableKeyExtraction", "read";
|
||||||
|
};
|
||||||
|
|
1230
runtime/jre/lib/security/java.security
Normal file
BIN
runtime/jre/lib/security/policy/limited/US_export_policy.jar
Normal file
BIN
runtime/jre/lib/security/policy/limited/local_policy.jar
Normal file
BIN
runtime/jre/lib/security/policy/unlimited/US_export_policy.jar
Normal file
BIN
runtime/jre/lib/security/policy/unlimited/local_policy.jar
Normal file
39
runtime/jre/lib/sound.properties
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
############################################################
|
||||||
|
# Sound Configuration File
|
||||||
|
############################################################
|
||||||
|
#
|
||||||
|
# This properties file is used to specify default service
|
||||||
|
# providers for javax.sound.midi.MidiSystem and
|
||||||
|
# javax.sound.sampled.AudioSystem.
|
||||||
|
#
|
||||||
|
# The following keys are recognized by MidiSystem methods:
|
||||||
|
#
|
||||||
|
# javax.sound.midi.Receiver
|
||||||
|
# javax.sound.midi.Sequencer
|
||||||
|
# javax.sound.midi.Synthesizer
|
||||||
|
# javax.sound.midi.Transmitter
|
||||||
|
#
|
||||||
|
# The following keys are recognized by AudioSystem methods:
|
||||||
|
#
|
||||||
|
# javax.sound.sampled.Clip
|
||||||
|
# javax.sound.sampled.Port
|
||||||
|
# javax.sound.sampled.SourceDataLine
|
||||||
|
# javax.sound.sampled.TargetDataLine
|
||||||
|
#
|
||||||
|
# The values specify the full class name of the service
|
||||||
|
# provider, or the device name.
|
||||||
|
#
|
||||||
|
# See the class descriptions for details.
|
||||||
|
#
|
||||||
|
# Example 1:
|
||||||
|
# Use MyDeviceProvider as default for SourceDataLines:
|
||||||
|
# javax.sound.sampled.SourceDataLine=com.xyz.MyDeviceProvider
|
||||||
|
#
|
||||||
|
# Example 2:
|
||||||
|
# Specify the default Synthesizer by its name "InternalSynth".
|
||||||
|
# javax.sound.midi.Synthesizer=#InternalSynth
|
||||||
|
#
|
||||||
|
# Example 3:
|
||||||
|
# Specify the default Receiver by provider and name:
|
||||||
|
# javax.sound.midi.Receiver=com.sun.media.sound.MidiProvider#SunMIDI1
|
||||||
|
#
|