[Bug 981037] Re: The javac executable doesn't produce full paths for files on error
Launchpad has imported 7 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=789154. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2012-02-09T23:36:22+00:00 Mike wrote: Description of problem: The latest version of javac produces error messages that no longer display the full path of the file containing the errors. This means that the error message no longer unambiguously identifies the offending file as soon as there is a collision in the leaf file names in a java project. Version-Release number of selected component (if applicable): java-1.6.0-openjdk-devel-1.6.0.0-63.1.11.fc16.* How reproducible: Always. Steps to Reproduce: 1. mkdir tmp; echo "bar" > tmp/foo.java 2. javac tmp/foo.java Actual results: foo.java:1: reached end of file while parsing bar ^ 1 error Expected results: tmp/foo.java:1: reached end of file while parsing bar ^ 1 error Additional info: java-1.6.0-openjdk-devel-1.6.0.0-59.1.10.3.fc16.* produces the expected result above, so for now, yum downgrade allows me to work around this problem. Not a long term solution of course. A better workaround would be if there is a command line option to restore the full path, but I was unable to find any. There are two reasons this is really a bug and not just a cosmetic issue. 1. I have to deal with some medium-to-large Java projects where the leaf file names are far from unique. Indeed there are some places where there is a directory containing subdirectories which in turn contain files with standardized identical names (50+ and growing of them). The old error message unambiguously identified the broken file. The new one leaves me guessing. Changing the naming convention is outside my area of responsibility, its `other people's code'. 2. This kills any possibility for an editor to parse the error messages and bring up the offending source/line. Please understand that not everybody uses eclipse! IMHO the best solution to this problem is to revert the change. See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638805 Reply at: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/981037/comments/0 On 2012-03-27T20:13:09+00:00 Deepak wrote: Assigning to Pavel. Pavel, I looked into the issue and it looks like it is being caused due to this patch: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2011-March/013178.html Can you please take a look when you have time? Reply at: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/981037/comments/1 On 2012-03-28T12:51:26+00:00 Andrew wrote: Hmmm, as I recall, that patch was introduced specifically to fix this problem. But indeed, testing with 1.11 suggests it doesn't. I'll check if removing the patch makes HEAD's behave match 7. If so, I'll commit the change. Reply at: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/981037/comments/2 On 2012-03-28T16:34:55+00:00 Andrew wrote: Indeed, removing the patch does give the same behaviour as in previous releases, including not only 1.10, but 1.9 and 1.8. I was under the impression that this patch was added because 1.10 (to which it was going to be backported, but seemingly never was) changed the behaviour, compared to other releases. But these results suggest not. Let's see what Pavel has to say. I think there was a TCK issue involved, which may since have been excluded, so some of this may have to happen internally. Reply at: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/981037/comments/3 On 2012-03-29T09:38:44+00:00 Andrew wrote: For the benefit of public users, Pavel confirmed that the TCK issues surrounding this patch have been resolved through other means so the patch can be dropped. Pavel, can you remove the patch from HEAD and the 1.11 branch? I'll approve on the mailing list. Thanks. Reply at: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/981037/comments/4 On 2012-03-29T12:02:05+00:00 Pavel wrote: Of course, I'll do it. Thank you. Reply at: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/981037/comments/5 On 2012-03-29T14:20:02+00:00 Andrew wrote: Thanks Pavel. Reply at: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/981037/comments/6 ** Changed in: openjdk-6 (Fedora) Status: Unknown => Fix Released ** Changed in:
[Bug 981037] Re: The javac executable doesn't produce full paths for files on error
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981037 Title: The javac executable doesn't produce full paths for files on error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/981037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 981037] Re: The javac executable doesn't produce full paths for files on error
This bug was fixed in the package openjdk-6 - 6b24-1.11.1-4ubuntu3 --- openjdk-6 (6b24-1.11.1-4ubuntu3) precise-proposed; urgency=low * Do not apply patches/revert-6885123.patch. Closes: #638805. LP: #981037. * Move hotspot-7020521.patch and hotspot-7026307.patch to debian/patches and reapply (accidentally disabled). -- Matthias Klose d...@ubuntu.com Fri, 20 Apr 2012 14:38:21 +0200 ** Changed in: openjdk-6 (Ubuntu) Status: Fix Committed = Fix Released ** Changed in: openjdk-6 (Ubuntu Precise) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981037 Title: The javac executable doesn't produce full paths for files on error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/981037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 981037] Re: The javac executable doesn't produce full paths for files on error
This bug was fixed in the package openjdk-6 - 6b24-1.11.1-4ubuntu3 --- openjdk-6 (6b24-1.11.1-4ubuntu3) precise-proposed; urgency=low * Do not apply patches/revert-6885123.patch. Closes: #638805. LP: #981037. * Move hotspot-7020521.patch and hotspot-7026307.patch to debian/patches and reapply (accidentally disabled). -- Matthias Klose d...@ubuntu.com Fri, 20 Apr 2012 14:38:21 +0200 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981037 Title: The javac executable doesn't produce full paths for files on error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/981037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 981037] Re: The javac executable doesn't produce full paths for files on error
Could you verify that the update fixes the issue you report? It will not be moved out of the staging otherwise... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981037 Title: The javac executable doesn't produce full paths for files on error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/981037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 981037] Re: The javac executable doesn't produce full paths for files on error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17/05/2012 07:46 μμ, Sebastien Bacher wrote: Could you verify that the update fixes the issue you report? It will not be moved out of the staging otherwise... The problem has been resolved. Thank you. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPtS6iAAoJEL5M5zy0M1diVI8H/jty5B0CPdqDdVcVbCUIA5Lv iLt2w1DnfLxASyDU3cIANoScBfkO9Ug5jgkEUiovBRxF4bAPg9C0q2YOxhWHSMMF S+aZTNwbNbGZikCiv/qMYzZMkTIu8R0l6T9mr6YFUfpS25B4kjgzsVCJxbP+kiQZ HEwgphYEXQ9VtbwhTrtbLD3CxazNjnYndd0sCVGy0g5e2ppS8VfIgJzQfNE+9QjC p5lKYFuxWgwQLkuksnLYxSXun8SnKC4rnxzAYTMnjuh/Y/I5QCxz7C6UUqkLLfDz j7bDVSh+e9xUtC1khf4Q170s8DsR1Ff19nbn48PrgVy50do/BHXjhLPYLvU5uCg= =webQ -END PGP SIGNATURE- -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981037 Title: The javac executable doesn't produce full paths for files on error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/981037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 981037] Re: The javac executable doesn't produce full paths for files on error
** Branch linked: lp:ubuntu/precise-proposed/openjdk-6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981037 Title: The javac executable doesn't produce full paths for files on error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/981037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 981037] Re: The javac executable doesn't produce full paths for files on error
** Bug watch added: Red Hat Bugzilla #789154 https://bugzilla.redhat.com/show_bug.cgi?id=789154 ** Also affects: openjdk-6 (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=789154 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981037 Title: The javac executable doesn't produce full paths for files on error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/981037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 981037] Re: The javac executable doesn't produce full paths for files on error
Hello Apostolis, or anyone else affected, Accepted openjdk-6 into precise-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Also affects: openjdk-6 (Ubuntu Precise) Importance: Undecided Status: New ** Changed in: openjdk-6 (Ubuntu Precise) Status: New = Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981037 Title: The javac executable doesn't produce full paths for files on error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/981037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 981037] Re: The javac executable doesn't produce full paths for files on error
** Branch linked: lp:debian/openjdk-6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981037 Title: The javac executable doesn't produce full paths for files on error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/981037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 981037] Re: The javac executable doesn't produce full paths for files on error
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981037 Title: The javac executable doesn't produce full paths for files on error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/981037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs