Hi,

i sometimes get this warning if i don't execute a "make clean" before my "make all" in jdk repository.

/home/sebastian/deve/openjdk8/build/linux-i586/j2sdk-image/bin/javac -J-XX:ThreadStackSize=768 -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-client -J-Xmx512m -J-Xms512m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -Werror -Xlint:all -Xlint:-path -source 7 -target 7 -encoding ascii -Xbootclasspath:../../../build/linux-i586/classes -sourcepath ../../../build/linux-i586/gensrc:../../../src/solaris/classes:../../../src/share/classes -d ../../../build/linux-i586/classes @../../../build/linux-i586/tmp/java/java.nio/nio/.classes.list.filtered ../../../src/solaris/classes/sun/nio/ch/InheritedChannel.java:169: warning: [rawtypes] found raw type: Constructor Constructor ctr = Reflect.lookupConstructor("java.io.FileDescriptor",
        ^
  missing type arguments for generic class Constructor<T>
  where T is a type-variable:
    T extends Object declared in class Constructor
error: warnings found and -Werror specified


I uploaded the complete messages here.
http://oss-patches.24.eu/openjdk8/warningWithoutCleanBuild.log

last time it happend after i updated to 46b53f80ab0a of http://hg.openjdk.java.net/jdk8/tl/jdk/ and import the following 2 patches
http://oss-patches.24.eu/openjdk8/InternalError/part1/REBASED_ON_46b53f80ab0a/openjdk8-jdk-only.patch
http://oss-patches.24.eu/openjdk8/InternalError/part2/REBASED_ON_46b53f80ab0a/openjdk8-jdk-only.patch

you can maybe reproduce it with the following sequence:
hg update -r 46b53f80ab0a
make clean
make all
hg import --no-commit http://oss-patches.24.eu/openjdk8/InternalError/part1/REBASED_ON_46b53f80ab0a/openjdk8-jdk-only.patch
make all
hg import --force --no-commit http://oss-patches.24.eu/openjdk8/InternalError/part2/REBASED_ON_46b53f80ab0a/openjdk8-jdk-only.patch
make all  --->> Warning

Is it my Patch? But why?
or is there something in the buildscript that does not recompile dependencies correctly? may i expect that the build skript should handle that correctly?

-- Sebastian

Reply via email to