You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2016/07/14 05:15:43 UTC

[Bug 59855] New: org.apache.tools.ant.taskdefs.optional.Native2Ascii is broken in JDK 9

https://bz.apache.org/bugzilla/show_bug.cgi?id=59855

            Bug ID: 59855
           Summary: org.apache.tools.ant.taskdefs.optional.Native2Ascii is
                    broken in JDK 9
           Product: Ant
           Version: 1.9.7
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
          Assignee: notifications@ant.apache.org
          Reporter: felix.yang@oracle.com

Please refer to JDK 9 change:
   https://bugs.openjdk.java.net/browse/JDK-8074431

native2ascii tool has been removed in JDK 9, so it breaks
org.apache.tools.ant.taskdefs.optional.Native2Ascii

The proposal to remove native2ascii has been sent to jdk9-dev and core-libs-dev
to get feedback:
   http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-March/032634.html
   http://mail.openjdk.java.net/pipermail/jdk9-dev/2015-April/002092.html

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 59855] org.apache.tools.ant.taskdefs.optional.Native2Ascii is broken in JDK 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59855

--- Comment #1 from Stefan Bodewig <bo...@apache.org> ---
well, to say people can use their build tools when said build tools rely on the
code that is going to be removed is a bit strange. I've seen this "let others
do the work of fixing what we've broken" attitude before.

We can't just copy over the implementation of OpenJDK's native2ascii since its
license is not compatible with the Apache License. I'll dig into Apache
Harmony's retired code base to see whether we can borrow from there.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 59855] org.apache.tools.ant.taskdefs.optional.Native2Ascii is broken in JDK 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59855

--- Comment #2 from Stefan Bodewig <bo...@apache.org> ---
I can't seem to find any native2ascii under
https://svn.apache.org/repos/asf/harmony/enhanced/java/trunk/

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 59855] org.apache.tools.ant.taskdefs.optional.Native2Ascii is broken in JDK 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59855

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |1.9.8

--- Comment #3 from Stefan Bodewig <bo...@apache.org> ---
fixed with git commit 4ef2554 (inside the 1.9.x and master branches).

It might be good if you could relay back a few things I've found:

* sbt uses Ant to run native2ascii so any sbt installation using Ant < 1.9.8
won't be able to use native2ascii

* gradle doesn't seem to support native2ascii directly at all, this means
people will either be using the CLI tool or Ant - in the later case they'll
need to upgrade Ant, in the former case the JDK team's decision will break
their builds.

* maven doesn't support the equivalent of native2ascii's -reverse option

I have no idea what the IDE integrations mentioned use, but wouldn't be
surprised if the called out to the JDK tool under the covers either.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 59855] org.apache.tools.ant.taskdefs.optional.Native2Ascii is broken in JDK 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59855

Felix Yang <fe...@oracle.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 59855] org.apache.tools.ant.taskdefs.optional.Native2Ascii is broken in JDK 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59855

--- Comment #4 from Felix Yang <fe...@oracle.com> ---
Stefan,
   I have relayed your comment to corresponding engineers.
Thanks,
Felix

-- 
You are receiving this mail because:
You are the assignee for the bug.