~ubuntu-branches/ubuntu/intrepid/proguard/intrepid

« back to all changes in this revision

Viewing changes to docs/manual/limitations.html

  • Committer: Bazaar Package Importer
  • Author(s): Sam Clegg
  • Date: 2008-05-15 10:39:48 UTC
  • mfrom: (1.1.5 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080515103948-8t5pbzq63uvz3i10
Tags: 4.2-1
* New upstream release
* Fix build of ant task (Closes: #459829)
  Thanks to Hans van Kranenburg <debian@knorrie.org>

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
<h2>Limitations</h2>
12
12
 
13
 
When using ProGuard, you should be aware of a few issues, all of which are
14
 
easily avoided or resolved:
 
13
When using ProGuard, you should be aware of a few technical issues, all of
 
14
which are easily avoided or resolved:
15
15
<p>
16
16
<ul>
17
17
 
36
36
    <code>-dontoptimize</code> option.
37
37
    <p>
38
38
 
39
 
<li>ProGuard's optimization algorithms also remove all <b>empty busy-waiting
40
 
    loops</b>, unless they test on fields that are marked as
41
 
    <code>volatile</code>. The specifications of the Java Virtual Machine
42
 
    require that you always mark fields that are accessed across different
43
 
    threads without further synchronization as <code>volatile</code>.
44
 
    Otherwise, you'll have to switch off optimization using the
45
 
    <code>-dontoptimize</code> option.
46
 
    <p>
47
 
 
48
39
<li>If an input jar and a library jar contain classes in the <b>same
49
40
    package</b>, the obfuscated output jar may contain class names that
50
41
    overlap with class names in the library jar. This is most likely if the