Bug#750747: glassfish: FTBFS with Java 8: package com.sun.mirror.declaration does not exist
Emmanuel Bourg
ebourg at apache.org
Fri Jun 6 13:47:51 UTC 2014
Source: glassfish
Version: 2.1.1-b31g-3
Severity: important
User: debian-java at lists.debian.org
Usertags: openjdk-8-transition
Hi,
During a rebuild of all Java packages in sid with OpenJDK 8,
this package failed to build with the following error:
compile:
[echo] src/java
[javac] Compiling 92 source files to /«PKGBUILDDIR»/common-util/build
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] /«PKGBUILDDIR»/common-util/src/java/org/glassfish/enterprise/ha/util/apt/generators/AbstractGenerator.java:3: error: package com.sun.mirror.declaration does not exist
[javac] import com.sun.mirror.declaration.ParameterDeclaration;
[javac] ^
[javac] /«PKGBUILDDIR»/common-util/src/java/org/glassfish/enterprise/ha/util/apt/generators/AbstractGenerator.java:4: error: package com.sun.mirror.type does not exist
[javac] import com.sun.mirror.type.PrimitiveType;
[javac] ^
[javac] /«PKGBUILDDIR»/common-util/src/java/org/glassfish/enterprise/ha/util/apt/generators/AbstractGenerator.java:21: error: cannot find symbol
[javac] protected Map<String, ParameterDeclaration> params =
[javac] ^
[javac] symbol: class ParameterDeclaration
[javac] location: class AbstractGenerator
[javac] /«PKGBUILDDIR»/common-util/src/java/org/glassfish/enterprise/ha/util/apt/generators/AbstractGenerator.java:48: error: cannot find symbol
[javac] protected void addAttribute(String attrName, ParameterDeclaration decl) {
[javac] ^
[javac] symbol: class ParameterDeclaration
[javac] location: class AbstractGenerator
The full build log is available from:
http://87.98.165.193/debian/openjdk8-rebuild/logs-failed-jdk8/glassfish_2.1.1-b31g-3_unstable_jdk8.log
OpenJDK 8 packages are available for testing here:
http://87.98.165.193/debian/openjdk-8u5-b13/
More information about the pkg-java-maintainers
mailing list