Changeset 3290

Show
Ignore:
Timestamp:
01/06/09 06:44:38 (10 months ago)
Author:
chf
Message:

preliminary native code wrapping

Location:
trunk/ProjectFortress/src/com/sun/fortress
Files:
8 added
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/ProjectFortress/src/com/sun/fortress/repository/ProjectProperties.java

    r3040 r3290  
    11/******************************************************************************* 
    2     Copyright 2008 Sun Microsystems, Inc., 
     2    Copyright 2009 Sun Microsystems, Inc., 
    33    4150 Network Circle, Santa Clara, California 95054, U.S.A. 
    44    All rights reserved. 
     
    248248    public static final String ANALYZED_CACHE_DIR = get("fortress.analyzed.cache", "${CACHES}/analyzed_cache"); 
    249249    public static final String SYNTAX_CACHE_DIR = get("fortress.syntax.cache", "${CACHES}/syntax_cache"); 
    250     public static final String BYTECODE_CACHE_DIR = get("fortress.syntax.cache", "${CACHES}/bytecode_cache");     
     250    public static final String BYTECODE_CACHE_DIR = get("fortress.bytecode.cache", "${CACHES}/bytecode_cache");     
     251    public static final String NATIVE_WRAPPER_CACHE_DIR = get("fortress.nativewrapper.cache", "${CACHES}/nativewrapper_cache");     
    251252 
    252253    public static final Path SOURCE_PATH = new Path(searchDef("fortress.source.path", "FORTRESS_SOURCE_PATH", ".")); 
     
    259260        ensureDirectoryExists(SYNTAX_CACHE_DIR); 
    260261        ensureDirectoryExists(BYTECODE_CACHE_DIR); 
     262        ensureDirectoryExists(NATIVE_WRAPPER_CACHE_DIR); 
    261263    } 
    262264 
  • trunk/ProjectFortress/src/com/sun/fortress/tests/unit_tests/TransactionJUTest.java

    r2449 r3290  
    11/******************************************************************************* 
    2     Copyright 2008 Sun Microsystems, Inc., 
     2    Copyright 2009 Sun Microsystems, Inc., 
    33    4150 Network Circle, Santa Clara, California 95054, U.S.A. 
    44    All rights reserved. 
     
    1414    Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered 
    1515    trademarks of Sun Microsystems, Inc. in the U.S. and other countries. 
    16  ******************************************************************************/ 
     16******************************************************************************/ 
    1717 
    1818package com.sun.fortress.tests.unit_tests; 
     
    2424public class TransactionJUTest extends TestCaseWrapper { 
    2525    public TransactionJUTest(String testName) { 
    26  super(testName); 
     26        super(testName); 
    2727    } 
    2828    public TransactionJUTest() { 
    29  super("TransactionTest"); 
     29        super("TransactionTest"); 
    3030    } 
    3131 
    3232    public void testReadSet() { 
    33  int numThreads = Runtime.getRuntime().availableProcessors(); 
    34  FortressTaskRunnerGroup group = new FortressTaskRunnerGroup(numThreads); 
    35  TestTask task = new TestTask(); 
    36  group.invoke(task); 
     33        int numThreads = Runtime.getRuntime().availableProcessors(); 
     34        FortressTaskRunnerGroup group = new FortressTaskRunnerGroup(numThreads); 
     35        TestTask task = new TestTask(); 
     36        group.invoke(task); 
    3737    } 
    3838}