commit | 74fe00e4d8f0dcec54d90bb7b834a7ca7289abf4 | [log] [tgz] |
---|---|---|
author | Frederic Fusier <ffusier> | Thu Sep 22 13:07:59 2005 +0000 |
committer | Frederic Fusier <ffusier> | Thu Sep 22 13:07:59 2005 +0000 |
tree | 4a3749c585087aec8941cc6810165235b5a23b77 | |
parent | fdc3c39123c572ae3729fcb6ba749e1f803a05da [diff] |
perf_31 - Fix DOM/AST perf test issue
diff --git a/org.eclipse.jdt.core.tests.performance/src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceASTTests.java b/org.eclipse.jdt.core.tests.performance/src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceASTTests.java index 3ae04db..fa12ae6 100644 --- a/org.eclipse.jdt.core.tests.performance/src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceASTTests.java +++ b/org.eclipse.jdt.core.tests.performance/src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceASTTests.java
@@ -12,6 +12,7 @@ import java.io.PrintStream; import java.text.NumberFormat; +import java.util.Hashtable; import java.util.List; import junit.framework.*; @@ -578,6 +579,9 @@ tagAsSummary("DOM>Creation>Src>JLS2", true); // put in fingerprint ICompilationUnit unit = getCompilationUnit("org.eclipse.jdt.core", "org.eclipse.jdt.internal.compiler.parser", "Parser.java"); + Hashtable options = JavaCore.getOptions(); + options.put(JavaCore.COMPILER_PB_NON_NLS_STRING_LITERAL, JavaCore.IGNORE); + JavaCore.setOptions(options); createAST(unit, AST.JLS2); }