Skip to content

scala.xml.XMLTestJVM fails on Scala 2.11 on Java 6 #189

Closed
@SethTisue

Description

@SethTisue

this was caught by the Scala 2.11 community build

it's reproducible standalone though, just make sure you're running on Java 6, then xmlJVM/testOnly scala.xml.XMLTestJVM and boom:

[error] Test scala.xml.XMLTestJVM.writeReadNoDeclarationDefaultEncoding failed: expected:<...klmnopqrstuvwxyz{|}~[???????????????????????????????????̀???????????????ͅ???????????????????????????????ֿ???????]</x>> but was:<...klmnopqrstuvwxyz{|}~[ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ]</x>>, took 0.0070 sec
[error] Failed: Total 33, Failed 1, Errors 0, Passed 32
[error] Failed tests:
[error] 	scala.xml.XMLTestJVM

question: is this is a real failure, or is this happening because we're actually testing whatever version of scala-xml the compiler depends on, rather than testing the scala-xml we just built...?

meta-question: why didn't we know about this from Travis-CI, why did the community build have to catch it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions