Changeset 3290
- Timestamp:
- 01/06/09 06:44:38 (10 months ago)
- Location:
- trunk/ProjectFortress/src/com/sun/fortress
- Files:
-
- 8 added
- 2 modified
-
compiler/nativeInterface (added)
-
compiler/nativeInterface/FortressMethodAdapter.java (added)
-
compiler/nativeInterface/FortressTransformer.java (added)
-
compiler/nativeInterface/MyClassLoader.java (added)
-
compiler/nativeInterface/SignatureParser.java (added)
-
nativeHelpers (added)
-
nativeHelpers/simplePrintln.java (added)
-
repository/ProjectProperties.java (modified) (3 diffs)
-
tests/unit_tests/TransactionJUTest.java (modified) (3 diffs)
-
tests/unit_tests/WrapperGeneratorJUTest.java (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ProjectFortress/src/com/sun/fortress/repository/ProjectProperties.java
r3040 r3290 1 1 /******************************************************************************* 2 Copyright 200 8Sun Microsystems, Inc.,2 Copyright 2009 Sun Microsystems, Inc., 3 3 4150 Network Circle, Santa Clara, California 95054, U.S.A. 4 4 All rights reserved. … … 248 248 public static final String ANALYZED_CACHE_DIR = get("fortress.analyzed.cache", "${CACHES}/analyzed_cache"); 249 249 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"); 251 252 252 253 public static final Path SOURCE_PATH = new Path(searchDef("fortress.source.path", "FORTRESS_SOURCE_PATH", ".")); … … 259 260 ensureDirectoryExists(SYNTAX_CACHE_DIR); 260 261 ensureDirectoryExists(BYTECODE_CACHE_DIR); 262 ensureDirectoryExists(NATIVE_WRAPPER_CACHE_DIR); 261 263 } 262 264 -
trunk/ProjectFortress/src/com/sun/fortress/tests/unit_tests/TransactionJUTest.java
r2449 r3290 1 1 /******************************************************************************* 2 Copyright 200 8Sun Microsystems, Inc.,2 Copyright 2009 Sun Microsystems, Inc., 3 3 4150 Network Circle, Santa Clara, California 95054, U.S.A. 4 4 All rights reserved. … … 14 14 Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered 15 15 trademarks of Sun Microsystems, Inc. in the U.S. and other countries. 16 ******************************************************************************/16 ******************************************************************************/ 17 17 18 18 package com.sun.fortress.tests.unit_tests; … … 24 24 public class TransactionJUTest extends TestCaseWrapper { 25 25 public TransactionJUTest(String testName) { 26 super(testName);26 super(testName); 27 27 } 28 28 public TransactionJUTest() { 29 super("TransactionTest");29 super("TransactionTest"); 30 30 } 31 31 32 32 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); 37 37 } 38 38 }

