Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Comparator report

FYI, I pushed a change in Tycho to compensate for pack200 normalization
and to provide a way to troubleshoot classfile comparison (see wiki [1]
for details).

I also added the following configuration to my local
org.eclipse.osgi/pom.xml


  <build>
    <plugins>
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>jsr14</target>
          <compilerArgument>-inlineJSR</compilerArgument>
        </configuration>
      </plugin>
    </plugins>
  </build>


With these two changes all locally built org.eclipse.osgi class files
are reported as "equal" compared to baseline version, but there are
still differences in other file types.


[1] http://wiki.eclipse.org/Tycho/Reproducible_Version_Qualifiers


--
Regards,
Igor


On 12-07-19 12:20 PM, Igor Fedorenko wrote:
This is not about pack200 normalization per se, but about tycho jar
comparator not being about to compare normalized and not-normalized
classes.

--
Regards,
Igor

On 12-07-19 12:12 PM, Paul Webster wrote:
On Thu, Jul 19, 2012 at 12:05 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx
<mailto:igor@xxxxxxxxxxxxxx>> wrote:

    Most likely this has to do with pack200 constant pool reordering. I
    thought I compensated for it in Tycho, but apparently I forgot.
Can you
    open a bugreport against Tycho or CBI about this?


Thanx.

Opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=385529

Later,
PW


--
Paul Webster
Hi floor.  Make me a sammich! - GIR


_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cbi-dev


_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cbi-dev



Back to the top