[ 
https://issues.apache.org/jira/browse/SPARK-8815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen resolved SPARK-8815.
------------------------------
    Resolution: Not A Problem

> illegal java package names in jar
> ---------------------------------
>
>                 Key: SPARK-8815
>                 URL: https://issues.apache.org/jira/browse/SPARK-8815
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>            Reporter: Sam Halliday
>            Priority: Minor
>
> In ENSIME we were unable to index the spark jars and we investigated 
> further... you have classes that look like this:
> org.spark-project.guava.annotations.VisibleForTesting
> Hyphens are not legal package names according to the java language spec, so 
> I'm amazed that this can actually be read at runtime... certainly no compiler 
> I know would allow it.
> What I suspect is happening is that you're using a build plugin that 
> internalises some of your dependencies and it is using your groupId but not 
> validating it... and then blindly using that name in the ASM manipulation.
> You might want to report this upstream with your build plugin.
> For your next release, I recommend using an explicit name that is not your 
> groupId. i.e. convert hyphens to underscores as Gosling recommends.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to