Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

[JBEAP-20946] Eliminating not existing Java encoding names#6

Merged
scottmarlow merged 1 commit intojboss:jboss_2_7_1from
ropalka:JBEAP-20946
Feb 3, 2021
Merged

[JBEAP-20946] Eliminating not existing Java encoding names#6
scottmarlow merged 1 commit intojboss:jboss_2_7_1from
ropalka:JBEAP-20946

Conversation

@ropalka
Copy link
Copy Markdown

@ropalka ropalka commented Feb 2, 2021

@ropalka
Copy link
Copy Markdown
Author

ropalka commented Feb 2, 2021

@scottmarlow please review

@scottmarlow
Copy link
Copy Markdown

@ropalka I'm guessing that some Java SE implementations might include support for the Java encoding names that we are removing. I'm guessing that Java on an IBM mainframe would need to support the various EBCDIC encoding names since 'EBCDICis typically used on the IBM mainframe (with the exception of running Linux which I think usesASCII` character sets).

Could this bug be fixed without removing Java encoding names that might be included in some Java SE implementations?

@ropalka
Copy link
Copy Markdown
Author

ropalka commented Feb 3, 2021

@scottmarlow your guess was totally right and thus my initial PR proposal was wrong.
I updated PR as you suggested i.e. without removing Java encoding names from the config file.
Since now on we will register particular Java charset name into internal collections if and only if
configured Java charset name is supported on particular JDK. Please review again Scott.

@scottmarlow
Copy link
Copy Markdown

Should we create an upstream pull request on https://github.com/apache/xalan-j as well?

@scottmarlow scottmarlow merged commit e0c87ba into jboss:jboss_2_7_1 Feb 3, 2021
@ropalka
Copy link
Copy Markdown
Author

ropalka commented Feb 4, 2021

Does it make sense @scottmarlow ? I see Xalan is dead project - last code change almost 7 years ago.

@scottmarlow
Copy link
Copy Markdown

I see two possibilities:

  1. Apache Xalan will not release any new versions or merge any of the (few) pending pull requests.
  2. Or someone will do a new release of Xalan in the future that may include pull requests.

Currently, it does look like #1 is currently true but hard to know if/when #2 might happen.

@ropalka ropalka deleted the JBEAP-20946 branch March 2, 2021 09:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants