huhuang03 / sfntly

Automatically exported from code.google.com/p/sfntly
0 stars 0 forks source link

Can't compile under openjdk-6 6b35-1.13.7-1ubuntu1 #46

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
reedy@ubuntu64-web-esxi:~/sfntly-read-only/java$ ant
Buildfile: /home/reedy/sfntly-read-only/java/build.xml

compile:
    [mkdir] Created dir: /home/reedy/sfntly-read-only/java/build/classes
    [javac] Compiling 200 source files to /home/reedy/sfntly-read-only/java/build/classes
    [javac] /home/reedy/sfntly-read-only/java/src/com/google/typography/font/sfntly/sample/sfview/OtTableTagger.java:128: cannot find symbol
    [javac] symbol  : class SafeVarargs
    [javac] location: class com.google.typography.font.sfntly.sample.sfview.OtTableTagger
    [javac]   @SafeVarargs
    [javac]    ^
    [javac] Note: /home/reedy/sfntly-read-only/java/src/com/google/typography/font/sfntly/sample/sfview/OtTableTagger.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

BUILD FAILED
/home/reedy/sfntly-read-only/java/common.xml:21: Compile failed; see the 
compiler error output for details.

Total time: 14 seconds
reedy@ubuntu64-web-esxi:~/sfntly-read-only/java$ javac -version
javac 1.6.0_35
reedy@ubuntu64-web-esxi:~/sfntly-read-only/java$ java -version
java version "1.6.0_35"
OpenJDK Runtime Environment (IcedTea6 1.13.7) (6b35-1.13.7-1ubuntu1)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)
reedy@ubuntu64-web-esxi:~/sfntly-read-only/java$ dpkg -l | grep jdk-6
ii  openjdk-6-jdk:amd64                  6b35-1.13.7-1ubuntu1                
amd64        OpenJDK Development Kit (JDK)
ii  openjdk-6-jre:amd64                  6b35-1.13.7-1ubuntu1                
amd64        OpenJDK Java runtime, using Hotspot JIT
ii  openjdk-6-jre-headless:amd64         6b35-1.13.7-1ubuntu1                
amd64        OpenJDK Java runtime, using Hotspot JIT (headless)
ii  openjdk-6-jre-lib                    6b35-1.13.7-1ubuntu1                
all          OpenJDK Java runtime (architecture independent libraries)
reedy@ubuntu64-web-esxi:~/sfntly-read-only/java$

Seemed to work fine on openjdk-6 6b33-1.13.5-1ubuntu1

Original issue reported on code.google.com by tehre...@gmail.com on 9 May 2015 at 10:22