Move generated snippets to a more approriate directory
This commit is contained in:
parent
8350ea4f61
commit
2a7523f615
73 changed files with 65 additions and 64 deletions
|
@ -0,0 +1,19 @@
|
|||
<?xml version='1.0' encoding='utf-8' ?>
|
||||
<!DOCTYPE programlisting PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
]>
|
||||
<!-- Automatically generated file. Do not edit. -->
|
||||
<programlisting language="Java">
|
||||
// This is expected to fail.
|
||||
try {
|
||||
System.out.println(System.getProperty("user.home"));
|
||||
} catch (SecurityException e) {
|
||||
e.printStackTrace(System.err);
|
||||
}
|
||||
AccessController.doPrivileged(new PrivilegedAction<Void>() {
|
||||
public Void run() {
|
||||
// This should work.
|
||||
System.out.println(System.getProperty("user.home"));
|
||||
return null;
|
||||
}
|
||||
});
|
||||
</programlisting>
|
Loading…
Add table
Add a link
Reference in a new issue