all the jdk/test/java/lang/invoke/ tests are failing
Stephen Bannasch
stephen.bannasch at deanbrook.org
Sat Mar 5 14:45:00 PST 2011
At 2:17 PM -0800 3/5/11, John Rose wrote:
>On Mar 5, 2011, at 2:00 PM, Stephen Bannasch wrote:
>
>> At 12:26 PM -0800 3/5/11, John Rose wrote:
>>> They should work, but it will be the first time outside of Christian's and my developmet systems.
>>>
>>> There is probably a configuration error of some sort.
>>>
>>> Which patches are applied in both jdk and hotspot repositories?
>>
>> I'm specifying: buildable testable coro
>>
>> Here's what my build script reports when I start it:
>
>Yes, that looks right. I'll do some more digging.
>
>-- John
Here are some of the details jtreg generates trying to run the MethodHandles test:
#Test Results (version 2)
#Sat Mar 05 14:55:08 EST 2011
#checksum:b53ed7b42c62838
#-----testdescription-----
$file=/Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke/MethodHandlesTest.java
$root=/Users/stephen/dev/java/src/mlvm/sources/jdk/test
keywords=othervm junit
run=USER_SPECIFIED compile -source 7 -target 7 -XDallowTransitionalJSR292=no MethodHandlesTest.java\nUSER_SPECIFIED junit/othervm -XX:+UnlockExperimentalVMOptions -XX:+EnableMethodHandles test.java.lang.invoke.MethodHandlesTest\n
source=MethodHandlesTest.java
title=unit tests for java.lang.invoke.MethodHandles
#-----environment-----
#-----testresult-----
description=file:/Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke/MethodHandlesTest.java
end=Sat Mar 05 14:55:08 EST 2011
environment=regtest
execStatus=Failed. Compilation failed: exit code 1
javatestOS=Darwin 10.6.0 (amd64)
javatestVersion=4.1.4
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages compile
start=Sat Mar 05 14:55:04 EST 2011
test=java/lang/invoke/MethodHandlesTest.java
work=/Users/stephen/dev/java/src/mlvm/sources/JTwork/java/lang/invoke
#section:script_messages
----------messages:(4/243)----------
JDK under test: (build/bsd-amd64/j2sdk-image)
openjdk version "1.7.0-internal-fastdebug"
OpenJDK Runtime Environment (build 1.7.0-internal-fastdebug-stephen_2011_03_05_14_37-b00)
OpenJDK 64-Bit Server VM (build 20.0-b06-fastdebug, mixed mode)
#section:compile
----------messages:(3/304)----------
command: compile -source 7 -target 7 -XDallowTransitionalJSR292=no /Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke/MethodHandlesTest.java
reason: User specified action: run compile -source 7 -target 7 -XDallowTransitionalJSR292=no MethodHandlesTest.java
elapsed time (seconds): 4.518
----------System.out:(2/74)----------
VM option '+UnlockExperimentalVMOptions'
VM option '+EnableInvokeDynamic'
----------System.err:(493/27410)----------
/Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke/MethodHandlesTest.java:34: package java.lang.invoke does not exist
import java.lang.invoke.*;
^
/Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke/MethodHandlesTest.java:35: package java.lang.invoke.MethodHandles does not exist
import java.lang.invoke.MethodHandles.Lookup;
...
and them more errors where symbols can't be found:
/Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke/MethodHandlesTest.java:1250: cannot find symbol
void testConvert(MethodHandle id, Class<?> rtype, String name, Class<?>... params) throws Throwable {
^
symbol: class MethodHandle
location: class MethodHandlesTest
/Users/stephen/dev/java/src/mlvm/sources/jdk/test/java/lang/invoke/MethodHandlesTest.java:1256: cannot find symbol
MethodHandle id, Class<?> rtype, String name, Class<?>... params) throws Throwable {
^
...
100 errors
result: Failed. Compilation failed: exit code 1
test result: Failed. Compilation failed: exit code 1
More information about the mlvm-dev
mailing list