backwards-compatibility Questions
2
Previously, the serialization/deserialization methods used the type Item:
public class Item{}
Now I have a new class called ItemWrapper derived from Item with an additional property:
public cla...
Rebbeccarebe asked 14/8, 2014 at 16:46
2
I would like to create a code which is Python 2.7-3.6 compatible I am trying to fix a problem with the csv module where initially I used outfile=open('./test.csv','wb') in Python 2.7 now I have to ...
Rickrickard asked 19/5, 2019 at 8:56
1
I am writing a library that makes extensive use of threading and would likely benefit from virtual threads in Java 21+.
However, the library must also work for earlier versions of Java (possibly ba...
Carltoncarly asked 20/3 at 9:47
0
This is a follow-up-question to Is there an annotation that denotes a max Android API version?
Is there an Android annotation that produces a compiler error if neither @RequiresApi(xxx)
nor @Requir...
Central asked 27/12, 2023 at 10:40
1
The annotation @RequiresApi is helpful for requiring that the annotated element is only called on the given API level or higher. However, there does not appear to be a corresponding annotation for ...
Beria asked 1/10, 2020 at 22:14
6
Solved
I'd like to be able to create a function like:
class A {
private String extraVar;
public String myFormat(String format, Object ... args){
return String.format(format, extraVar, args);
}
}
Th...
Lurleen asked 27/5, 2010 at 21:36
1
Can I simply replace log4j-core-2.x (e.g. 2.8.2) with 2.17.1 without breaking backward compatibility? In other words, is Log4j project following Semantic Versioning?
Log4J official changelog does n...
Housewares asked 21/12, 2021 at 18:39
2
Solved
StringIO is the file-like string buffer object we use when reading pandas dataframe from text, e.g. "How to create a Pandas DataFrame from a string?"
Which of these two imports should we use for S...
Jameson asked 11/5, 2018 at 0:27
2
Solved
According to the answers in this question, std::vector<bool> implements "special" logic (to allow each boolean value to be stored in a single bit, rather than taking up an entire by...
Hassle asked 3/11, 2021 at 15:16
4
Solved
I'm creating a simple image editor app and therefore need to load and save image files. I'd like the saved files to appear in the gallery in a separate album. From Android API 28 to 29, there have ...
Incandescent asked 14/7, 2019 at 20:36
1
Solved
I'm having difficulty deciding whether to build a new ruby gem in ruby 3.0.1 vs ruby 2.7. Is ruby code written in versions >=3.0.0 backwards compatible with versions >=2.5 or >=2.7? Can so...
Barracuda asked 3/6, 2021 at 17:14
4
Solved
I'm working on a mobile phone web app and I have several text fields that could benefit from <input type="tel"/>. iPhones will adjust the keyboard for the user, but I'm worried about breaking...
Chercherbourg asked 11/5, 2010 at 19:55
2
I need to make my code backwards compatible with python2.6 and BeautifulSoup 3. My code was written using python2.7 and at this case using BS4. But when I try to run it at squeezy server, I get thi...
Decrescent asked 28/10, 2014 at 8:5
2
While testing if my php script is php-8 compatible, I got stuck on the following code:
function getDir($a, $o = 2) {
$d = Floor($a / $o);
return ($d % 2 === 0);
}
Prior to php-8, this worked fin...
Bounded asked 29/3, 2021 at 12:58
4
Solved
This question, as you may have inferred from the title, is really two questions in one.
First Question: Must I use HTTP/2.0 to send Apple Push Notifications?
On the APNs Provider API documentatio...
Deafen asked 24/12, 2015 at 0:27
1
I am working on a project with minSdkVersion set to 25 (aka Android 7.1).
Since this version is quite high, there are a lot of methods I can use without worrying about backward compatibility.
For e...
Chambers asked 3/12, 2020 at 10:24
2
Solved
I have a doubt as to whether java is backward compatible or forward compatible?
Also, can we run java bytecode written in JDK 11 Windows on a MAC which has JDK 8 without any complications? I'...
Pareu asked 22/1, 2021 at 17:47
2
Solved
Is there a recommended way to introduce restructurings/renamings into an externalized configuration while keeping backwards compatibility for consumers still relying on the old configuration struct...
Inquiry asked 18/12, 2020 at 19:55
19
I do most of my programming in Python 3.x on Windows 7, but now I need to use the Python Imaging Library (PIL), ImageMagick, and wxPython, all of which require Python 2.x.
Can I have both Py...
Nomarch asked 28/9, 2010 at 2:40
0
We're developing a modern JS library which uses the ES6 syntax heavily and doesn't support IE11.
However we have a small number of users who want to use our library on IE11-compatible sites and we ...
Graven asked 12/10, 2020 at 13:55
4
Solved
I'm migrating a C++ Visual Studio Project from VS2017 to VS2019.
I'm getting an error now, that didn't occur before, that can be reproduced with these few lines of code:
struct Foo
{
Foo() = def...
Mythos asked 30/7, 2019 at 12:12
3
Solved
The following piece of code works fine on my local system but threw compile error on an online platform.
#include <iostream>
int32_t time[int32_t(1e5)];
int main()
{
int32_t n;
std::cin&g...
Giordano asked 19/7, 2020 at 6:0
4
My app that currently depends on Postgres and Django's Postgres-only JSONField. The field works well and I've no interest in another project, but I have prospective-users who want to use my app, bu...
Pfosi asked 6/7, 2020 at 7:56
2
Solved
I often need to target Mac OS X versions that are older than the one I'm currently running. As I prefer to work with a bash shell and Makefiles, I do not use Xcode. Apple explicitly supports target...
Succession asked 17/8, 2014 at 18:35
1
In my company, we're using Spring Boot to implement backend API and React to implement frontend including Web interface and Android/iOS apps.
Since our product is an Enterprise software, customers...
Pudding asked 10/5, 2020 at 15:20
1 Next >
© 2022 - 2024 — McMap. All rights reserved.