Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 80466 Details for
Bug 206483
[compiler][1.7] 1.7 VMs cannot read .class files generated with target 1.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_206483.txt (text/plain), 1.13 KB, created by
Olivier Thomann
on 2007-10-16 12:00:55 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2007-10-16 12:00:55 EDT
Size:
1.13 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java,v >retrieving revision 1.188 >diff -u -r1.188 CompilerOptions.java >--- compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java 16 Oct 2007 10:24:16 -0000 1.188 >+++ compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java 16 Oct 2007 16:00:00 -0000 >@@ -695,7 +695,13 @@ > } > if ((optionValue = optionsMap.get(OPTION_TargetPlatform)) != null) { > long level = versionToJdkLevel(optionValue); >- if (level != 0) this.targetJDK = level; >+ if (level != 0) { >+ // TODO see 206483 >+ if (level == ClassFileConstants.JDK1_7) { >+ level = ClassFileConstants.JDK1_6; >+ } >+ this.targetJDK = level; >+ } > if (this.targetJDK >= ClassFileConstants.JDK1_5) this.inlineJsrBytecode = true; // forced from 1.5 mode on > } > if ((optionValue = optionsMap.get(OPTION_Encoding)) != null) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 206483
:
80466
|
80474