Changes between Version 10 and Version 11 of Doc/compiler/problems


Ignore:
Timestamp:
Sep 28, 2007, 5:39:15 PM (17 years ago)
Author:
/C=FR/O=CNRS/OU=UMR8607/CN=Michel Jouvin/emailAddress=jouvin@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/compiler/problems

    v10 v11  
    2424=== WARNING: missing modifyThread permission ===
    2525
    26 The java-implementation of the pan language compiler is completely multi-threaded.  Internally, it controls several thread pools to handle compilation, execution, and serialization in parallel.  At the end of a compilation, the compiler will normally destroy the thread pools that were created.  The java security model requires that a program have the "modifyThread" permission to destroy threads.  In some environments (notably eclipse), this permission may not be given to the compiler.  If this is the case, then the message "WARNING: missing modifyThread permission" is printed on the standard error.  Lacking this permission causes a "thread leak", but the effects are minor unless an extremely large number of templates are being compiled.  If this is the case, then you should either change the configuration to grant this permission to the compiler, or work in an environment that grants it by default (e.g. using ant from the command line).
     26The java-implementation of the pan language compiler is completely multi-threaded.  Internally, it controls several thread pools to handle compilation, execution, and serialization in parallel.  At the end of a compilation, the compiler will normally destroy the thread pools that were created.  The java security model requires that a program have the "modifyThread" permission to destroy threads.  In some environments (notably Eclipse), this permission may not be given to the compiler.  If this is the case, then the message "WARNING: missing modifyThread permission" is printed on the standard error.  Lacking this permission causes a "thread leak", but the effects are minor unless an extremely large number of templates are being compiled.  If this is the case, then you should either change the configuration to grant this permission to the compiler, or work in an environment that grants it by default (e.g. using ant from the command line).
    2727
    28 This problem is fixed if using Java6. To configure eclipse with multiple JREs: go to "Window -> Preferences -> Java -> Installed JREs". If you don't see the JRE you want (and you have it installed), use the "Search" button to have eclipse configure the new JRE for you. Make sure you select it after it is found.
     28This problem is fixed if using Java6. If you have several JREs installed, be sure to configure Eclipse to use Java 6 : go to `Window->Preferences->Java->Installed JREs`. If you don't see the JRE you want (and you have it installed), use the "Search" button to have eclipse configure the new JRE for you. Make sure you select it after it is found.
    2929
    3030