commit | 5536c6796faae18177e37072ffa46a47d2d6d097 | [log] [tgz] |
---|---|---|
author | canderson <canderson> | Thu Jan 13 19:40:21 2011 +0000 |
committer | canderson <canderson> | Thu Jan 13 19:40:21 2011 +0000 |
tree | 20a8453dabdc29de1aa78bc8b39fbc9195b60887 | |
parent | a158494bfbbf95a2b7c0e4247e53f7d749450962 [diff] |
[333835] TestValidator4 produces different byte codes with new compiler
diff --git a/tests/org.eclipse.wst.common.tests.validation/validators/org/eclipse/wst/validation/tests/TestValidator4.java b/tests/org.eclipse.wst.common.tests.validation/validators/org/eclipse/wst/validation/tests/TestValidator4.java index 5be6ffd..417b862 100644 --- a/tests/org.eclipse.wst.common.tests.validation/validators/org/eclipse/wst/validation/tests/TestValidator4.java +++ b/tests/org.eclipse.wst.common.tests.validation/validators/org/eclipse/wst/validation/tests/TestValidator4.java
@@ -41,15 +41,15 @@ @Override public ValidationResult validate(IResource resource, int kind, ValidationState state, IProgressMonitor monitor) { ValidationResult vr = super.validate(resource, kind, state, monitor); - long j = 0; + //long j = 0; try { - for (long i=0; i< 10000000; i++)j = i + 1; + //for (long i=0; i< 10000000; i++)j = i + 1; Thread.sleep(2000); } catch (InterruptedException e){ // eat it } - j++; // just to get rid of the compiler warning + //j++; // just to get rid of the compiler warning return vr; } }