incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 121098] New: JDK7 : Replace generic type 46 with 49.
Date Tue, 25 Sep 2012 15:59:08 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=121098

          Priority: P3
            Bug ID: 121098
          Assignee: ooo-issues@incubator.apache.org
           Summary: JDK7 : Replace generic type 46 with 49.
          Severity: normal
        Issue Type: DEFECT
    Classification: Code
                OS: All
          Reporter: pfg@apache.org
          Hardware: All
            Status: CONFIRMED
           Version: OOo 3.4 Beta
         Component: code
           Product: udk

Created attachment 79635
  --> https://issues.apache.org/ooo/attachment.cgi?id=79635&action=edit
Replace the generic type in codemaker/javamaker

In the Java 5/6 compilers it is possible to compile with an undocumented
-jsr14 option,  However, on JDK 7 the compiler no  longer recognizes the 
generic attributes in these class files. Full explanation is here:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7078419

We follow the workaround:
"Recompiling the classes but this is unfortunately not always possible.
I expect that it is possible to set the class file version to 49 but
have not tested this."

The issue was detected first by Michael Stahl and Stephan Bergmann and
the solution was based on a commit log posted in a public list.

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

Mime
View raw message