]> AND Public Git Repository - simgrid.git/commitdiff
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
tasks created without name and costs should still be created in C world
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sat, 27 Feb 2010 23:06:40 +0000 (23:06 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sat, 27 Feb 2010 23:06:40 +0000 (23:06 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7142 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/java/simgrid/msg/Task.java

index 6be020429789720ee4a829f756782ba698950a24..bdd7e603224385465f6d24965939a8fbb85f07d6 100644 (file)
@@ -26,7 +26,9 @@ public class Task {
 
 
        /* Default constructor (disabled) */
 
 
        /* Default constructor (disabled) */
-       protected Task() {}
+       public Task() throws JniException {
+               MsgNative.taskCreate(this, null, 0, 0);
+       }
        /* *              * *
         * * Constructors * *
         * *              * */
        /* *              * *
         * * Constructors * *
         * *              * */