Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028375 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] Y. DBSourceManager | minor | have not tried | 2014-12-10 15:51 | 2014-12-22 10:55 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | shuehner | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0PR15Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 5c4afe7d1d8b | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | alostale | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028375: Ensure dbsourcemanager.jar file is compiled with compatibility for java6 always even when running java7 | |||||||
Description | As now more developers use java7 we need to ensure that the dbsm jar is not accidently compiled with java7 style class files (version 51) Adding source + target = 1.6 to main build.xml file ensures that the class files are always produced with class file version 50 (matching java6) Note when running with java7 the following new warning will be shown: [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 Do indicate that the code could still be using java7 (not classfile features) accidently. However that is less likely to happen accidently. note: the matching eclipse project for dbsm does already have project specific compiler config specifying java1.6 as target jdk so no change is required. | |||||||
Steps To Reproduce | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0072405) hgbot (developer) 2014-12-10 15:52 |
Repository: erp/devel/dbsm-main Changeset: 5c4afe7d1d8b9a81df60b33baa7f3b09baf8178a Author: Stefan Hühner <stefan.huehner <at> openbravo.com> Date: Wed Dec 10 15:52:27 2014 +0100 URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/5c4afe7d1d8b9a81df60b33baa7f3b09baf8178a [^] Fixed 28375: compile with source+target = 1.6 always To ensure that produced class files will work with java6 even when running java7 already in the built environment. --- M build.xml --- |
(0072406) shuehner (administrator) 2014-12-10 15:53 |
Note: No commit to pi of the jar required as only changing build-env inside dbsm-repo. |
(0072760) alostale (viewer) 2014-12-22 10:55 |
Code reviewed Tested: created dbsm jar with jdk 7, update database using that jar and jdk 6 |
![]() |
|||
Date Modified | Username | Field | Change |
2014-12-10 15:51 | shuehner | New Issue | |
2014-12-10 15:51 | shuehner | Assigned To | => marvintm |
2014-12-10 15:51 | shuehner | OBNetwork customer | => No |
2014-12-10 15:51 | shuehner | Modules | => Core |
2014-12-10 15:51 | shuehner | Triggers an Emergency Pack | => No |
2014-12-10 15:51 | shuehner | Assigned To | marvintm => shuehner |
2014-12-10 15:51 | shuehner | Review Assigned To | => alostale |
2014-12-10 15:52 | hgbot | Checkin | |
2014-12-10 15:52 | hgbot | Note Added: 0072405 | |
2014-12-10 15:52 | hgbot | Status | new => resolved |
2014-12-10 15:52 | hgbot | Resolution | open => fixed |
2014-12-10 15:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/dbsm-main/rev/5c4afe7d1d8b9a81df60b33baa7f3b09baf8178a [^] |
2014-12-10 15:53 | shuehner | Note Added: 0072406 | |
2014-12-22 10:55 | alostale | Note Added: 0072760 | |
2014-12-22 10:55 | alostale | Status | resolved => closed |
2014-12-22 10:55 | alostale | Fixed in Version | => 3.0PR15Q1 |
Copyright © 2000 - 2009 MantisBT Group |