Bug 1082186 - java-1.8.0-openjdk: Assertion failure in javadoc
Summary: java-1.8.0-openjdk: Assertion failure in javadoc
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.8.0-openjdk
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Elliott Baron
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1084097 1096150
TreeView+ depends on / blocked
 
Reported: 2014-03-28 23:42 UTC by Mikolaj Izdebski
Modified: 2016-08-16 14:33 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-08-16 14:33:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
openjdk bug system JDK-8038263 0 None None None 2016-08-11 15:18:25 UTC

Description Mikolaj Izdebski 2014-03-28 23:42:03 UTC
java.lang.AssertionError
at com.sun.tools.javac.util.Assert.error(Assert.java:126)
at com.sun.tools.javac.util.Assert.check(Assert.java:45)
at com.sun.tools.javac.code.SymbolMetadata.setDeclarationAttributesWithCompletion(SymbolMetadata.java:161)
at com.sun.tools.javac.code.Symbol.setDeclarationAttributesWithCompletion(Symbol.java:215)
at com.sun.tools.javac.comp.MemberEnter.actualEnterAnnotations(MemberEnter.java:954)
at com.sun.tools.javac.comp.MemberEnter.access$600(MemberEnter.java:64)
at com.sun.tools.javac.comp.MemberEnter$5.run(MemberEnter.java:878)
at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:143)
at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:129)
at com.sun.tools.javac.comp.Enter.complete(Enter.java:516)
at com.sun.tools.javac.comp.Enter.main(Enter.java:475)
at com.sun.tools.javadoc.JavadocEnter.main(JavadocEnter.java:78)
at com.sun.tools.javadoc.JavadocTool.getRootDocImpl(JavadocTool.java:187)
at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:346)
at com.sun.tools.javadoc.Start.begin(Start.java:219)
at com.sun.tools.javadoc.Start.begin(Start.java:205)
at com.sun.tools.javadoc.Main.execute(Main.java:64)
at com.sun.tools.javadoc.Main.main(Main.java:54)
javadoc: error - fatal error

Command line was: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.0.x86_64/jre/../bin/javadoc @options @packages

(I can provide contents of @options @packages if required)

Version-Release number of selected component (if applicable):
java-1.8.0-openjdk-devel-1.8.0.0-1.0.b132.fc21.x86_64

Steps to Reproduce:
build hadoop package

Additional info:
I reproduced this on x86_64 only, i386 seems to work.

Comment 1 Andrew Azores 2014-04-16 20:58:22 UTC
Which version of Hadoop and in which part of the build is this occurring? I've tried to build 2.3.0 on Fedora Rawhide, though I have other test failures in the build that I'm trying to resolve. Running the javadoc:javadoc target completes normally at least, however.

Comment 2 Mikolaj Izdebski 2014-04-16 21:24:54 UTC
I'll try to prepare reproducer tomorrow.

Comment 3 Mikolaj Izdebski 2014-04-16 21:31:22 UTC
(In reply to Mikolaj Izdebski from comment #0)
> Additional info:
> I reproduced this on x86_64 only, i386 seems to work.

Other architectures are probably affected too.  I didn't see build failures there because hadoop build generates javadocs only when built on x86_64.

Comment 4 Mikolaj Izdebski 2014-04-16 21:46:51 UTC
Reprocucer:

wget http://pkgs.fedoraproject.org/repo/pkgs/hadoop/hadoop-2.2.0-2e01e27.tar.gz/96b2a80a6ffb25f3798427ca1f23f87f/hadoop-2.2.0-2e01e27.tar.gz
tar xf hadoop-2.2.0-2e01e27.tar.gz
find hadoop-common-2e01e27e5ba4ece19650484f646fac42596250ce -name \*.java >sources
javadoc -d target @sources

Reproducible with:
java-1.8.0-openjdk-devel-1.8.0.0-2.b132.fc21.x86_64

Comment 5 Mikolaj Izdebski 2014-05-30 16:04:35 UTC
Is there any progress on this bug?

Comment 6 Deepak Bhole 2014-05-30 17:12:23 UTC
Re-assigning to Elliott.

Comment 7 Jaroslav Reznik 2015-03-03 15:38:32 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 8 Fedora End Of Life 2016-07-19 11:15:25 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 9 Omair Majid 2016-07-19 13:40:58 UTC
Can still reproduce on F24 following the steps in comment 4:


java.lang.AssertionError
        at com.sun.tools.javac.util.Assert.error(Assert.java:126)
        at com.sun.tools.javac.util.Assert.check(Assert.java:45)
        at com.sun.tools.javac.code.SymbolMetadata.setDeclarationAttributesWithCompletion(SymbolMetadata.java:161)
        at com.sun.tools.javac.code.Symbol.setDeclarationAttributesWithCompletion(Symbol.java:215)
        at com.sun.tools.javac.comp.MemberEnter.actualEnterAnnotations(MemberEnter.java:952)
        at com.sun.tools.javac.comp.MemberEnter.access$600(MemberEnter.java:64)
        at com.sun.tools.javac.comp.MemberEnter$5.run(MemberEnter.java:876)
        at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:143)
        at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:129)
        at com.sun.tools.javac.comp.Enter.complete(Enter.java:512)
        at com.sun.tools.javac.comp.Enter.main(Enter.java:471)
        at com.sun.tools.javadoc.JavadocEnter.main(JavadocEnter.java:78)
        at com.sun.tools.javadoc.JavadocTool.getRootDocImpl(JavadocTool.java:186)
        at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:346)
        at com.sun.tools.javadoc.Start.begin(Start.java:219)
        at com.sun.tools.javadoc.Start.begin(Start.java:205)
        at com.sun.tools.javadoc.Main.execute(Main.java:64)
        at com.sun.tools.javadoc.Main.main(Main.java:54)
100 errors
100 warnings

java-1.8.0-openjdk-devel-1.8.0.92-5.b14.fc24.x86_64

Comment 10 Elliott Baron 2016-08-11 15:18:25 UTC
This is due to be fixed in OpenJDK 9, but upstream has no plans to backport this fix to OpenJDK 8. See JDK-8038263.

Comment 11 Andrew John Hughes 2016-08-11 15:20:56 UTC
Have you spoken to upstream about it? If so, is there a link to the discussion?

Comment 13 Elliott Baron 2016-08-12 19:25:37 UTC
I spoke with the upstream author over email. He explained that since this fix is a large refactoring, there is too much risk of breaking projects that use type annotations to justify backporting to OpenJDK 8.

Comment 14 Deepak Bhole 2016-08-16 14:09:41 UTC
(In reply to Elliott Baron from comment #13)
> I spoke with the upstream author over email. He explained that since this
> fix is a large refactoring, there is too much risk of breaking projects that
> use type annotations to justify backporting to OpenJDK 8.

Should we close this as CANTFIX then?

Comment 15 Elliott Baron 2016-08-16 14:33:55 UTC
(In reply to Deepak Bhole from comment #14)
> (In reply to Elliott Baron from comment #13)
> > I spoke with the upstream author over email. He explained that since this
> > fix is a large refactoring, there is too much risk of breaking projects that
> > use type annotations to justify backporting to OpenJDK 8.
> 
> Should we close this as CANTFIX then?

Sure.


Note You need to log in before you can comment on or make changes to this bug.